Subscription
Customer's email
customer@2checkout.comCustomer's delivered code
FJD89SRCustomer's reference
FDOIEJFCustomer's external reference
4584358Aggregated data, the only valid value is 'true'
trueChecks status
falseFilter by recurring status
trueArray of product codes
["FJGHRE","GFDFOI"]Array of countries codes
["UK","BG","RO","FR"]Purchase date
2018-09-03Purchase date
2018-09-03Expire date
2018-09-03Expire date
2018-09-03Renew date
2018-09-03Renew date
2018-09-03Notification date
2018-09-03Notification date
2018-09-03Change date
2018-09-03Change date
2018-09-03Start date of Next billing date filter
2018-09-03End date of Next billing date filter
2018-09-03Filter by lifetime subscriptions
falseSubscription types
REGULARRequested page
2Limit number
20application/jsonExample: application/jsonPossible values: Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"List subscriptions
List subscriptions
Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"application/jsonPossible values: Overview
Import test subscription and data from your or a third-party system with payment information assigned, and test advanced renewal and upgrade scenarios in the 2Checkout platform. Contact 2Checkout directly for additional details.
Requirements
Test subscriptions can be imported only for eStore orders. Only dummy credit card data can be assigned to subscriptions. Check here the list of credit cards that can be used for import.
Cardholder name is composed as FirstName + " " + LastName.
Overview
Import test subscription and data from your or a third-party system with payment information assigned, and test advanced renewal and upgrade scenarios in the 2Checkout platform. Contact 2Checkout directly for additional details.
Requirements
Test subscriptions can be imported only for eStore orders. Only dummy credit card data can be assigned to subscriptions. Check here the list of credit cards that can be used for import.
Cardholder name is composed as FirstName + " " + LastName.
Unique code which represents a subscription
D183B94D0Eapplication/jsonExample: application/jsonPossible values: Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"Get subscription
3501E8CADA2018-09-03 16:28:322018-09-03 16:28:322018-09-03 17:28:32truenullExample: 2020-11-09T12:19:31+02:00truetruefalseADE86Imported0918495269123980DUSI46falsefalseEXPIREDfalseGet subscription
Unique, system-generated subscription identifier.
D183B94D0EAuthentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"application/jsonPossible values: OK
OK
Unique, system-generated subscription identifier.
AF168DD240Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"application/jsonPossible values: OK
OK
Unique, system-generated subscription identifier.
D183B94D0EAuthentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"OK
OK
Unique, system-generated subscription identifier.
5A235DDE94application/jsonExample: application/jsonPossible values: Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"OK
Invalid data
Unique, system-generated subscription identifier.
5A235DDE94Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"application/jsonPossible values: OK
Invalid data
Unique, system-generated subscription identifier.
5A235DDE94Unique name you assign as the identifier of an additional information field.
TestField1application/jsonExample: application/jsonPossible values: Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"OK
Invalid data
Unique, system-generated subscription identifier.
5A235DDE94Unique name you assign as the identifier of an additional information field.
TestField1Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"application/jsonOK
Invalid data
Unique, system-generated subscription identifier.
5A235DDE94Unique name you assign as the identifier of an additional information field.
TestField1Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"OK
Invalid data
Unique, system-generated subscription identifier.
5A235DDE94application/jsonExample: application/jsonPossible values: Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"OK
OK
Unique, system-generated subscription identifier.
AF168DD240Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"application/jsonPossible values: OK
trueOK
Unique, system-generated subscription identifier.
13E4ED768Dapplication/jsonExample: application/jsonPossible values: Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"OK
JohnDoedynamicproduct@products.comA54FRAddress example90210LACaliforniausenOK
Unique, system-generated subscription identifier.
13E4ED768DAuthentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"application/jsonPossible values: JohnDoedynamicproduct@products.comA54FRAddress example90210LACaliforniausenOK
trueOK
Unique, system-generated subscription identifier.
13E4ED768Dapplication/jsonExample: application/jsonPossible values: Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"OK
TESTUSDInvalid data
The 2Checkout Subscription Reference of the imported target subscription, to which 2Checkout copies the payment on file data associated with the source
9366C227E7The 2Checkout Subscription Reference of the source subscription whose attached payment on file data 2Checkout copies to the target subscription.
AD45C256Q1Boolean 'true' in case of successful copy
No content
Copy payment failed
No content
Unique, system-generated subscription identifier.
13E4ED768Dapplication/jsonExample: application/jsonPossible values: Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"Return object
41111111visa022023truehttp://secure.avangate.local/order/3ds.php?refno=11656222&CHANGE_CARD=1Invalid data
Operations forbidden
Unique, system-generated subscription identifier.
13E4ED768Dapplication/jsonExample: application/jsonPossible values: Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"OK
Invalid data
Unique, system-generated subscription identifier.
13E4ED768DAuthentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"application/jsonPossible values: OK
Invalid data
Unique, system-generated subscription identifier.
13E4ED768DAuthentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"application/jsonPossible values: OK
Invalid data
Unique, system-generated subscription identifier.
13E4ED768DAuthentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"OK
Invalid data
Unique, system-generated subscription identifier.
48F5AC7011The number of days of the grace period.
7Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"application/jsonPossible values: OK
OK
Unique, system-generated subscription identifier.
13E4ED768DAuthentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"application/jsonPossible values: OK
OK
Unique, system-generated subscription identifier.
13E4ED768DArray of churn reason codes
["CHURN_REASON_NOT_SATISFIED_PRODUCT","CHURN_REASON_ENABLED_BY_MISTAKE","CHURN_REASON_PREFER_MANUAL","CHURN_REASON_ALREADY_RENEWED","CHURN_REASON_DONT_NEED","CHURN_REASON_WANT_PAUSE","CHURN_REASON_COVID","CHURN_REASON_HIGH_PRICE","CHURN_REASON_NOT_SATISFIED_SUPPORT","CHURN_REASON_EXTRAORDINARY","CHURN_REASON_OTHER"]Churn reason free text. Valid only if churn reason codes are CHURN_REASON_EXTRAORDINARY or CHURN_REASON_OTHER
An example reason in freetextAuthentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"OK
OK
Unique, system-generated subscription identifier.
13E4ED768DAuthentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"application/jsonPossible values: OK
OK
Unique, system-generated subscription identifier.
13E4ED768DAuthentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"OK
OK
Unique, system-generated subscription identifier.
13E4ED768DAuthentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"application/jsonPossible values: OK
OK
Unique, system-generated subscription identifier.
13E4ED768DAuthentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"OK
OK
Unique, system-generated subscription identifier.
48F5AC7011The currency ISO code used for the payment - ISO 4217.
usdapplication/jsonExample: application/jsonPossible values: Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"OK
Invalid data
Unique, system-generated subscription identifier.
48F5AC7011The currency ISO code used for the payment - ISO 4217.
usdAuthentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"application/jsonPossible values: OK
Invalid data
Unique, system-generated subscription identifier belonging to a trial for which 2Checkout collected payment information (card).
C941E05AF3The currency associated to the renewal price - ISO 4217 code.
usdThe number of days the 2Checkout system extends the lifetime of the subscription.
30true - Subscription start date is the moment of the conversion. false - Subscription start date is the trial/subscription expiration date.
falsetrue - The price that 2Checkout charges the customer for the renewal. This is the Netprice. Ignored for trial conversions.
45.99Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"application/jsonPossible values: OK
OK
Unique, system-generated subscription identifier.
13E4ED768Dapplication/jsonExample: application/jsonPossible values: Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"OK
Invalid data
Unique, system-generated subscription identifier.
13E4ED768DResume date
2020-02-30 18:00:00Pause reason
vacation leaveAuthentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"application/jsonPossible values: OK
Invalid data
Unique, system-generated subscription identifier.
13E4ED768DAuthentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"OK
Invalid data
Unique code which represents a subscription
No content
No content
Immediate usage billing client error
Immediate usage billing server error
No content
Unique, system-generated subscription identifier.
13E4ED768Dapplication/jsonExample: application/jsonPossible values: Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"OK
OK
Unique, system-generated subscription identifier.
13E4ED768DAuthentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"application/jsonPossible values: OK
Upgrade validation error
Unique, system-generated subscription identifier.
13E4ED768DUnique, system-generated product identifier.
76G4FE769LCurrency code.
EURPrice options delimited by comma.
abc,defQuantity.
4Decides if the price should be prorated.
falseapplication/jsonExample: application/jsonPossible values: Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"OK
OK
Unique, system-generated subscription identifier.
13E4ED768Dapplication/jsonExample: application/jsonPossible values: Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"The product code to update to
AIJT2PY5IGSemicolon-separated list of pricing options
adb_checkbox_1;adb_radio_2Optional quantity for the product
2Product update scheduled successfully
Invalid data
Internal server error
Unique, system-generated subscription identifier.
13E4ED768Dapplication/jsonExample: application/jsonPossible values: Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"Scheduled product update removed successfully
Invalid data
Internal server error
Last updated
Was this helpful?