New subscription
This event is emitted when a new subscription is created.
id
string<uuid>webhookId
string<uuid>eventType
stringAllowed value:
newSubscription
eventData
objectnewSubscription
objectsubscriptionId
string<uuid>subscriptionType
automatedEVMSubscription
objectbuyerAddress
stringsubscriptionContractAddress
stringrecommendedAllowanceDuration
integer<int64> or null
>= 0
emailAddress
string or null
network
stringAllowed values:
BitcoinBitcoinTestnetLitecoinLitecoinTestnetCardanoMoneroDashDogecoinSolanaSolanaTestnetSolanaDevnetEthereumSepoliaTestnetPolygonPolygonTestnetBNBBNBTestnetArbitrumArbitrumTestnetZcashZcashTestnetPolkadotPolkadotTestnetPolkadotAssetHubPolkadotAssetHubTestnetTronTronTestnetAvalancheAvalancheTestnetBaseBaseTestnetOptimismOptimismTestnetFiat
token
string or null
amount
number<float>>= 0
currency
stringAllowed values:
USDCADGBPEURAEDINRSEKBRLNZDAUDHKDNOKDKKJPYCNYCHFSGDPLNMXNCZKHUFZARSARRUBTRYILSUSDCUSDTBTCETHBNBSOLTRXAVAXMATIC
period
stringAllowed values:
dailyweeklymonthlyquarterlyannuallycustom
periodCustomDuration
integer<int64> or null
createdAt
string<date-time>tags
object or null
productId
string<uuid> or null
name
string or null
imageUrl
string or null
radomData
paymentLink
objectpaymentLinkId
string<uuid>paymentLinkOrderId
string<uuid> or null
inputData
array[object] or null
label
stringvalue
string or null
{
"id": "f01fa77a-6f71-45fd-884e-4212ec76e9e9",
"webhookId": "ad474121-b97e-479b-a180-60a21bda8532",
"eventType": "newSubscription",
"eventData": {
"newSubscription": {
"subscriptionId": "2b6081ce-51ca-4699-b3b3-dedc3aacdfe3",
"subscriptionType": {
"automatedEVMSubscription": {
"buyerAddress": "0x850f184effee1f86472c056b777126bd063e4cd0",
"subscriptionContractAddress": "0x87Fcf739aEe21FAb3b99121fA4f2D7bF243f9F15",
"recommendedAllowanceDuration": null
}
},
"network": "SepoliaTestnet",
"token": "0x5D684d37922dAf7Aa2013E65A22880a11C475e25",
"amount": "9.9900",
"currency": "USD",
"period": "monthly",
"periodCustomDuration": null,
"createdAt": "2023-06-12T23:54:51.445529Z",
"tags": {
"productId": "ad84d39a-dcc3-442f-9cbb-7e8e0be29a03"
}
}
},
"radomData": {
"checkoutSession": {
"checkoutSessionId": "109d5abf-1f8b-460f-9dd8-3c1486b8feba"
}
}
}