EstimateResponse

Attributes

merchant Merchant required

No description.

subtotal integer required

Subtotal in cents

discount object

No description.

tax object required

No description.

total integer required

Total in cents (subtotal - discount + tax)

items array of LineItem required

No description.

available_payment_methods array of enum

Payment methods available to the customer based on their country. Always includes global methods (CARD, APPLE_PAY, GOOGLE_PAY); additional methods are added based on country/currency. Availability by country: US adds CASHAPP, AMAZON_PAY, WECHAT_PAY, ALIPAY. GB adds CASHAPP, AMAZON_PAY plus all EU methods. EU/EEA (AT, BE, CY, DE, EE, ES, FI, FR, GR, HR, IE, IT, LT, LU, LV, MT, NL, PT, SI, SK, CZ, DK, HU, PL, SE, NO, CH) adds IDEAL, BANCONTACT, MULTIBANCO, MB_WAY, EPS, PRZELEWY24, BLIK, AMAZON_PAY. BR adds PIX. IN adds UPI. KR adds NAVER_PAY, KAKAO_PAY, PAYCO, SAMSUNG_PAY.

EstimateResponse
{  "merchant": {    "id": "string",    "name": "string",    "handle": "string",    "slug": "string",    "logo": "string",    "favicon": "string",    "accentColor": "string",    "primaryColor": "string",    "statementDescriptor": "string",    "supportEmail": "string"  },  "subtotal": 0,  "discount": {    "code": "string",    "amount": 0,    "type": "PERCENTAGE",    "value": 0  },  "tax": {    "rate": 0,    "amount": 0  },  "total": 0,  "items": [    {      "name": "string",      "amount": 0,      "quantity": 0,      "image": "string"    }  ],  "available_payment_methods": [    "CARD",    "APPLE_PAY",    "GOOGLE_PAY",    "IDEAL",    "BANCONTACT",    "MULTIBANCO",    "MB_WAY",    "EPS",    "PRZELEWY24",    "BLIK",    "AMAZON_PAY"  ]}