Retry Subscription

Use this endpoint to manually retry the most recent failed payment of a subscription. This is useful when a customer updates their payment method or resolves a payment issue (e.g., insufficient funds, expired card) mid-billing cycle, since subscription updates only take effect starting from the next billing cycle. Calling this endpoint forces a new charge attempt for the current cycle using the latest subscription configuration.

  • Only the most recent payment of the subscription can be retried.
  • Multiple manual retries can be executed only if the previous retry attempt resulted in a DECLINED status.
  • Manually triggering a retry stops the smart retry scheme for the corresponding payment. The following payments of the subscription will follow the smart retry scheme if enabled in the creation.
  • After the successful retry attempt, the system continues with the next scheduled subscription charge.
  • If neither condition is met, an INVALID_REQUEST error is returned.
POST/subscriptions/{subscription_id}/retry

Header Parameters

X-Account-Codestring

The account_id found in your WHITELABEL Dashboard (UUID).

Path Parameters

subscription_idstringrequired

The unique identifier of the subscription, see create subscription (UUID).

Response

200

idstring
namestring
account_idstring
countrystring
descriptionstring
merchant_referencestring
statusstring
amountobject
Show amount properties
currencystring
valuenumber
frequencyobject
Show frequency properties
typestring
valueinteger
billing_cyclesobject
Show billing_cycles properties
totalinteger
currentinteger
next_atstring
customer_payerobject
Show customer_payer properties
idstring
payment_methodobject
Show payment_method properties
typestring
vaulted_tokenstring
availabilityobject
Show availability properties
start_atstring
finish_atany
retriesobject
Show retries properties
retry_on_declineboolean
amountinteger
metadataany
additional_dataany
trial_periodobject
Show trial_period properties
billing_cyclesinteger
amountobject
Show amount properties
valuenumber
currencystring
initial_payment_validationboolean
created_atstring
updated_atstring

400

Request
curl -X POST "https://api-sandbox.whitelabel.com/v1/subscriptions/<subscription_id>/retry" \
  -H "X-Account-Code: <X-Account-Code>" \
  -H "public-api-key: <public-api-key>" \
  -H "private-secret-key: <private-secret-key>"
Response
{
  "id": "0054840f-bcd5-4d8e-b86c-c18ede81c556",
  "name": "Test Subscription",
  "account_id": "f7c5fe77-721b-49c2-84d3-957748df3c2c",
  "country": "CL",
  "description": "Subscription Test",
  "merchant_reference": "subscription-ref-merchant-AA01",
  "status": "ACTIVE",
  "amount": {
    "currency": "CLP",
    "value": 15000
  },
  "frequency": {
    "type": "MONTH",
    "value": 1
  },
  "billing_cycles": {
    "total": 12,
    "current": 2,
    "next_at": "2025-05-29T11:13:31.786421Z"
  },
  "customer_payer": {
    "id": "1c6d1a88-d8d5-4c09-b19c-852530d89f05"
  },
  "payment_method": {
    "type": "CARD",
    "vaulted_token": "743880c1-1bdb-4572-99a8-c4e5ce184895"
  },
  "availability": {
    "start_at": "2025-04-29T11:13:31.786421Z",
    "finish_at": null
  },
  "retries": {
    "retry_on_decline": false,
    "amount": 6
  },
  "metadata": null,
  "additional_data": null,
  "trial_period": {
    "billing_cycles": 1,
    "amount": {
      "value": 0,
      "currency": ""
    }
  },
  "initial_payment_validation": false,
  "created_at": "2025-04-29T11:13:31.786421Z",
  "updated_at": "2025-04-29T11:13:31.942325Z"
}