Checkout
Current payer instructions for one checkout token.
objectProperties
kindstringRequiredone of order, remittancedescriptionstringRequiredownerDisplayNamestringRequiredownerPhoneLast4stringOptionalOptional last four digits the owner chose to share.
receiverAddressstringRequiredAn Ethereum address.
pattern ^0x[0-9a-fA-F]{40}$returnUrlstringOptionalVerified return destination.
format uriexpiresAtstringOptionalExpiry of checkout instructions.
format date-timerhinoAddressesarray of objectRequiredrhinoAddresses[].depositChainstringRequiredrhinoAddresses[].depositAddressstringRequiredrhinoAddresses[].payAssetstringRequiredrhinoAddresses[].receiveAssetstring or nullOptionalstatusstringRequiredone of unpaid, receivedgrossReceivedUsdstringRequiredGross amount received, in USD.
amountUsdstring or nullRequiredThe order price in dollars, or null for an open amount.
leftUsdstring or nullRequiredAmount still due, or null for an open amount.
paidbooleanRequiredA fixed-price order has been paid in full. Stop displaying payment instructions.
cryptoRoutesarray of objectRequiredcryptoRoutes[].chainstringRequiredNetwork identifier accepted by the quote endpoint.
cryptoRoutes[].networkstringRequiredNetwork display name.
cryptoRoutes[].coinstringRequiredone of USDC, USDTcryptoRoutes[].depositAddressstringRequiredSend only this coin on this network to this address. Arbitrum pays the receiver directly. Other networks use a bridge deposit address.
cryptoRoutes[].minUsdstring or nullRequiredKnown bridge minimum in USD, or null.
methodsarray of objectRequiredmethods[].codestringRequiredMethod code, for example whish.
methods[].titlestringRequiredMethod display name.
methods[].iconUrlstring or nullRequiredPublic icon URL, if available.
methods[].countriesarray of stringRequiredmethods[].currencystringRequiredPayment currency.
methods[].minUsdstring or nullRequiredMinimum payable amount in dollars.
methods[].maxUsdstring or nullRequiredMaximum payable amount in dollars.
methods[].whatsappNumberstringRequiredPublic Cadmos WhatsApp contact including country code, digits only. The chat supplies the receiving agent’s Whish number.
pattern ^[0-9]+$methods[].chatUrlstringRequiredOpen this WhatsApp chat with the payment reference prefilled.
format urimethods[].payUsdstring or nullRequiredAmount to send in USD for a fixed-price order. Null for an open amount.
methods[].sponsoredFeeUsdstringOptionalAmount of the method fee covered by the merchant.
methods[].quoteExpiresAtstringOptionalRefresh the method quote at this time.
format date-timepaymentsarray of objectOptionalpayments[].assetstringRequiredpayments[].amountUsdstringRequiredpayments[].paidAtstringRequiredformat date-time
Example values
{
"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
{
"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"
}
}
}
}
}
}