Skip to content

Subscription

API path: /subscription.

Payment subscriptions

/subscription/avangate/

Working with 2Checkout (formerly Avangate) subscriptions (renewals).

cancel

Unsubscribe from auto-renewal by reference.

required subuser rights: payment_create

parameters

  • reference - string. internal 2Checkout (formerly Avangate) subscription code. Get it from list call.

response

{
    "success": true
}

errors

  • 215 – External service error

list

List active 2Checkout formerly Avangate subscriptions (renewals).

required subuser rights: payment_create

parameters

no parameters

response

{
    "success": true,
    "list": [
        {
            "reference": "5EAD4B0B2F" // pass it to /subscription/avangate/cancel
            "code": "4679109" // 2Checkout (formerly Avangate) product code
            "quantity": 123 // count
            "expiration_date": "2016-03-10 13:32:11" // next renew date/time
        },
        ...
    ]
}

errors

  • 215 – External service error

Last update: August 21, 2020