BreadPay Merchant Operations API

The merchant-facing transaction lifecycle — authorize, settle, refund, cancel, rescind, extend expiration — plus carts, fulfillment detail, and settlement/funding/targeting reporting exports. Transaction state changes are guarded by an ETag/If-Match revision check that answers 412 on a mismatch. 32 operations.

Operations 32

GET /api/transaction/application/{applicationID} Get Transaction by Application ID #
GET /api/transaction List Transactions #
GET /api/transaction/search Search Transactions #
POST /api/transaction/search Search Transactions By Keyword #
GET /api/transaction/{transactionID} Get Transaction by Transaction ID #
PATCH /api/transaction/{transactionID} Update Transaction #
POST /api/transaction/{transactionID}/extend-expiration Extend Expiration #
POST /api/transaction/{transactionID}/rescind Rescind Transaction #
GET /api/transaction/{transactionID}/history Get Transaction History #
GET /api/transaction/{transactionID}/fulfillment Get Transaction Fulfillment Details #
POST /api/transaction/{transactionID}/fulfillment Add Transaction Fulfillment Detail #
POST /api/transaction/{transactionID}/authorize Authorize Transaction #
POST /api/transaction/{transactionID}/cancel Cancel Transaction #
POST /api/transaction/{transactionID}/refund Refund Transaction #
POST /api/transaction/{transactionID}/settle Settle Transaction #
GET /api/transaction/kpi Transaction KPIs #
GET /api/transaction/aggregation Transaction Aggregation #
GET /api/cart List carts #
POST /api/cart Create a Cart #
GET /api/cart/{id} Get Cart #
PATCH /api/cart/{id} Update Cart information #
DELETE /api/cart/{id} Delete Cart #
POST /api/cart/{id}/expire Expire Cart #
POST /api/cart/{id}/notify Notify Buyer #
GET /api/reporting/report/loan-history Get Loan History Report By Name #
GET /api/reporting/report/data-insight Get Data Insight Report By Name #
GET /api/reporting/report/transaction List Transactions CSV #
GET /api/reporting/report/funding-aggregate-summary List funding aggregate balance data #
GET /api/reporting/report/targeting-export List targeting export CSV #
GET /api/reporting/report/settlement-report List settlement report CSV #
GET /api/reporting/report/settlement-report-legacy Get legacy settlement report #
GET /api/reporting/report/funding-daily-summary List funding daily balance data #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/merchant-operations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

bread-merchant-operations-openapi.json Raw ↑
{
  "openapi": "3.0.3",
  "info": {
    "title": "Merchant Operations",
    "description": "Merchants Operations enables merchants to manage their transactions including authorizing purchases, settling them as well as additional actions like refund and cancellations.",
    "version": "2.0.0",
    "contact": {
      "email": "partnership-growth@getbread.com"
    }
  },
  "servers": [
    {
      "url": "https://api-preview.platform.breadpayments.com/",
      "description": "Preview environment"
    },
    {
      "url": "https://api.platform.breadpayments.com/",
      "description": "Production environment"
    }
  ],
  "paths": {
    "/api/transaction/application/{applicationID}": {
      "get": {
        "tags": [
          "Transaction"
        ],
        "summary": "Get Transaction by Application ID",
        "description": "Get a single transaction based on a provided application ID.",
        "operationId": "getTransactionByApplicationID",
        "security": [
          {
            "bearerAuthTransaction": [
              "r:tx"
            ]
          }
        ],
        "parameters": [
          {
            "name": "applicationID",
            "in": "path",
            "description": "The Application ID used to create the transaction",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
              "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
              "externalDocs": {
                "description": "RFC4122",
                "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Data for a single transaction.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Transaction is a representation of a single transaction",
                  "required": [
                    "adjustedAmount",
                    "applicationID",
                    "billingContact",
                    "buyerID",
                    "createdAt",
                    "discountAmount",
                    "expirationExtended",
                    "externalID",
                    "id",
                    "merchantID",
                    "metadata",
                    "paymentAgreementID",
                    "paymentProductID",
                    "merchantPaymentProductValuesID",
                    "productType",
                    "programID",
                    "merchantProgramValuesID",
                    "refundedAmount",
                    "chargedbackAmount",
                    "cancelledAmount",
                    "settledAmount",
                    "overflowAmount",
                    "shippingAmount",
                    "shippingContact",
                    "status",
                    "taxAmount",
                    "tenantID",
                    "isCarts",
                    "totalAmount",
                    "revision",
                    "updatedAt"
                  ],
                  "properties": {
                    "adjustedAmount": {
                      "description": "The transaction amount after adjustments.",
                      "allOf": [
                        {
                          "required": [
                            "currency",
                            "value"
                          ],
                          "properties": {
                            "currency": {
                              "type": "string",
                              "description": "The three letter currency code as defined in ISO 4217.",
                              "example": "USD",
                              "minLength": 3,
                              "maxLength": 3,
                              "externalDocs": {
                                "description": "ISO 4217",
                                "url": "https://en.wikipedia.org/wiki/ISO_4217"
                              }
                            },
                            "value": {
                              "type": "integer",
                              "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                              "format": "int64",
                              "example": 100
                            }
                          },
                          "description": "Represents a monetary amount in the specified currency",
                          "example": {
                            "currency": "USD",
                            "value": 50000
                          }
                        }
                      ]
                    },
                    "applicationID": {
                      "description": "The application ID used to make the transaction",
                      "allOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                          "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                          "externalDocs": {
                            "description": "RFC4122",
                            "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                          }
                        }
                      ]
                    },
                    "billingContact": {
                      "description": "The contact information of the person being billed.",
                      "allOf": [
                        {
                          "type": "object",
                          "required": [
                            "name"
                          ],
                          "properties": {
                            "name": {
                              "required": [
                                "familyName",
                                "givenName"
                              ],
                              "type": "object",
                              "properties": {
                                "givenName": {
                                  "type": "string",
                                  "description": "Given name",
                                  "example": "John"
                                },
                                "familyName": {
                                  "type": "string",
                                  "description": "Family name",
                                  "example": "Doe"
                                },
                                "additionalName": {
                                  "type": "string",
                                  "description": "Additional name, if any"
                                }
                              },
                              "description": "Represents the full name"
                            },
                            "phone": {
                              "type": "string",
                              "description": "Telephone number including country code",
                              "example": "+14539842345"
                            },
                            "address": {
                              "required": [
                                "address1",
                                "locality",
                                "postalCode",
                                "region",
                                "country"
                              ],
                              "type": "object",
                              "properties": {
                                "address1": {
                                  "type": "string",
                                  "description": "First address line",
                                  "example": "156 5th Avenue"
                                },
                                "address2": {
                                  "type": "string",
                                  "description": "Second address line"
                                },
                                "locality": {
                                  "type": "string",
                                  "description": "The locality (e.g. City) of the address.",
                                  "example": "New York"
                                },
                                "postalCode": {
                                  "type": "string",
                                  "description": "The administrative postal code (e.g. Zip Code)",
                                  "example": "10019"
                                },
                                "region": {
                                  "type": "string",
                                  "description": "The region or first-level administration division (e.g. State/Province) of the address.",
                                  "example": "US-NY",
                                  "minLength": 2,
                                  "externalDocs": {
                                    "description": "ISO-3166-2",
                                    "url": "https://en.wikipedia.org/wiki/ISO_3166-2"
                                  }
                                },
                                "country": {
                                  "type": "string",
                                  "description": "The two character ISO-3166-1 country code.",
                                  "example": "US",
                                  "minLength": 2,
                                  "maxLength": 2,
                                  "externalDocs": {
                                    "description": "ISO-3166-1",
                                    "url": "https://en.wikipedia.org/wiki/ISO_3166-1"
                                  }
                                }
                              },
                              "description": "Represents a fully defined address for an entity"
                            },
                            "email": {
                              "type": "string",
                              "format": "email",
                              "description": "Email address",
                              "example": "john.doe@gmail.com"
                            }
                          },
                          "description": "Represents contact information for an entity"
                        }
                      ]
                    },
                    "buyerID": {
                      "description": "The ID of the buyer for the transaction.",
                      "allOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                          "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                          "externalDocs": {
                            "description": "RFC4122",
                            "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                          }
                        }
                      ]
                    },
                    "createdAt": {
                      "description": "The date and time the transaction was created.",
                      "allOf": [
                        {
                          "type": "string",
                          "format": "date-time",
                          "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                          "example": "2020-12-31T15:10:55Z",
                          "externalDocs": {
                            "description": "RFC3339",
                            "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                          }
                        }
                      ]
                    },
                    "discountAmount": {
                      "description": "The amount by which the transaction was discounted.",
                      "allOf": [
                        {
                          "required": [
                            "currency",
                            "value"
                          ],
                          "properties": {
                            "currency": {
                              "type": "string",
                              "description": "The three letter currency code as defined in ISO 4217.",
                              "example": "USD",
                              "minLength": 3,
                              "maxLength": 3,
                              "externalDocs": {
                                "description": "ISO 4217",
                                "url": "https://en.wikipedia.org/wiki/ISO_4217"
                              }
                            },
                            "value": {
                              "type": "integer",
                              "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                              "format": "int64",
                              "example": 100
                            }
                          },
                          "description": "Represents a monetary amount in the specified currency",
                          "example": {
                            "currency": "USD",
                            "value": 50000
                          }
                        }
                      ]
                    },
                    "expirationExtended": {
                      "type": "boolean",
                      "description": "Whether the expiration has been extended for this transaction"
                    },
                    "expiresAt": {
                      "type": "string",
                      "format": "date-time",
                      "description": "The timestamp value formatted per RFC3339. This does not allow nulls.",
                      "example": "2020-12-31T15:10:55Z",
                      "externalDocs": {
                        "description": "RFC3339",
                        "url": "https://datatracker.ietf.org/doc/html/rfc3339#section-5.6"
                      }
                    },
                    "externalID": {
                      "type": "string",
                      "description": "An identifier that has significance to the Merchant allowing the transaction to be associated with the Merchant’s systems.",
                      "example": "55ed9cfd-f01e-487d-8d1a-6d0608189796"
                    },
                    "id": {
                      "description": "The ID of the transaction",
                      "allOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                          "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                          "externalDocs": {
                            "description": "RFC4122",
                            "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                          }
                        }
                      ]
                    },
                    "locationID": {
                      "description": "The location the transaction was fulfilled at.",
                      "allOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                          "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                          "externalDocs": {
                            "description": "RFC4122",
                            "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                          }
                        }
                      ]
                    },
                    "merchantID": {
                      "description": "The ID of the merchant that sells the transacted item.",
                      "allOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                          "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                          "externalDocs": {
                            "description": "RFC4122",
                            "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                          }
                        }
                      ]
                    },
                    "metadata": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "Metadata is a JSON field available to merchants for storing external data on a Transaction\nMetadata keys have a max size of 128, and there can be up to 50 keys total. The max value size for a key is 5000.",
                      "example": {
                        "externalMerchantData": "externalInfo"
                      }
                    },
                    "paymentAgreementID": {
                      "description": "The ID of the payment agreement.",
                      "allOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                          "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                          "externalDocs": {
                            "description": "RFC4122",
                            "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                          }
                        }
                      ]
                    },
                    "paymentProductID": {
                      "description": "The ID of the specific loan product used to make this transaction.",
                      "allOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                          "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                          "externalDocs": {
                            "description": "RFC4122",
                            "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                          }
                        }
                      ]
                    },
                    "merchantPaymentProductValuesID": {
                      "description": "The ID of the merchant payment product values that should be used with this transaction.",
                      "allOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                          "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                          "externalDocs": {
                            "description": "RFC4122",
                            "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                          }
                        }
                      ]
                    },
                    "productType": {
                      "description": "The kind of the type of loan / payment product used to make this transaction.",
                      "allOf": [
                        {
                          "type": "string",
                          "description": "The type of payment product",
                          "enum": [
                            "INSTALLMENTS",
                            "SPLITPAY",
                            "DEBT_CONSOLIDATION",
                            "PERSONAL_LOAN",
                            "HYBRID_LINE_OF_CREDIT"
                          ],
                          "example": "INSTALLMENTS"
                        }
                      ]
                    },
                    "programID": {
                      "description": "The ID of the program the payment product is under.",
                      "allOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                          "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                          "externalDocs": {
                            "description": "RFC4122",
                            "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                          }
                        }
                      ]
                    },
                    "merchantProgramValuesID": {
                      "description": "The ID of the merchant program values that should be used with this transaction.",
                      "allOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "description": "A universally unique identifier (Version 4) as defined in RFC4122. This does not allow nulls.",
                          "example": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
                          "externalDocs": {
                            "description": "RFC4122",
                            "url": "https://datatracker.ietf.org/doc/html/rfc4122.html"
                          }
                        }
                      ]
                    },
                    "refundedAmount": {
                      "description": "The amount that has been refunded for this transaction.",
                      "allOf": [
                        {
                          "required": [
                            "currency",
                            "value"
                          ],
                          "properties": {
                            "currency": {
                              "type": "string",
                              "description": "The three letter currency code as defined in ISO 4217.",
                              "example": "USD",
                              "minLength": 3,
                              "maxLength": 3,
                              "externalDocs": {
                                "description": "ISO 4217",
                                "url": "https://en.wikipedia.org/wiki/ISO_4217"
                              }
                            },
                            "value": {
                              "type": "integer",
                              "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                              "format": "int64",
                              "example": 100
                            }
                          },
                          "description": "Represents a monetary amount in the specified currency",
                          "example": {
                            "currency": "USD",
                            "value": 50000
                          }
                        }
                      ]
                    },
                    "chargedbackAmount": {
                      "description": "The amount that has been chargedback for this transaction.",
                      "allOf": [
                        {
                          "required": [
                            "currency",
                            "value"
                          ],
                          "properties": {
                            "currency": {
                              "type": "string",
                              "description": "The three letter currency code as defined in ISO 4217.",
                              "example": "USD",
                              "minLength": 3,
                              "maxLength": 3,
                              "externalDocs": {
                                "description": "ISO 4217",
                                "url": "https://en.wikipedia.org/wiki/ISO_4217"
                              }
                            },
                            "value": {
                              "type": "integer",
                              "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                              "format": "int64",
                              "example": 100
                            }
                          },
                          "description": "Represents a monetary amount in the specified currency",
                          "example": {
                            "currency": "USD",
                            "value": 50000
                          }
                        }
                      ]
                    },
                    "cancelledAmount": {
                      "description": "The amount that has been cancelled for this transaction.",
                      "allOf": [
                        {
                          "required": [
                            "currency",
                            "value"
                          ],
                          "properties": {
                            "currency": {
                              "type": "string",
                              "description": "The three letter currency code as defined in ISO 4217.",
                              "example": "USD",
                              "minLength": 3,
                              "maxLength": 3,
                              "externalDocs": {
                                "description": "ISO 4217",
                                "url": "https://en.wikipedia.org/wiki/ISO_4217"
                              }
                            },
                            "value": {
                              "type": "integer",
                              "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                              "format": "int64",
                              "example": 100
                            }
                          },
                          "description": "Represents a monetary amount in the specified currency",
                          "example": {
                            "currency": "USD",
                            "value": 50000
                          }
                        }
                      ]
                    },
                    "settledAmount": {
                      "description": "The amount that's been settled between the buyer and merchant for this transaction.",
                      "allOf": [
                        {
                          "required": [
                            "currency",
                            "value"
                          ],
                          "properties": {
                            "currency": {
                              "type": "string",
                              "description": "The three letter currency code as defined in ISO 4217.",
                              "example": "USD",
                              "minLength": 3,
                              "maxLength": 3,
                              "externalDocs": {
                                "description": "ISO 4217",
                                "url": "https://en.wikipedia.org/wiki/ISO_4217"
                              }
                            },
                            "value": {
                              "type": "integer",
                              "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                              "format": "int64",
                              "example": 100
                            }
                          },
                          "description": "Represents a monetary amount in the specified currency",
                          "example": {
                            "currency": "USD",
                            "value": 50000
                          }
                        }
                      ]
                    },
                    "overflowAmount": {
                      "description": "The amount that has been paid on creation of the transaction (i.e., a downpayment).",
                      "allOf": [
                        {
                          "required": [
                            "currency",
                            "value"
                          ],
                          "properties": {
                            "currency": {
                              "type": "string",
                              "description": "The three letter currency code as defined in ISO 4217.",
                              "example": "USD",
                              "minLength": 3,
                              "maxLength": 3,
                              "externalDocs": {
                                "description": "ISO 4217",
                                "url": "https://en.wikipedia.org/wiki/ISO_4217"
                              }
                            },
                            "value": {
                              "type": "integer",
                              "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                              "format": "int64",
                              "example": 100
                            }
                          },
                          "description": "Represents a monetary amount in the specified currency",
                          "example": {
                            "currency": "USD",
                            "value": 50000
                          }
                        }
                      ]
                    },
                    "shippingAmount": {
                      "description": "The cost of shipping the transacted item.",
                      "allOf": [
                        {
                          "required": [
                            "currency",
                            "value"
                          ],
                          "properties": {
                            "currency": {
                              "type": "string",
                              "description": "The three letter currency code as defined in ISO 4217.",
                              "example": "USD",
                              "minLength": 3,
                              "maxLength": 3,
                              "externalDocs": {
                                "description": "ISO 4217",
                                "url": "https://en.wikipedia.org/wiki/ISO_4217"
                              }
                            },
                            "value": {
                              "type": "integer",
                              "description": "Monetary value as an integral number of the currency fractional unit e.g for USD: cents",
                              "format": "int64",
                              "example": 100
                            }
                          },
                          "description": "Represents a monetary amount in the specified currency",
                          "example": {
                            "currency": "USD",
                            "value": 50000
                          }
                        }
                      ]
                    },

# --- truncated at 32 KB (2661 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/bread-financial/refs/heads/main/openapi/bread-merchant-operations-openapi.json