Scheduled Payments
Cancel scheduled payment
This endpoint allows you to cancel previously scheduled payments
POST
/api/2/eurowallet/payments/cancel-scheduledRequest
clientPaymentId
integer required
The payment identifier generated by Nexpay
Alternatively, you can use
externalPaymentIdexternalPaymentId
string required
The custom internal identifier shared between you and your end-customer
Alternatively, you can use
clientPaymentIdResponse
200 OKThis response body is emty
Error codes
| Code | Message |
|---|---|
20000 | Neither paymentId, nor externalPaymentId parameters were provided |
20010 | Both paymentId and externalPaymentId parameters were provided |
Examples
POST url: /api/2/eurowallet/payments/cancel-scheduled
POST data: clientPaymentId=49
or
POST url: /api/2/eurowallet/payments/cancel-scheduled
POST data: externalPaymentId=123102a35db34864b2057fa1fb108900
200 OK
Сommentaries
Use of identifiers
The clientPaymentId and externalPaymentId parameters are interchangeable. If you use one, you do not need to use the other, and vice versa.