Skip to main content

Subscription payment

This event is emitted when a subscription payment is charged successfully.

id
string<uuid>
webhookId
string<uuid>
eventType
string
Allowed value:
subscriptionPayment
eventData
object
subscriptionPayment
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
radomData
required
paymentLink
object
required
paymentLinkId
string<uuid>
required
paymentLinkOrderId
string<uuid> or null
inputData
array[object] or null
label
string
required
value
string or null
tokenDiscountAmount
allOf
#/components/schemas/BigDecimal
discountTotal
allOf
#/components/schemas/BigDecimal
radomData
paymentLink
object
required

{
"id": "41e5d9d3-1843-42b7-b993-3f8e290b344e",
"webhookId": "3b59ac1c-2283-491a-ae78-285d6d1481cd",
"eventType": "subscriptionPayment",
"eventData": {
"subscriptionPayment": {
"amount": "0.08955",
"radomData": {
"subscription": {
"subscriptionId": "2eb2fcf0-8c73-4e2b-9e94-50f76f8caabe"
}
},
"transactions": null,
"paymentMethod": {
"token": "0xc2132d05d31c914a87c6611c10748aeb04b58e8f",
"network": "Polygon",
"discountPercentOff": null
},
"discountAmount": null,
"discountCodeId": null,
"alternativeMethodPayments": null
}
},
"radomData": {
"subscription": {
"subscriptionId": "2eb2fcf0-8c73-4e2b-9e94-50f76f8caabe"
}
}
}