Retry Subscription Payment

Retry payment for a subscription.

-H "x-api-key: your_secret_key"
-H "idempotency-key: unique-request-key"
POST {{host}}/v1/subscriptions/{id}/retry-payment

Path Parameters

FieldData TypeRequiredDescription
idstringYesSubscription ID or code.

Request Body

FieldData TypeRequiredDescription
forcebooleanNoRetry even if the normal retry schedule would not yet run.
redirectUrlstringNoRedirect URL for hosted payment steps.
{
  "force": true,
  "redirectUrl": "https://merchant.example.com/subscriptions/retry"
}
{
  "status": true,
  "message": "Success",
  "code": 201,
  "data": {
    "subscriptionId": "SUB_abc123",
    "status": "PENDING",
    "authorizationUrl": "https://checkout.example.com/pay/abc123"
  }
}