Attributes
This object represents a subscription that can be associated with a customer.The unique identifier of the subscription (MAX 64 ; MIN 36).Example: 7304911d-5df9-429e-8488-ad41abea1a4c
The subscription name (MAX 255; MIN 3).Example: sub_001
The subscription description (MAX 255; MIN 3).Example: Servicio de streaming
The unique identifier of the account that will have the subscription plan available to use (MAX 64 ; MIN 36).Example: 2404911d-5df9-429e-8488-ad41abea1a4b
Identification of the subscription plan (MAX 255; MIN 3).Example: 001_marzo_23
The subscription’s country.Example: CO
Status of the subscription.Possible values:
ACTIVE= The subscription has been created with an associated customer and is already active.PAUSED= The subscription has been paused and can be reactivated.COMPLETED= The subscription is completed because it reached the end date and time.CANCELED= Subscription canceled.
Specifies the subscription amount object, with the value and currency.
The frequency defined for the payment subscription. If not set, defaults are MONTH for type and 1 for value.
Specifies the billing_cycles object.
[Optional] Specifies the billing_date object. Mutually exclusive with the frequency object.
Specifies the customer_payer object.
Specifies the payment_method object.
Specifies the trial_period object.
Specifies the availability object. The dates that the subscription will be available. If null the start date will be the day of the creation and it will not have a finish date.
Specifies the retries object. If we need to retry declined transactions in Yuno and the amount if necessary.
Flag to identify if the subscription should wait for the first payment in order to continue. False by default.Example: false
Specifies the metadata object.
Links this subscription to the initial payment created with the same agreement ID. Used for tracking, reconciliation, and chargeback handling (MAX 255).The value must exactly match the
subscription_agreement_id sent in payment_method.detail.card.stored_credentials.subscription_agreement_id on the originating payment.Example: sa_6af2dfcd-44c0-4f16-a331-8bed3ed9c9faSpecifies the payments array.
This array is currently always empty in webhook payloads. Subscribe to
payment.* webhooks to track charges.Subscription creation date and time (ISO 8601 MAX 27; MIN 27).Example: 2023-12-16T20:46:54.786342Z
Subscription last updated date and time (ISO 8601 MAX 27; MIN 27).Example: 2023-12-16T21:00:54.786342Z
Specifies the additional_data object. This object is not mandatory. However, if you send this information, the payment experience will be enhanced for your user.