Skip to content
Schemas/Objects

Link

The price, remaining balance, and receipts for a payment link.

Typeobject

Properties

uuidstringRequired
format uuid
kindstringRequired

Links you create here are order. A remittance link is one client's reusable link, made in the app.

one of order, remittance
descriptionstringRequired
externalReferencestring or nullRequired
statusstringRequired
one of active, void
receiverAddressstringRequired

An Ethereum address.

pattern ^0x[0-9a-fA-F]{40}$
checkoutUrlstringRequired
format uri
createdAtstringRequired
format date-time
receiptsarray of objectRequired
receipts[].assetstringRequired

CUSD for a cash payment.

one of USDC, USDT, CUSD
receipts[].txHashstringRequired

The transaction that paid the link's receiving address.

receipts[].logIndexintegerRequired
receipts[].grossAtomicstringRequired

An integer string of 6-decimal units: "100000000" is 100.000000.

pattern ^\d+$
receipts[].feeSharesstring or nullRequired
receipts[].netSharesstring or nullRequired
receipts[].feeAtomicstring or nullRequired

The Gateway Fee, once settled.

pattern ^\d+$
receipts[].netValueAtomicstring or nullRequired

What your wallet was credited, once settled.

pattern ^\d+$
receipts[].appliedRateBpsinteger or nullRequired

The Gateway Fee rate applied, in basis points.

receipts[].statestringRequired
one of pending, settled
receipts[].settlementTxHashstring or nullRequired
receipts[].createdAtstring or nullRequired
format date-time
receipts[].methodstringOptional

Only on a cash payment.

one of whish
receipts[].paidUsdstringOptional

Only on a cash payment: what the payer paid, their cash-in fee included.

receipts[].cashInFeeUsdstringOptional

Only on a cash payment: the cash-in fee.

localMethodsarray of stringRequired
paymentReferencestring or nullRequired
amountUsdstring or nullRequired

Dollars and cents as a decimal string.

pattern ^\d+\.\d{2}$
countedUsdstringRequired

Dollars and cents as a decimal string.

pattern ^\d+\.\d{2}$
leftUsdstring or nullRequired

Dollars and cents as a decimal string.

pattern ^\d+\.\d{2}$
paidbooleanRequired

Example values

JSON example
{
  "uuid": "0b6f5a8e-1c2d-4e3f-9a8b-7c6d5e4f3a2b",
  "status": "active",
  "checkoutUrl": "https://cadmospay.com/checkout/example_checkout_token_for_documentation_00",
  "receiverAddress": "0x0000000000000000000000000000000000000042",
  "externalReference": "order-42",
  "localMethods": [],
  "paymentReference": null,
  "amountUsd": "100.00",
  "countedUsd": "0.00",
  "leftUsd": "100.00",
  "paid": false,
  "kind": "order",
  "description": "Order #42",
  "createdAt": "2026-11-17T09:00:00.000Z",
  "receipts": []
}

JSON schema

Link
{
  "type": "object",
  "required": [
    "uuid",
    "kind",
    "description",
    "externalReference",
    "status",
    "receiverAddress",
    "checkoutUrl",
    "createdAt",
    "receipts",
    "localMethods",
    "paymentReference",
    "amountUsd",
    "countedUsd",
    "leftUsd",
    "paid"
  ],
  "properties": {
    "uuid": {
      "type": "string",
      "format": "uuid"
    },
    "kind": {
      "type": "string",
      "enum": [
        "order",
        "remittance"
      ],
      "description": "Links you create here are `order`. A `remittance` link is one client's reusable link, made in the app."
    },
    "description": {
      "type": "string"
    },
    "externalReference": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "active",
        "void"
      ]
    },
    "receiverAddress": {
      "$ref": "#/components/schemas/Address"
    },
    "checkoutUrl": {
      "type": "string",
      "format": "uri"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "receipts": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Receipt"
      }
    },
    "localMethods": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "paymentReference": {
      "type": [
        "string",
        "null"
      ]
    },
    "amountUsd": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/Dollars"
        },
        {
          "type": "null"
        }
      ]
    },
    "countedUsd": {
      "$ref": "#/components/schemas/Dollars"
    },
    "leftUsd": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/Dollars"
        },
        {
          "type": "null"
        }
      ]
    },
    "paid": {
      "type": "boolean"
    }
  }
}
Next in schemasReceipt

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