Contract — card payment (? = optional)
{
"externalUserId": "string",
"projectId": "string",
"createdAt": "string (ISO 8601 date-time)",
"subscriptionId": "string",
"subscriptionProductPlanId": "string",
"type": "SUBSCRIPTION_ACTIVATED",
"nextPaymentDate": "string (ISO 8601 date-time)",
"transactionId": "string",
"amount": "string (decimal amount)",
"currency": "string (currency code)",
"transactionDetails": {
"cardToken": "string",
"email": "string",
"cardType": "string",
"cardCountry": "string",
"cardHolderName": "string",
"cardBrand": "string",
"bin": "string",
"issuingOrganization?": "string",
"last4?": "string"
},
"state": "ACTIVE | TRIAL",
"nextPayment": {
"amount?": "string (decimal amount)",
"currency?": "string (currency code)"
},
"subscriptionTrial": "string (ISO 8601 date-time; required when state = TRIAL, absent when state = ACTIVE)",
"completedAt?": "string (ISO 8601 date-time) | null",
"metadata?": {
"<key>": "string"
},
"paymentMethodDetails?": "object (payment method details) | null",
"customerCountry?": "string | null"
}Examples
[
{
"externalUserId": "a1b2c3d4-e5f6-4a7b-8c9d-1e2f3a4b5c6d",
"projectId": "b1c2d3e4-f5a6-4b7c-8d9e-2f3a4b5c6d7e",
"createdAt": "2025-11-11T16:08:02.316Z",
"subscriptionId": "c1d2e3f4-a5b6-4c7d-8e9f-3a4b5c6d7e8f",
"subscriptionProductPlanId": "d1e2f3a4-b5c6-4d7e-8f9a-4b5c6d7e8f9a",
"type": "SUBSCRIPTION_ACTIVATED",
"nextPaymentDate": "2025-11-18T07:00:00.000Z",
"transactionId": "c1d2e3f4-a5b6-4c7d-8e9f-3a4b5c6d7e8f",
"amount": "12",
"currency": "EUR",
"transactionDetails": {
"cardToken": "f1a2b3c4-d5e6-4f7a-8b9c-6d7e8f9a0b1c",
"email": "[email protected]",
"cardType": "CREDIT",
"cardCountry": "UNITED KINGDOM",
"cardHolderName": "DF DSF",
"cardBrand": "VISA",
"bin": "424242",
"last4": "4242"
},
"state": "ACTIVE",
"nextPayment": {
"amount": "12",
"currency": "EUR"
}
},
{
"externalUserId": "5a010f87-b529-4373-ac09-58e06ca5e910",
"projectId": "00000000-0000-7000-8000-000000000001",
"createdAt": "2025-11-11T16:14:21.298Z",
"subscriptionId": "00000000-0000-7000-8000-000000000002",
"subscriptionProductPlanId": "e4af9ece-0c5d-4312-ad31-00d0c2fb9232",
"type": "SUBSCRIPTION_ACTIVATED",
"nextPaymentDate": "2025-11-12T07:00:00.000Z",
"transactionId": "00000000-0000-7000-8000-000000000002",
"amount": "1",
"currency": "USD",
"transactionDetails": {
"cardToken": "00000000-0000-7000-8000-000000000003",
"email": "[email protected]",
"cardType": "CREDIT",
"cardCountry": "UNITED KINGDOM",
"cardHolderName": "ASD DAS",
"cardBrand": "VISA",
"bin": "424242",
"last4": "4242"
},
"state": "TRIAL",
"subscriptionTrial": "2025-11-12T07:00:00.000Z",
"nextPayment": {
"amount": "12",
"currency": "USD"
}
}
]For signature verification and delivery handling, see the Webhooks guide.