Schemas/Objects
Receipt
One transfer received by a link and its settlement state.
Type
objectProperties
assetstringRequiredCUSDfor a cash payment.one of USDC, USDT, CUSDtxHashstringRequiredThe transaction that paid the link's receiving address.
logIndexintegerRequiredgrossAtomicstringRequiredAn integer string of 6-decimal units:
"100000000"is 100.000000.pattern ^\d+$feeSharesstring or nullRequirednetSharesstring or nullRequiredfeeAtomicstring or nullRequiredThe Gateway Fee, once settled.
pattern ^\d+$netValueAtomicstring or nullRequiredWhat your wallet was credited, once settled.
pattern ^\d+$appliedRateBpsinteger or nullRequiredThe Gateway Fee rate applied, in basis points.
statestringRequiredone of pending, settledsettlementTxHashstring or nullRequiredcreatedAtstring or nullRequiredformat date-timemethodstringOptionalOnly on a cash payment.
one of whishpaidUsdstringOptionalOnly on a cash payment: what the payer paid, their cash-in fee included.
cashInFeeUsdstringOptionalOnly on a cash payment: the cash-in fee.
JSON schema
{
"type": "object",
"description": "One payment the link received, settled or not yet.",
"required": [
"asset",
"txHash",
"logIndex",
"grossAtomic",
"feeShares",
"netShares",
"feeAtomic",
"netValueAtomic",
"appliedRateBps",
"state",
"settlementTxHash",
"createdAt"
],
"properties": {
"asset": {
"type": "string",
"enum": [
"USDC",
"USDT",
"CUSD"
],
"description": "`CUSD` for a cash payment."
},
"txHash": {
"type": "string",
"description": "The transaction that paid the link's receiving address."
},
"logIndex": {
"type": "integer"
},
"grossAtomic": {
"$ref": "#/components/schemas/Atomic"
},
"feeShares": {
"type": [
"string",
"null"
]
},
"netShares": {
"type": [
"string",
"null"
]
},
"feeAtomic": {
"oneOf": [
{
"$ref": "#/components/schemas/Atomic"
},
{
"type": "null"
}
],
"description": "The Gateway Fee, once settled."
},
"netValueAtomic": {
"oneOf": [
{
"$ref": "#/components/schemas/Atomic"
},
{
"type": "null"
}
],
"description": "What your wallet was credited, once settled."
},
"appliedRateBps": {
"type": [
"integer",
"null"
],
"description": "The Gateway Fee rate applied, in basis points."
},
"state": {
"type": "string",
"enum": [
"pending",
"settled"
]
},
"settlementTxHash": {
"type": [
"string",
"null"
]
},
"createdAt": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"method": {
"type": "string",
"enum": [
"whish"
],
"description": "Only on a cash payment."
},
"paidUsd": {
"type": "string",
"description": "Only on a cash payment: what the payer paid, their cash-in fee included."
},
"cashInFeeUsd": {
"type": "string",
"description": "Only on a cash payment: the cash-in fee."
}
}
}Next in schemasSettlementPage