Payments
Cancel a payment
End a payment before the sender enters the transaction number. Its credits come back to your balance. The sender is told.
POST https://el-b.com/api/v1/payments/{code}/cancel
Authorization
Path parameters
-
code string required
The payment's code.
Responses
| Status | Meaning |
200 | Success. The body is shown alongside. |
404 | No payment with this code among the payments you receive. |
409 | The payment already ended, or the transaction number is in: it can no longer be cancelled. |
401 | Missing, unknown or paused API key. |
403 | The account is suspended, or no longer verified by an official document. |
429 | More than 60 requests in a minute. See Rate limits. |