Generate a confirmation letter
Call Create confirmation letter API to generate transfer confirmation letters by providing the following parameters in your request:
format: Specify the format of the confirmation letter -STANDARD(with fee information) orNO_FEE_DISPLAY(without fee information).transaction_id: Provideidof the transfer.
Example request
Shell1curl --request POST \2--url 'https://api-demo.airwallex.com/api/v1/confirmation_letters/create' \3--header 'Content-Type: application/json' \4--header 'Authorization: Bearer <your_bearer_token>' \5--data '{6 "format": "NO_FEE_DISPLAY",7 "transaction_id": "d9af1614-a6a1-4d45-aae7-6858fc6d9ede"8}'
If you are registered as a platform account, you can call this endpoint on behalf of your connected accounts by specifying the open ID in the x-on-behalf-of header.
A successful request will return the confirmation letter in pdf format as file stream, including the following details:
- Transfer details: Amount paid, transfer method, creation date, transfer date, amount received, transfer fee, transfer status, exchange rate (if currency conversion involved), etc.
- Beneficiary details: Recipient's name, bank code, bank name, account number, address, etc.
- Payer details (if applicable): Payer's name, address, etc.
Please find below example files in the two respective formats:
Confirmation letter - STANDARD
Confirmation letter - NO_FEE_DISPLAY
Was this page helpful?