Advance a sandbox payment
POST/v1/sandbox/orgs/{orgId}/payments/{paymentId}/advance
Moves a payment to its next status, or straight to failed or returned, and fires payment.updated.
Before you call it
- NoteProposed. Not on the sandbox API yet.
Parameters
| Parameter | What it does |
|---|---|
orgIdpath, uuidrequired | The organization the call acts on. For platform calls, your platform's id; for customer calls, the customer's organization id. Get them from getMe or the customer list. |
paymentIdpath, uuidrequired | A payment from createPayment or listPayments. |
Request body
| Field | What it does |
|---|---|
toenum | next moves one step: approved -> processing -> completed. One of Default |
Response 200
| Field | What it does |
|---|---|
idstring | No description in the spec yet. |
statusstring | No description in the spec yet. |