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:
BitcoinBitcoinTestnetLitecoinLitecoinTestnetCardanoMoneroDashDogecoinSolanaSolanaTestnetSolanaDevnetEthereumSepoliaTestnetPolygonPolygonTestnetBNBBNBTestnetArbitrumArbitrumTestnetZcashZcashTestnetPolkadotPolkadotTestnetTronTronTestnetAvalancheAvalancheTestnetBaseBaseTestnetOptimismOptimismTestnet
token
string
discountPercentOff
number<float>
>= 0
amount
number<float>
required
>= 0
alternativeMethodPayments
array[object]
paymentMethod
object
required
amount
number<float>
required
>= 0
transactions
array[object]
network
string
required
Allowed values:
BitcoinBitcoinTestnetLitecoinLitecoinTestnetCardanoMoneroDashDogecoinSolanaSolanaTestnetSolanaDevnetEthereumSepoliaTestnetPolygonPolygonTestnetBNBBNBTestnetArbitrumArbitrumTestnetZcashZcashTestnetPolkadotPolkadotTestnetTronTronTestnetAvalancheAvalancheTestnetBaseBaseTestnetOptimismOptimismTestnet
transactionHash
string
required
token
string
amount
number<float>
required
>= 0
blockTimestamp
string<date-time>
required
ticker
string
discountCodeId
string<uuid>
discountAmount
number<float>
required
>= 0
paymentSummary
object
currency
string
required
Allowed values:
USDCADGBPEURAEDINRSEKBRLNZDAUDHKDNOKDKKJPYCNYCHFSGDPLNMXNCZKHUFZARSARRUBTRYILSUSDCUSDTBTCETH
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]
from
string
required
to
string
required
rate
number<float>
required
>= 0
radomData
paymentLink
object
required
paymentLinkId
string<uuid>
required
paymentLinkOrderId
string<uuid>
inputData
array[object]
label
string
required
value
string

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"
}
]
}
}
}