Schemas/Objects
CheckoutMethod
An eligible local payment method.
Type
objectProperties
codestringRequiredMethod code, for example whish.
titlestringRequiredMethod display name.
iconUrlstring or nullRequiredPublic icon URL, if available.
countriesarray of stringRequiredcurrencystringRequiredPayment currency.
minUsdstring or nullRequiredMinimum payable amount in dollars.
maxUsdstring or nullRequiredMaximum payable amount in dollars.
whatsappNumberstringRequiredPublic Cadmos WhatsApp contact including country code, digits only. The chat supplies the receiving agent’s Whish number.
pattern ^[0-9]+$chatUrlstringRequiredOpen this WhatsApp chat with the payment reference prefilled.
format uripayUsdstring or nullRequiredAmount to send in USD for a fixed-price order. Null for an open amount.
sponsoredFeeUsdstringOptionalAmount of the method fee covered by the merchant.
quoteExpiresAtstringOptionalRefresh the method quote at this time.
format date-time
JSON schema
{
"type": "object",
"description": "An eligible local payment method.",
"required": [
"code",
"title",
"currency",
"minUsd",
"maxUsd",
"countries",
"iconUrl",
"whatsappNumber",
"chatUrl",
"payUsd"
],
"properties": {
"code": {
"type": "string",
"description": "Method code, for example whish."
},
"title": {
"type": "string",
"description": "Method display name."
},
"iconUrl": {
"type": [
"string",
"null"
],
"description": "Public icon URL, if available."
},
"countries": {
"type": "array",
"items": {
"type": "string"
}
},
"currency": {
"type": "string",
"description": "Payment currency."
},
"minUsd": {
"type": [
"string",
"null"
],
"description": "Minimum payable amount in dollars."
},
"maxUsd": {
"type": [
"string",
"null"
],
"description": "Maximum payable amount in dollars."
},
"whatsappNumber": {
"type": "string",
"description": "Public Cadmos WhatsApp contact including country code, digits only. The chat supplies the receiving agent’s Whish number.",
"pattern": "^[0-9]+$"
},
"chatUrl": {
"type": "string",
"description": "Open this WhatsApp chat with the payment reference prefilled.",
"format": "uri"
},
"payUsd": {
"type": [
"string",
"null"
],
"description": "Amount to send in USD for a fixed-price order. Null for an open amount."
},
"sponsoredFeeUsd": {
"type": "string",
"description": "Amount of the method fee covered by the merchant."
},
"quoteExpiresAt": {
"type": "string",
"description": "Refresh the method quote at this time.",
"format": "date-time"
}
}
}Next in schemasCheckout