API ReferenceContracts

Get Payment Receipt

GET
/v2/payments/{xePaymentId}/receipt

Downloads a payment's confirmation PDF, which can be shared with the recipient as proof that Xe has sent the transfer. Works for FX and mass payment contracts, and is only available once the payment has been sent.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

xePaymentId*string

The Payment ID generated by Xe, returned as identifier.xePaymentId on a contract's payments.

Match^P[0-9]+$

Query Parameters

accountNumber?string

Client account number

Response Body

application/pdf

application/json

application/json

curl -X GET "https://example.com/v2/payments/P124863/receipt"
"string"
{  "code": 0,  "failureDateTime": "2019-08-24T14:15:22Z",  "longErrorMsg": "string",  "shortErrorMsg": "string",  "traceErrorId": "string",  "typeOfFailure": "MODEL_VALIDATION"}
Empty
{  "code": 0,  "failureDateTime": "2019-08-24T14:15:22Z",  "longErrorMsg": "string",  "shortErrorMsg": "string",  "traceErrorId": "string",  "typeOfFailure": "MODEL_VALIDATION"}
Empty
Get help