Skip to main content

Created

When subscription is created by first payment success. Descriptions in the Fields section below.

{
"eventId": "01902a79-663b-7f88-ad98-eedeaddec964",
"eventType": "subscription.created",
"ocurredAt": "2024-04-12T11:24:55.637846Z",
"originator": {
"type": "PAYMENT",
"data": {
"paymentId": "01902a68-add8-77c2-8e39-b3ebcc603293",
"orderId": "core order id",
"type": "INITIAL",
"status": "ACCEPTED",
"attempt": 1,
"money": {
"amount": 9.98,
"currency": "USD"
},
"transactions": [
{
"transactionId": "9d884812-1d28-4747-aef6-07df6b02a28f",
"transactionCreationDate": "2024-04-12T11:24:55.637846Z",
"transactionStatus": "failed",
"isFallback": false
},
{
"transactionId": "9d884812-1d28-4747-aef6-07df6b02a29f",
"transactionCreationDate": "2024-04-12T11:25:00.637846Z",
"transactionStatus": "success",
"isFallback": true
},
]
}
},
"data": {
"subscriptionId": "01902a79-663b-7f18-ad18-eedeaddec964",
"planId": "95a70946-1b6f-46db-b3ab-b31edc240556",
"status": "FULFILLED",
"cycle": 1,
"nextPayment": {
"scheduledFor": "2024-04-12",
"type": "RENEWAL",
"money": {
"amount": 29.95,
"currency": "EUR"
}
},
"customer": {
"email": "customer_email@gmail.com"
},
"createdAt": "2024-04-12T11:24:55.637846Z",
"modifiedAt": "2024-04-12T11:24:55.637846Z" //SOLO BO
}
}