Skip to main content

Payment

This event is emitted when a one-time payment is completed successfully. Note that the radomData object changes according to the type of checkout.

id
string<uuid>
webhookId
string<uuid>
eventType
string
Allowed value:
managedPayment
eventData
object
managedPayment
object
paymentMethod
object
required
network
string
required
Allowed values:
BitcoinBitcoinTestnetLitecoinLitecoinTestnetCardanoMoneroDashDogecoinSolanaSolanaTestnetSolanaDevnetEthereumSepoliaTestnetPolygonPolygonTestnetBNBBNBTestnetArbitrumArbitrumTestnetZcashZcashTestnetPolkadotPolkadotTestnetPolkadotAssetHubPolkadotAssetHubTestnetTronTronTestnetAvalancheAvalancheTestnetBaseBaseTestnetOptimismOptimismTestnetFiat
token
string or null
discountPercentOff
number<float> or null
>= 0
amount
number<float>
required
>= 0
alternativeMethodPayments
array[object] or null
paymentMethod
object
required
amount
number<float>
required
>= 0
transactions
array[object] or null
network
string
required
Allowed values:
BitcoinBitcoinTestnetLitecoinLitecoinTestnetCardanoMoneroDashDogecoinSolanaSolanaTestnetSolanaDevnetEthereumSepoliaTestnetPolygonPolygonTestnetBNBBNBTestnetArbitrumArbitrumTestnetZcashZcashTestnetPolkadotPolkadotTestnetPolkadotAssetHubPolkadotAssetHubTestnetTronTronTestnetAvalancheAvalancheTestnetBaseBaseTestnetOptimismOptimismTestnetFiat
transactionHash
string
required
token
string or null
amount
number<float>
required
>= 0
blockTimestamp
string<date-time>
required
ticker
string or null
senderAddresses
array[object] or null
address
string
required
discountCodeId
string<uuid> or null
discountAmount
number<float>
required
>= 0
paymentSummary
object or null
currency
string
required
Allowed values:
USDCADGBPEURAEDINRSEKBRLNZDAUDHKDNOKDKKJPYCNYCHFSGDPLNMXNCZKHUFZARSARRUBTRYILSUSDCUSDTBTCETHBNBSOLTRXAVAXMATIC
grossAmount
number<float>
required
>= 0
underpaidAmount
number<float>
required
>= 0
overpaidAmount
number<float>
required
>= 0
netAmount
number<float>
required
>= 0
networkFeeAmount
number<float>
required
>= 0
radomFeeAmount
number<float>
required
>= 0
feeAmount
number<float>
required
>= 0
conversionRates
array[object] or null
from
string
required
to
string
required
rate
number<float>
required
>= 0
tokenDiscountAmount
number<float>
required
>= 0
discountTotal
number<float>
required
>= 0
radomData
paymentLink
object
required
paymentLinkId
string<uuid>
required
paymentLinkOrderId
string<uuid> or null
inputData
array[object] or null
label
string
required
value
string or null

Examples

  {
"id": "f01fa77a-6f71-45fd-884e-4212ec76e9e9",
"webhookId": "ad474121-b97e-479b-a180-60a21bda8532",
"eventType": "managedPayment",
"eventData": {
"managedPayment": {
"paymentMethod": {
"network": "SolanaDevnet",
"token": null
},
"amount": "0.05174000000",
"transactions": [
{
"network": "SolanaDevnet",
"transactionHash": "Biqv82rkELugxVFVUrcobxabNvUztxno9vCBDLdnQUzBqNmacbMKtuSAF9srJPQq8CWpA47rpL8skkt2MTEsZvk",
"token": null,
"amount": "0.0520",
"blockTimestamp": "2023-06-06T06:11:42Z"
}
]
}
},
"radomData": {
"paymentLink": {
"paymentLinkId": "9353ac9f-d44e-4acf-a18e-83189422363a",
"paymentLinkOrderId": "aa697c4e-c489-4dd4-813d-1f9e8ad19745",
"inputData": [
{
"label": "Name",
"value": "Adam"
},
{
"label": "Email address",
"value": "adam@example.com"
}
]
}
}
}