Main Endpoints

Get payment status

This endpoint allows you to retrieve payment status
GET/api/1/eurowallet/payments/status

Request

clientPaymentId
integer required
The payment identifier generated by Nexpay
Alternatively, you can use externalPaymentId
externalPaymentId
string required
The custom internal identifier shared between you and your end-customer
Alternatively, you can use clientPaymentId

Response

paymentId
integer required
The payment identifier generated by Nexpay (identical to clientPaymentId)
status
string required
Payment status
Possible values: PENDING, COMPLETED, REJECTED
rejectReason
string optional
Payment rejection reason (returned if the payment status is REJECTED)
executionTime
string optional
Payment scheduled execution time (returned if payment has a scheduled execution)
Format: yyyy-MM-ddThh:mm:ss

Error codes

CodeMessage
20000paymentId or externalPaymentId parameters have not been provided
20010Both paymentId and externalPaymentId parameters have been provided

Examples

GET url: /api/1/eurowallet/payments/status
GET data: clientPaymentId=49

or

GET url: /api/1/eurowallet/payments/status
GET data: externalPaymentId=123102a35db34864b2057fa1fb108900

Commentaries

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.

The paymentId and clientPaymentId are identical.