Create subscription
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Headers
Request
Format: YYYY-MM-DD
Subscription’s start date.
Object that contains information about the cost of each payment.
Note: Send this object only if the value for type is automatic.
Format: YYYY-MM-DD
Subscription’s end date.
Note: If you provide values for both length and endDate,
our gateway uses the value for endDate to determine when the subscription should end.
Total number of billing cycles. To indicate that the subscription should run indefinitely, send a value of 0.
This value replaces the length inherited from the payment plan.
Note: If you provide values for both length and endDate,
our gateway uses the value for endDate to determine when the subscription should end.
Response headers
Response
Format: YYYY-MM-DD
Subscription’s start date.
How the merchant takes the payment from the customer’s account.
manual– The merchant manually collects payments from the customer.automatic– The terminal automatically collects payments from the customer.
Format: YYYY-MM-DD
Subscription’s end date.
Note: If you provide values for both length and endDate,
our gateway uses the value for endDate to determine when the subscription should end.
Total number of billing cycles. To indicate that the subscription should run indefinitely, send a value of 0. This value replaces the length inherited from the payment plan.
Note: If you provide values for both length and endDate, our gateway uses the value for endDate to determine when the subscription should end.