Skip to main content

Subscription fields

FIELDDATATYPEREQUESTRESPONSESIZEDESCRIPTION
subscriptionIdString-(M)36The unique identifier of the subscription. Format UUID.
planIdString(M)-36The unique identifier of the plan. Format UUID.
currencyString(M)-3Currency in which you want the recurrences to be charged. This currency must be correctly configured in the backoffice. It must use the code in ISO 4217 format
eventSubscriptionUrlString(M)-Unlimited (BD 400KB)The URL to which any subscription changes an event will be sent. Valid URI
overwrite.initialAmountBigDecimal(O)-38If present, the initial subscription amount will be overwritten by the specified amount. All other recurring payments will respect the values specified by the plan. If not present, the plan amounts will be charged.
CANCEL FIELDS
reasonString-(M)50Reason of the cancellation, possible values: end_plan: The subscription is canceled because it reaches the end of the plan hard_decline: The subscription is canceled because we received a hard decline from the PSP merchant_api: The subscription is canceled by a merchant API request backoffice_api: The subscription is canceled from our BO dispute: The subscription is canceled by Chargeback or RDR and the plan is set to auto cancel
cancellationDetailString(O)(O)25Short description about the cancellation reason
cancellation.reasonString (Enum)-(O)20Cancellation reason of the subscription. This field admits the following values: end_plan: The subscription is canceled because it reaches the end of the plan hard_decline: The subscription is canceled because we received a hard decline from the PSP merchant_api: The subscription is canceled by a merchant API request backoffice_api: The subscription is canceled from our BO dispute: The subscription is canceled by Chargeback or RDR and the plan is set to auto cancel
cancellation.detailString(O)(O)25Short description about the cancellation reason
cancellation.requestedAtInstant-(O)20The date and time when a subscription is cancelled in UTC. Format: ISO 8601 in UTC / YYYY-MM-DDTHH:mm:ssZ.
EVENTS FIELDS
eventIdString-(M)36The unique identifier of the event. Format UUID.
eventTypeString (Enum)-(M)50Event type. This field admits the following values: subscription.created subscription.archived subscription.updated subscription.cancelled subscription.payment.refunded subscription.paused subscription.resumed subscription.payment.disputed
occurredAtInstant-(M)20The date and time when an event is sent in UTC. Format: ISO 8601 in UTC / YYYY-MM-DDTHH:mm:ssZ.
originator.typeString (Enum)-(M)50The type of the originator that made the event. This field admits the following values: payment merchant backoffice payment_refunded payment_disputed
originator.data.paymentIdString-(O)36The unique identifier of the payment. Format UUID. Only mandatory when a payment is the originator.
originator.data.orderIdString-(O)36The unique identifier of the order. Format UUID. Only mandatory when a payment is the originator.
originator.data.typeString (Enum)-(O)50The type of originator payment. Only mandatory when a payment is the originator. This field admits the following values: initial renewal maintenance
originator.data.statusString (Enum)-(O)50The status of originator payment. Only mandatory when a payment is the originator. This field admits the following values: accepted failed pending paying archived paused
originator.data.cycleInteger-(O)3The number of the originator cycle
originator.data.attemptInteger-(O)3The number of the payment attempt. Only mandatory when a payment is the originator.
originator.data.money.amountBigDecimal-(O)38The amount of the transaction. The amount of the decimal place depends on the currency. Only mandatory when a payment is the originator.
originator.data.money.currencyString-(O)3The currency of the transaction. Format: 3-character abbreviation according to ISO 4217. Only mandatory when a payment is the originator.
originator.data.transactions.transactionIdString-(O)36The unique identifier of the payment transaction. Format UUID. Only mandatory when a payment is the originator.
originator.data.transactions.transactionCreationDateInstant-(O)20The date and time when a transaction is created in UTC. Format: ISO 8601 in UTC / YYYY-MM-DDTHH:mm:ssZ. Only mandatory when a payment is the originator.
originator.data.transactions.transactionStatusString-(O)10The status of a transaction. This field admits the following values: success failed
originator.data.transactions.isFallbackBoolean-(O)true/falseIndicates whether the current transaction has used the main MID of the route or has used the fallback MID. Only mandatory when a payment is the originator.
data.subscriptionIdString-(M)36The unique identifier of the subscription. Format UUID.
data.planIdString-(M)36The unique identifier of the plan. Format UUID.
data.statusString (Enum)-(M)20The subscription status. This field admits the following values: created abandoned archived fulfilled past_due maintenance cancelled paused
data.cycleInteger-(M)3The number of paid cycles
data.nextPayment.scheduledForInstant-(O)20Date and time of the next payment. Format: ISO 8601 in UTC / YYYY-MM-DDTHH:mm:ssZ.
data.nextPayment.typeString (Enum)-(O)20Type of the next payment. This field admits the following values: renewal maintenance
data.nextPayment.money.amountBigDecimal-(O)38The amount of the cycle. The amount of the decimal place depends on the currency. Only mandatory when a payment is the originator.
data.nextPayment.money.currencyString-(O)3The currency of the cycle. Format: 3-character abbreviation according to ISO 4217. Only mandatory when a payment is the originator.
data.createdAtInstant-(M)20The date and time when a subscription is created in UTC. Format: ISO 8601 in UTC / YYYY-MM-DDTHH:mm:ssZ.
data.modifiedAtInstant-(M)20The date and time when a subscription is created in UTC. Format: ISO 8601 in UTC / YYYY-MM-DDTHH:mm:ssZ.
data.cancellation.reasonString (Enum)-(O)20Cancellation reason of the subscription. This field admits the following values: end_plan: The subscription is canceled because it reaches the end of the plan hard_decline: The subscription is canceled because we received a hard decline from the PSP merchant_api: The subscription is canceled by a merchant API request backoffice_api: The subscription is canceled from our BO dispute: The subscription is canceled by Chargeback or RDR and the plan is set to auto cancel
data.cancellation.detailString(O)(O)25Short description about the cancellation reason
data.cancellation.requestedAtInstant-(O)20The date and time when a subscription is cancelled in UTC. Format: ISO 8601 in UTC / YYYY-MM-DDTHH:mm:ssZ.