Skip to content
Contact support
Schemas/Objects

CheckoutMethod

An eligible local payment method.

Typeobject

Properties

codestringRequired

Method code, for example whish.

titlestringRequired

Method display name.

iconUrlstring or nullRequired

Public icon URL, if available.

countriesarray of stringRequired
currencystringRequired

Payment currency.

minUsdstring or nullRequired

Minimum payable amount in dollars.

maxUsdstring or nullRequired

Maximum payable amount in dollars.

whatsappNumberstringRequired

Public Cadmos WhatsApp contact including country code, digits only. The chat supplies the receiving agent’s Whish number.

pattern ^[0-9]+$
chatUrlstringRequired

Open this WhatsApp chat with the payment reference prefilled.

format uri
payUsdstring or nullRequired

Amount to send in USD for a fixed-price order. Null for an open amount.

sponsoredFeeUsdstringOptional

Amount of the method fee covered by the merchant.

quoteExpiresAtstringOptional

Refresh the method quote at this time.

format date-time

JSON schema

CheckoutMethod
{
  "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

We use necessary cookies to run this site. With your permission, we also use analytics and advertising technologies to measure visits and downloads.