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-paymentPath Parameters
| Field | Data Type | Required | Description |
|---|---|---|---|
| id | string | Yes | Subscription ID or code. |
Request Body
| Field | Data Type | Required | Description |
|---|---|---|---|
| force | boolean | No | Retry even if the normal retry schedule would not yet run. |
| redirectUrl | string | No | Redirect 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"
}
}Updated about 7 hours ago
