Skip to content
Contact support
Schemas/Objects

Checkout

Current payer instructions for one checkout token.

Typeobject

Properties

kindstringRequired
one of order, remittance
descriptionstringRequired
ownerDisplayNamestringRequired
ownerPhoneLast4stringOptional

Optional last four digits the owner chose to share.

receiverAddressstringRequired

An Ethereum address.

pattern ^0x[0-9a-fA-F]{40}$
returnUrlstringOptional

Verified return destination.

format uri
expiresAtstringOptional

Expiry of checkout instructions.

format date-time
rhinoAddressesarray of objectRequired
rhinoAddresses[].depositChainstringRequired
rhinoAddresses[].depositAddressstringRequired
rhinoAddresses[].payAssetstringRequired
rhinoAddresses[].receiveAssetstring or nullOptional
statusstringRequired
one of unpaid, received
grossReceivedUsdstringRequired

Gross amount received, in USD.

amountUsdstring or nullRequired

The order price in dollars, or null for an open amount.

leftUsdstring or nullRequired

Amount still due, or null for an open amount.

paidbooleanRequired

A fixed-price order has been paid in full. Stop displaying payment instructions.

cryptoRoutesarray of objectRequired
cryptoRoutes[].chainstringRequired

Network identifier accepted by the quote endpoint.

cryptoRoutes[].networkstringRequired

Network display name.

cryptoRoutes[].coinstringRequired
one of USDC, USDT
cryptoRoutes[].depositAddressstringRequired

Send only this coin on this network to this address. Arbitrum pays the receiver directly. Other networks use a bridge deposit address.

cryptoRoutes[].minUsdstring or nullRequired

Known bridge minimum in USD, or null.

methodsarray of objectRequired
methods[].codestringRequired

Method code, for example whish.

methods[].titlestringRequired

Method display name.

methods[].iconUrlstring or nullRequired

Public icon URL, if available.

methods[].countriesarray of stringRequired
methods[].currencystringRequired

Payment currency.

methods[].minUsdstring or nullRequired

Minimum payable amount in dollars.

methods[].maxUsdstring or nullRequired

Maximum payable amount in dollars.

methods[].whatsappNumberstringRequired

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

pattern ^[0-9]+$
methods[].chatUrlstringRequired

Open this WhatsApp chat with the payment reference prefilled.

format uri
methods[].payUsdstring or nullRequired

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

methods[].sponsoredFeeUsdstringOptional

Amount of the method fee covered by the merchant.

methods[].quoteExpiresAtstringOptional

Refresh the method quote at this time.

format date-time
paymentsarray of objectOptional
payments[].assetstringRequired
payments[].amountUsdstringRequired
payments[].paidAtstringRequired
format date-time

Example values

JSON example
{
  "kind": "order",
  "description": "Example order",
  "ownerDisplayName": "Example merchant",
  "receiverAddress": "0x0000000000000000000000000000000000000042",
  "rhinoAddresses": [],
  "status": "unpaid",
  "grossReceivedUsd": "0.00",
  "amountUsd": "100.00",
  "leftUsd": "100.00",
  "paid": false,
  "cryptoRoutes": [
    {
      "coin": "USDC",
      "chain": "ARBITRUM",
      "network": "Arbitrum",
      "depositAddress": "0x0000000000000000000000000000000000000042",
      "minUsd": null
    },
    {
      "coin": "USDT",
      "chain": "ARBITRUM",
      "network": "Arbitrum",
      "depositAddress": "0x0000000000000000000000000000000000000042",
      "minUsd": null
    }
  ],
  "methods": [
    {
      "code": "whish",
      "title": "Whish",
      "iconUrl": null,
      "countries": [
        "lb"
      ],
      "currency": "USD",
      "minUsd": "5",
      "maxUsd": "500",
      "whatsappNumber": "12025550123",
      "chatUrl": "https://wa.me/12025550123?text=Pay%20ABC123",
      "payUsd": "101.00"
    }
  ]
}

JSON schema

Checkout
{
  "type": "object",
  "description": "Current payer instructions for one checkout token.",
  "required": [
    "kind",
    "description",
    "ownerDisplayName",
    "receiverAddress",
    "rhinoAddresses",
    "status",
    "grossReceivedUsd",
    "amountUsd",
    "leftUsd",
    "paid",
    "cryptoRoutes",
    "methods"
  ],
  "examples": [
    {
      "kind": "order",
      "description": "Example order",
      "ownerDisplayName": "Example merchant",
      "receiverAddress": "0x0000000000000000000000000000000000000042",
      "rhinoAddresses": [],
      "status": "unpaid",
      "grossReceivedUsd": "0.00",
      "amountUsd": "100.00",
      "leftUsd": "100.00",
      "paid": false,
      "cryptoRoutes": [
        {
          "coin": "USDC",
          "chain": "ARBITRUM",
          "network": "Arbitrum",
          "depositAddress": "0x0000000000000000000000000000000000000042",
          "minUsd": null
        },
        {
          "coin": "USDT",
          "chain": "ARBITRUM",
          "network": "Arbitrum",
          "depositAddress": "0x0000000000000000000000000000000000000042",
          "minUsd": null
        }
      ],
      "methods": [
        {
          "code": "whish",
          "title": "Whish",
          "iconUrl": null,
          "countries": [
            "lb"
          ],
          "currency": "USD",
          "minUsd": "5",
          "maxUsd": "500",
          "whatsappNumber": "12025550123",
          "chatUrl": "https://wa.me/12025550123?text=Pay%20ABC123",
          "payUsd": "101.00"
        }
      ]
    }
  ],
  "properties": {
    "kind": {
      "type": "string",
      "enum": [
        "order",
        "remittance"
      ]
    },
    "description": {
      "type": "string"
    },
    "ownerDisplayName": {
      "type": "string"
    },
    "ownerPhoneLast4": {
      "type": "string",
      "description": "Optional last four digits the owner chose to share."
    },
    "receiverAddress": {
      "$ref": "#/components/schemas/Address"
    },
    "returnUrl": {
      "type": "string",
      "description": "Verified return destination.",
      "format": "uri"
    },
    "expiresAt": {
      "type": "string",
      "description": "Expiry of checkout instructions.",
      "format": "date-time"
    },
    "rhinoAddresses": {
      "type": "array",
      "items": {
        "type": "object",
        "description": "Provisioned bridge bindings. Use cryptoRoutes to display instructions.",
        "required": [
          "depositChain",
          "depositAddress",
          "payAsset"
        ],
        "properties": {
          "depositChain": {
            "type": "string"
          },
          "depositAddress": {
            "type": "string"
          },
          "payAsset": {
            "type": "string"
          },
          "receiveAsset": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "status": {
      "type": "string",
      "enum": [
        "unpaid",
        "received"
      ]
    },
    "grossReceivedUsd": {
      "type": "string",
      "description": "Gross amount received, in USD."
    },
    "amountUsd": {
      "type": [
        "string",
        "null"
      ],
      "description": "The order price in dollars, or null for an open amount."
    },
    "leftUsd": {
      "type": [
        "string",
        "null"
      ],
      "description": "Amount still due, or null for an open amount."
    },
    "paid": {
      "type": "boolean",
      "description": "A fixed-price order has been paid in full. Stop displaying payment instructions."
    },
    "cryptoRoutes": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/CheckoutRoute"
      }
    },
    "methods": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/CheckoutMethod"
      }
    },
    "payments": {
      "type": "array",
      "items": {
        "type": "object",
        "description": "Payment summary on a reusable remittance link.",
        "required": [
          "asset",
          "amountUsd",
          "paidAt"
        ],
        "properties": {
          "asset": {
            "type": "string"
          },
          "amountUsd": {
            "type": "string"
          },
          "paidAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      }
    }
  }
}
Next in schemasCheckoutQuote

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