Subscriptions
The subscriptions API allows you to manage your customer's subscriptions as well as subscribe them to plans.
The UUID of the customer that is initiating this payment request. This field is required if customer_email and customerfields are absent.
The email of the customer that is intiating this payment request. This field is required if customer_email and customerfields are absent.
Your unique reference of this payment request.
The slug of the payment channel that Asyncpay should route this payment through.
A URL to redirect the customer to after a successful payment
A URL to redirect the customer to after a cancelled payment
The UUID of the subscription plan.
A boolean flag that tells Asyncpay whether or not to save the payment method the user uses to make this payment.
A booelan flag that tells Asyncpay that you are subscribing the user to a plan in trial mode. In this mode, Asyncpay would charge the lowest possible fee that the payment channel supports for the first billing cycle, after which it would charge the regular subscription fee.
An arbitrary object to store additional data for the payment request
The UUID of the customer that is initiating this payment request. This field is required if customer_email is absent.
The email of the customer that is intiating this payment request. This field is required if customer_uuid is absent.
The UUID of a subscription plan.
A booelan flag that tells Asyncpay that you are subscribing the user to a plan in trial mode. In this mode, Asyncpay would charge the lowest possible fee that the payment channel supports for the first billing cycle, after which it would charge the regular subscription fee.
The UUID of the customer we want to subscribe to a plan
The UUID of the subscription plan.
A booelan flag that tells Asyncpay that you are subscribing the user to a plan in trial mode. In this mode, Asyncpay would charge the lowest possible fee that the payment channel supports for the first billing cycle, after which it would charge the regular subscription fee.
A URL to redirect the customer to after a successful subscription
A URL to redirect the customer to after a failed subscription attempt
The slug of the payment channel that Asyncpay should route this payment through.
The UUID of the subscription plan you want to enable the customer's subscription for
The UUID of the customer
The UUID of the subscription plan you want to terminate the customer from
The UUID of the customer
An optional field describing the reason for this termination
A flag to force Asyncpay to terminate the subscription if it has any payments attached to it
Last updated