Square · Schema
CompletePaymentResponse
Defines the response returned by[CompletePayment](api-endpoint:Payments-CompletePayment).
BookingLocationSquareRestaurantCatalogCheckoutCustomersDisputesE-CommerceFinancial TechnologyGift CardsInventoryInvoicingLaborLoyaltyMerchantsOrderPaymentsPoint-of-SaleRefundsRetailSubscriptionTeamWebhookPayment ProcessingPayment Terminals
Properties
| Name | Type | Description |
|---|---|---|
| errors | array | Information about errors encountered during the request. |
| payment | object | The successfully completed payment. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/square/main/json-schema/square-complete-payment-response-schema.json",
"title": "CompletePaymentResponse",
"description": "Defines the response returned by[CompletePayment](api-endpoint:Payments-CompletePayment).",
"x-generated": "2026-10-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/square-payments-api-openapi.yml#/components/schemas/CompletePaymentResponse",
"type": "object",
"x-release-status": "PUBLIC",
"properties": {
"errors": {
"type": "array",
"items": {
"$ref": "#/$defs/Error"
},
"description": "Information about errors encountered during the request."
},
"payment": {
"$ref": "#/$defs/Payment",
"description": "The successfully completed payment."
}
},
"$defs": {
"ACHDetails": {
"type": "object",
"description": "ACH-specific details about `BANK_ACCOUNT` type payments with the `transfer_type` of `ACH`.",
"x-release-status": "PUBLIC",
"properties": {
"routing_number": {
"type": [
"string",
"null"
],
"description": "The routing number for the bank account.",
"maxLength": 50
},
"account_number_suffix": {
"type": [
"string",
"null"
],
"description": "The last few digits of the bank account number.",
"minLength": 1,
"maxLength": 4
},
"account_type": {
"type": [
"string",
"null"
],
"description": "The type of the bank account performing the transfer. The account type can be `CHECKING`,\n`SAVINGS`, or `UNKNOWN`.",
"maxLength": 50
}
}
},
"Address": {
"type": "object",
"description": "Represents a postal address in a country. \nFor more information, see [Working with Addresses](https://developer.squareup.com/docs/build-basics/working-with-addresses).",
"x-release-status": "PUBLIC",
"properties": {
"address_line_1": {
"type": [
"string",
"null"
],
"description": "The first line of the address.\n\nFields that start with `address_line` provide the address's most specific\ndetails, like street number, street name, and building name. They do *not*\nprovide less specific details like city, state/province, or country (these\ndetails are provided in other fields)."
},
"address_line_2": {
"type": [
"string",
"null"
],
"description": "The second line of the address, if any."
},
"address_line_3": {
"type": [
"string",
"null"
],
"description": "The third line of the address, if any."
},
"locality": {
"type": [
"string",
"null"
],
"description": "The city or town of the address. For a full list of field meanings by country, see [Working with Addresses](https://developer.squareup.com/docs/build-basics/working-with-addresses)."
},
"sublocality": {
"type": [
"string",
"null"
],
"description": "A civil region within the address's `locality`, if any."
},
"sublocality_2": {
"type": [
"string",
"null"
],
"description": "A civil region within the address's `sublocality`, if any."
},
"sublocality_3": {
"type": [
"string",
"null"
],
"description": "A civil region within the address's `sublocality_2`, if any."
},
"administrative_district_level_1": {
"type": [
"string",
"null"
],
"description": "A civil entity within the address's country. In the US, this\nis the state. For a full list of field meanings by country, see [Working with Addresses](https://developer.squareup.com/docs/build-basics/working-with-addresses)."
},
"administrative_district_level_2": {
"type": [
"string",
"null"
],
"description": "A civil entity within the address's `administrative_district_level_1`.\nIn the US, this is the county."
},
"administrative_district_level_3": {
"type": [
"string",
"null"
],
"description": "A civil entity within the address's `administrative_district_level_2`,\nif any."
},
"postal_code": {
"type": [
"string",
"null"
],
"description": "The address's postal code. For a full list of field meanings by country, see [Working with Addresses](https://developer.squareup.com/docs/build-basics/working-with-addresses)."
},
"country": {
"$ref": "#/$defs/Country",
"description": "The address's country, in the two-letter format of ISO 3166. For example, `US` or `FR`.\nSee [Country](#type-country) for possible values"
},
"first_name": {
"type": [
"string",
"null"
],
"description": "Optional first name when it's representing recipient."
},
"last_name": {
"type": [
"string",
"null"
],
"description": "Optional last name when it's representing recipient."
}
}
},
"AfterpayDetails": {
"type": "object",
"description": "Additional details about Afterpay payments.",
"x-release-status": "PUBLIC",
"properties": {
"email_address": {
"type": [
"string",
"null"
],
"description": "Email address on the buyer's Afterpay account.",
"maxLength": 255
}
}
},
"ApplicationDetails": {
"type": "object",
"description": "Details about the application that took the payment.",
"x-release-status": "PUBLIC",
"properties": {
"square_product": {
"$ref": "#/$defs/ApplicationDetailsExternalSquareProduct",
"description": "The Square product, such as Square Point of Sale (POS), \nSquare Invoices, or Square Virtual Terminal.\nSee [ExternalSquareProduct](#type-externalsquareproduct) for possible values"
},
"application_id": {
"type": [
"string",
"null"
],
"description": "The Square ID assigned to the application used to take the payment. \nApplication developers can use this information to identify payments that \ntheir application processed. \nFor example, if a developer uses a custom application to process payments, \nthis field contains the application ID from the Developer Dashboard. \nIf a seller uses a [Square App Marketplace](https://developer.squareup.com/docs/app-marketplace) \napplication to process payments, the field contains the corresponding application ID."
}
}
},
"ApplicationDetailsExternalSquareProduct": {
"type": "string",
"enum": [
"APPOINTMENTS",
"ECOMMERCE_API",
"INVOICES",
"ONLINE_STORE",
"OTHER",
"RESTAURANTS",
"RETAIL",
"SQUARE_POS",
"TERMINAL_API",
"VIRTUAL_TERMINAL"
],
"x-enum-elements": [
{
"name": "APPOINTMENTS",
"description": ""
},
{
"name": "ECOMMERCE_API",
"description": ""
},
{
"name": "INVOICES",
"description": ""
},
{
"name": "ONLINE_STORE",
"description": ""
},
{
"name": "OTHER",
"description": ""
},
{
"name": "RESTAURANTS",
"description": ""
},
{
"name": "RETAIL",
"description": ""
},
{
"name": "SQUARE_POS",
"description": ""
},
{
"name": "TERMINAL_API",
"description": ""
},
{
"name": "VIRTUAL_TERMINAL",
"description": ""
}
],
"description": "A list of products to return to external callers.",
"x-release-status": "PUBLIC"
},
"BankAccountPaymentDetails": {
"type": "object",
"description": "Additional details about BANK_ACCOUNT type payments.",
"x-release-status": "PUBLIC",
"properties": {
"bank_name": {
"type": [
"string",
"null"
],
"description": "The name of the bank associated with the bank account.",
"maxLength": 100
},
"transfer_type": {
"type": [
"string",
"null"
],
"description": "The type of the bank transfer. The type can be `ACH` or `UNKNOWN`.",
"maxLength": 50
},
"account_ownership_type": {
"type": [
"string",
"null"
],
"description": "The ownership type of the bank account performing the transfer.\nThe type can be `INDIVIDUAL`, `COMPANY`, or `ACCOUNT_TYPE_UNKNOWN`.",
"maxLength": 50
},
"fingerprint": {
"type": [
"string",
"null"
],
"description": "Uniquely identifies the bank account for this seller and can be used\nto determine if payments are from the same bank account.",
"maxLength": 255
},
"country": {
"type": [
"string",
"null"
],
"description": "The two-letter ISO code representing the country the bank account is located in.",
"minLength": 2,
"maxLength": 2
},
"statement_description": {
"type": [
"string",
"null"
],
"description": "The statement description as sent to the bank.",
"maxLength": 1000
},
"ach_details": {
"$ref": "#/$defs/ACHDetails",
"description": "ACH-specific information about the transfer. The information is only populated\nif the `transfer_type` is `ACH`."
},
"errors": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/$defs/Error"
},
"description": "Information about errors encountered during the request."
}
}
},
"BuyNowPayLaterDetails": {
"type": "object",
"description": "Additional details about a Buy Now Pay Later payment type.",
"x-release-status": "PUBLIC",
"properties": {
"brand": {
"type": [
"string",
"null"
],
"description": "The brand used for the Buy Now Pay Later payment.\nThe brand can be `AFTERPAY`, `CLEARPAY` or `UNKNOWN`.",
"maxLength": 50
},
"afterpay_details": {
"$ref": "#/$defs/AfterpayDetails",
"description": "Details about an Afterpay payment. These details are only populated if the `brand` is\n`AFTERPAY`."
},
"clearpay_details": {
"$ref": "#/$defs/ClearpayDetails",
"description": "Details about a Clearpay payment. These details are only populated if the `brand` is\n`CLEARPAY`."
}
}
},
"Card": {
"type": "object",
"description": "Represents the payment details of a card to be used for payments. These\ndetails are determined by the payment token generated by Web Payments SDK.",
"x-release-status": "PUBLIC",
"properties": {
"id": {
"type": "string",
"description": "Unique ID for this card. Generated by Square.",
"maxLength": 64,
"readOnly": true
},
"card_brand": {
"$ref": "#/$defs/CardBrand",
"description": "The card's brand.\nSee [CardBrand](#type-cardbrand) for possible values",
"readOnly": true
},
"last_4": {
"type": "string",
"description": "The last 4 digits of the card number.",
"maxLength": 4,
"readOnly": true
},
"exp_month": {
"type": [
"integer",
"null"
],
"description": "The expiration month of the associated card as an integer between 1 and 12.",
"format": "int64"
},
"exp_year": {
"type": [
"integer",
"null"
],
"description": "The four-digit year of the card's expiration date.",
"format": "int64"
},
"cardholder_name": {
"type": [
"string",
"null"
],
"description": "The name of the cardholder.",
"maxLength": 96
},
"billing_address": {
"$ref": "#/$defs/Address",
"description": "The billing address for this card."
},
"fingerprint": {
"type": "string",
"description": "Intended as a Square-assigned identifier, based\non the card number, to identify the card across multiple locations within a\nsingle application.",
"maxLength": 255,
"readOnly": true
},
"customer_id": {
"type": [
"string",
"null"
],
"description": "**Required** The ID of a customer created using the Customers API to be associated with the card."
},
"merchant_id": {
"type": "string",
"description": "The ID of the merchant associated with the card.",
"readOnly": true
},
"reference_id": {
"type": [
"string",
"null"
],
"description": "An optional user-defined reference ID that associates this card with\nanother entity in an external system. For example, a customer ID from an\nexternal customer management system.",
"maxLength": 128
},
"enabled": {
"type": "boolean",
"description": "Indicates whether or not a card can be used for payments.",
"readOnly": true
},
"card_type": {
"$ref": "#/$defs/CardType",
"description": "The type of the card.\nThe Card object includes this field only in response to Payments API calls.\nSee [CardType](#type-cardtype) for possible values",
"readOnly": true
},
"prepaid_type": {
"$ref": "#/$defs/CardPrepaidType",
"description": "Indicates whether the Card is prepaid or not.\nThe Card object includes this field only in response to Payments API calls.\nSee [CardPrepaidType](#type-cardprepaidtype) for possible values",
"readOnly": true
},
"bin": {
"type": "string",
"description": "The first six digits of the card number, known as the Bank Identification Number (BIN). Only the Payments API\nreturns this field.",
"maxLength": 6,
"readOnly": true
},
"version": {
"type": "integer",
"description": "Current version number of the card. Increments with each card update. Requests to update an\nexisting Card object will be rejected unless the version in the request matches the current\nversion for the Card.",
"format": "int64"
},
"card_co_brand": {
"$ref": "#/$defs/CardCoBrand",
"description": "The card's co-brand if available. For example, an Afterpay virtual card would have a\nco-brand of AFTERPAY.\nSee [CardCoBrand](#type-cardcobrand) for possible values",
"readOnly": true
}
}
},
"CardBrand": {
"type": "string",
"enum": [
"OTHER_BRAND",
"VISA",
"MASTERCARD",
"AMERICAN_EXPRESS",
"DISCOVER",
"DISCOVER_DINERS",
"JCB",
"CHINA_UNIONPAY",
"SQUARE_GIFT_CARD",
"SQUARE_CAPITAL_CARD",
"INTERAC",
"EFTPOS",
"FELICA",
"EBT"
],
"x-enum-elements": [
{
"name": "OTHER_BRAND",
"description": ""
},
{
"name": "VISA",
"description": ""
},
{
"name": "MASTERCARD",
"description": ""
},
{
"name": "AMERICAN_EXPRESS",
"description": ""
},
{
"name": "DISCOVER",
"description": ""
},
{
"name": "DISCOVER_DINERS",
"description": ""
},
{
"name": "JCB",
"description": ""
},
{
"name": "CHINA_UNIONPAY",
"description": ""
},
{
"name": "SQUARE_GIFT_CARD",
"description": ""
},
{
"name": "SQUARE_CAPITAL_CARD",
"description": ""
},
{
"name": "INTERAC",
"description": ""
},
{
"name": "EFTPOS",
"description": ""
},
{
"name": "FELICA",
"description": ""
},
{
"name": "EBT",
"description": ""
}
],
"description": "Indicates a card's brand, such as `VISA` or `MASTERCARD`.",
"x-release-status": "PUBLIC"
},
"CardCoBrand": {
"type": "string",
"enum": [
"UNKNOWN",
"AFTERPAY",
"CLEARPAY"
],
"x-enum-elements": [
{
"name": "UNKNOWN",
"description": ""
},
{
"name": "AFTERPAY",
"description": ""
},
{
"name": "CLEARPAY",
"description": ""
}
],
"description": "Indicates the brand for a co-branded card.",
"x-release-status": "PUBLIC"
},
"CardPaymentDetails": {
"type": "object",
"description": "Reflects the current status of a card payment. Contains only non-confidential information.",
"x-release-status": "PUBLIC",
"properties": {
"status": {
"type": [
"string",
"null"
],
"description": "The card payment's current state. The state can be AUTHORIZED, CAPTURED, VOIDED, or\nFAILED.",
"maxLength": 50
},
"card": {
"$ref": "#/$defs/Card",
"description": "The credit card's non-confidential details."
},
"entry_method": {
"type": [
"string",
"null"
],
"description": "The method used to enter the card's details for the payment. The method can be\n`KEYED`, `SWIPED`, `EMV`, `ON_FILE`, or `CONTACTLESS`.",
"maxLength": 50
},
"cvv_status": {
"type": [
"string",
"null"
],
"description": "The status code returned from the Card Verification Value (CVV) check. The code can be\n`CVV_ACCEPTED`, `CVV_REJECTED`, or `CVV_NOT_CHECKED`.",
"maxLength": 50
},
"avs_status": {
"type": [
"string",
"null"
],
"description": "The status code returned from the Address Verification System (AVS) check. The code can be\n`AVS_ACCEPTED`, `AVS_REJECTED`, or `AVS_NOT_CHECKED`.",
"maxLength": 50
},
"auth_result_code": {
"type": [
"string",
"null"
],
"description": "The status code returned by the card issuer that describes the payment's\nauthorization status.",
"maxLength": 10
},
"application_identifier": {
"type": [
"string",
"null"
],
"description": "For EMV payments, the application ID identifies the EMV application used for the payment.",
"maxLength": 32
},
"application_name": {
"type": [
"string",
"null"
],
"description": "For EMV payments, the human-readable name of the EMV application used for the payment.",
"maxLength": 16
},
"application_cryptogram": {
"type": [
"string",
"null"
],
"description": "For EMV payments, the cryptogram generated for the payment.",
"maxLength": 16
},
"verification_method": {
"type": [
"string",
"null"
],
"description": "For EMV payments, the method used to verify the cardholder's identity. The method can be\n`PIN`, `SIGNATURE`, `PIN_AND_SIGNATURE`, `ON_DEVICE`, or `NONE`.",
"maxLength": 50
},
"verification_results": {
"type": [
"string",
"null"
],
"description": "For EMV payments, the results of the cardholder verification. The result can be\n`SUCCESS`, `FAILURE`, or `UNKNOWN`.",
"maxLength": 50
},
"statement_description": {
"type": [
"string",
"null"
],
"description": "The statement description sent to the card networks.\n\nNote: The actual statement description varies and is likely to be truncated and appended with\nadditional information on a per issuer basis.",
"maxLength": 50
},
"device_details": {
"$ref": "#/$defs/DeviceDetails",
"description": "__Deprecated__: Use `Payment.device_details` instead.\n\nDetails about the device that took the payment.",
"x-release-status": "DEPRECATED"
},
"card_payment_timeline": {
"$ref": "#/$defs/CardPaymentTimeline",
"description": "The timeline for card payments."
},
"refund_requires_card_presence": {
"type": [
"boolean",
"null"
],
"description": "Whether the card must be physically present for the payment to\nbe refunded. If set to `true`, the card must be present.",
"x-release-status": "BETA"
},
"errors": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/$defs/Error"
},
"description": "Information about errors encountered during the request."
}
}
},
"CardPaymentTimeline": {
"type": "object",
"description": "The timeline for card payments.",
"x-release-status": "PUBLIC",
"properties": {
"authorized_at": {
"type": [
"string",
"null"
],
"description": "The timestamp when the payment was authorized, in RFC 3339 format."
},
"captured_at": {
"type": [
"string",
"null"
],
"description": "The timestamp when the payment was captured, in RFC 3339 format."
},
"voided_at": {
"type": [
"string",
"null"
],
"description": "The timestamp when the payment was voided, in RFC 3339 format."
}
}
},
"CardPrepaidType": {
"type": "string",
"enum": [
"UNKNOWN_PREPAID_TYPE",
"NOT_PREPAID",
"PREPAID"
],
"x-enum-elements": [
{
"name": "UNKNOWN_PREPAID_TYPE",
"description": ""
},
{
"name": "NOT_PREPAID",
"description": ""
},
{
"name": "PREPAID",
"description": ""
}
],
"description": "Indicates a card's prepaid type, such as `NOT_PREPAID` or `PREPAID`.",
"x-release-status": "PUBLIC"
},
"CardType": {
"type": "string",
"enum": [
"UNKNOWN_CARD_TYPE",
"CREDIT",
"DEBIT"
],
"x-enum-elements": [
{
"name": "UNKNOWN_CARD_TYPE",
"description": ""
},
{
"name": "CREDIT",
"description": ""
},
{
"name": "DEBIT",
"description": ""
}
],
"description": "Indicates a card's type, such as `CREDIT` or `DEBIT`.",
"x-release-status": "PUBLIC"
},
"CashAppDetails": {
"type": "object",
"description": "Additional details about `WALLET` type payments with the `brand` of `CASH_APP`.",
"x-release-status": "PUBLIC",
"properties": {
"buyer_full_name": {
"type": [
"string",
"null"
],
"description": "The name of the Cash App account holder.",
"maxLength": 255
},
"buyer_country_code": {
"type": [
"string",
"null"
],
"description": "The country of the Cash App account holder, in ISO 3166-1-alpha-2 format.\n\nFor possible values, see [Country](entity:Country).",
"minLength": 2,
"maxLength": 2
},
"buyer_cashtag": {
"type": "string",
"description": "$Cashtag of the Cash App account holder.",
"minLength": 1,
"maxLength": 21,
"readOnly": true
}
}
},
"CashPaymentDetails": {
"type": "object",
"description": "Stores details about a cash payment. Contains only non-confidential information. For more information, see \n[Take Cash Payments](https://developer.squareup.com/docs/payments-api/take-payments/cash-payments).",
"x-release-status": "PUBLIC",
"required": [
"buyer_supplied_money"
],
"properties": {
"buyer_supplied_money": {
"$ref": "#/$defs/Money",
"description": "The amount and currency of the money supplied by the buyer."
},
"change_back_money": {
"$ref": "#/$defs/Money",
"description": "The amount of change due back to the buyer. \nThis read-only field is calculated\nfrom the `amount_money` and `buyer_supplied_money` fields."
}
}
},
"ClearpayDetails": {
"type": "object",
"description": "Additional details about Clearpay payments.",
"x-release-status": "PUBLIC",
"properties": {
"email_address": {
"type": [
"string",
"null"
],
"description": "Email address on the buyer's Clearpay account.",
"maxLength": 255
}
}
},
"Country": {
"type": "string",
"enum": [
"ZZ",
"AD",
"AE",
"AF",
"AG",
"AI",
"AL",
"AM",
"AO",
"AQ",
"AR",
"AS",
"AT",
"AU",
"AW",
"AX",
"AZ",
"BA",
"BB",
"BD",
"BE",
"BF",
"BG",
"BH",
"BI",
"BJ",
"BL",
"BM",
"BN",
"BO",
"BQ",
"BR",
"BS",
"BT",
"BV",
"BW",
"BY",
"BZ",
"CA",
"CC",
"CD",
"CF",
"CG",
"CH",
"CI",
"CK",
"CL",
"CM",
"CN",
"CO",
"CR",
"CU",
"CV",
"CW",
"CX",
"CY",
"CZ",
"DE",
"DJ",
"DK",
"DM",
"DO",
"DZ",
"EC",
"EE",
"EG",
"EH",
"ER",
"ES",
"ET",
"FI",
"FJ",
"FK",
"FM",
"FO",
"FR",
"GA",
"GB",
"GD",
"GE",
"GF",
"GG",
"GH",
"GI",
"GL",
"GM",
"GN",
"GP",
"GQ",
"GR",
"GS",
"GT",
"GU",
"GW",
"GY",
"HK",
"HM",
"HN",
"HR",
"HT",
"HU",
"ID",
"IE",
"IL",
"IM",
"IN",
"IO",
"IQ",
"IR",
"IS",
"IT",
"JE",
"JM",
"JO",
"JP",
"KE",
"KG",
"KH",
"KI",
"KM",
"KN",
"KP",
"KR",
"KW",
"KY",
"KZ",
"LA",
"LB",
"LC",
"LI",
"LK",
"LR",
"LS",
"LT",
"LU",
"LV",
"LY",
"MA",
"MC",
"MD",
"ME",
"MF",
"MG",
"MH",
"MK",
"ML",
"MM",
"MN",
"MO",
"MP",
"MQ",
"MR",
"MS",
"MT",
"MU",
"MV",
"MW",
"MX",
"MY",
"MZ",
"NA",
"NC",
"NE",
"NF",
"NG",
"NI",
"NL",
"NO",
"NP",
"NR",
"NU",
"NZ",
"OM",
"PA",
"PE",
"PF",
"PG",
"PH",
"PK",
"PL",
"PM",
"PN",
"PR",
"PS",
"PT",
"PW",
"PY",
"QA",
"RE",
"RO",
"RS",
"RU",
"RW",
"SA",
"SB",
"SC",
"SD",
"SE",
"SG",
"SH",
"SI",
"SJ",
"SK",
"SL",
"SM",
"SN",
"SO",
"SR",
"SS",
"ST",
"SV",
"SX",
"SY",
"SZ",
"TC",
"TD",
"TF",
"TG",
"TH",
"TJ",
"TK",
"TL",
"TM",
"TN",
"TO",
"TR",
"TT",
"TV",
"TW",
"TZ",
"UA",
"UG",
"UM",
"US",
"UY",
"UZ",
"VA",
"VC",
"VE",
"VG",
"VI",
"VN",
"VU",
"WF",
"WS",
"YE",
"YT",
"ZA",
"ZM",
"ZW"
],
"x-enum-elements": [
{
"name": "ZZ",
"description": "Unknown"
},
{
"name": "AD",
"description": "Andorra"
},
{
"name": "AE",
"description": "United Arab Emirates"
},
{
"name": "AF",
"description": "Afghanistan"
},
{
"name": "AG",
"description": "Antigua and Barbuda"
},
{
"name": "AI",
"description": "Anguilla"
},
{
"name": "AL",
"description": "Albania"
},
{
"name": "AM",
"description": "Armenia"
},
{
"name": "AO",
"description": "Angola"
},
{
"name": "AQ",
"description": "Antartica"
},
{
"name": "AR",
"description": "Argentina"
},
{
"name": "AS",
"description": "American Samoa"
},
{
"name": "AT",
"description": "Austria"
},
{
"name": "AU",
"description": "Australia"
},
{
"name": "AW",
"description": "Aruba"
},
{
"name": "AX",
"description": "Åland Islands"
},
{
"name": "AZ",
"description": "Azerbaijan"
},
{
"name": "BA",
"description": "Bosnia and Herzegovina"
},
{
"name": "BB",
"description": "Barbados"
},
{
"name": "BD",
"description": "Bangladesh"
},
{
"name": "BE",
"description": "Belgium"
},
{
"name": "BF",
"description": "Burkina Faso"
},
{
"name": "BG",
"description": "Bulgaria"
},
{
"name": "BH",
"description": "Bahrain"
},
{
"name": "BI",
"description": "Burundi"
},
{
"name": "BJ",
"description": "Benin"
},
{
"name": "BL",
"description": "Saint Barthélemy"
},
{
"name": "BM",
"description": "Bermuda"
},
{
"name
# --- truncated at 32 KB (131 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/square/refs/heads/main/json-schema/square-complete-payment-response-schema.json
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/square-complete-payment-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.