API Reference
Account Subscriptions

Initiate a subscription purchase

1min
POST

This endpoint will provide the ability to initiate the purchase of a subscription. In the event the account is paying using a synchronous payment method (such as credit card) the purchase will complete instantly, if the account selects an synchronous payment (PayPal, P24, etc.) a redirect URL will be provided in the return to the request

Authentication
Authorization
Path Parameters
accountReference
*
Header Parameters
X-TokenId
X-SessionId
X-Version
*
Origin
Body Parameters
addSubscriptionRequest
*
Description
Add subscription direct request object
voucherCode
contractReference
cartReference
paymentMethod
cvv
renewalDay
renewalDayOffset
startDate
pricing
entitlements
customOrderParameters
customSubscriptionParameters
enhancedProcessingData
groupSubscriptionInfo
asynchronousInitiationParameters
shippingAddressReference
invoiceAddressReference
sendEReceipt
sendBackOfficeEmail
customFulfilmentParameters
Responses
200
OK
Description
Add subscription response object
amountCharged
currency
paymentType
subscriptionStatus
renewalDay
renewalDayOffset
startDate
renewalDate
orderReference
contractReference
subscriptionPriceReference
subscriptionReference
resourceReference
asynchronousProcessingParameters
shippingAddressReference
invoiceAddressReference
sessionToken
cartReference
400
Request is invalid.
403
Unable to authenticate using the provided session.
404
Not Found.
409
Conflict.
412
Precondition Failed.
500
Internal Server Error.
Curl
JS
Ruby
Python
Responses
200
400
403
404
409
412
500