Update the status of a payment request. Any status transition is permitted.
403 with error code external_billing_api.PAID"status": "PAID" triggers the internal payment service in addition to updating the status field:
paid_at is recorded with the current timestamp.external_payment_id is stored if provided (useful as a reference to your payment processor’s transaction ID).PENDING or OVERDUE).
active and any paused campaigns are automatically resumed.external_payment_id is optionalPAID without providing external_payment_id. It is recommended when you have a transaction reference from your payment processor (e.g. txn_abc123, pi_abc123 from Stripe), but the field is not required.
| Status | When to use |
|---|---|
PAID | Client has paid. Triggers subscription recovery if no other cycle requests are outstanding. |
PENDING | Reset to pending (e.g. if you marked paid by mistake). |
FAILED | Payment attempt failed — client should be contacted. |
CANCELED | Charge is void — no payment needed. |
OVERDUE | Mark manually overdue (normally set automatically by the platform’s sweep). |
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Integer ID of the payment request to update.
"10"
New status for the payment request. Required.
PENDING, PAID, FAILED, CANCELED, OVERDUE "PAID"
Optional external transaction reference (e.g. txn_abc123 from your payment processor). Recommended when setting status to PAID.
"txn_abc123"