API Reference
Account Subscriptions

Complete an asynchronous subscription purchase

1min
PATCH

This endpoint will provide the ability to complete a payment that has been made using an asynchronous payment method. An asynchronous payment method is classified as PayPal, P24, Carrier Billing, etc.

Authentication
Authorization
Path Parameters
accountReference
*
Header Parameters
X-TokenId
X-SessionId
X-Version
*
Origin
Body Parameters
request
*
Description
Complete purchase class
asynchronousProcessingParameters
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.
500
Internal Server Error.
Curl
JS
Ruby
Python
Responses
200
400
403
500