This guide will walk you through how to create a custom transfer receipt that can be shared with your customers. Generally, this includes the following steps:
- Make a request to GET /v1/transfers/{{transferId}} to fetch the transfer details.
- Make a request to GET /v1/transfers/{{transferID}}/invoices/bankingpartner to fetch the banking partner details.
- Combine the information from both responses to create a custom transfer receipt.
- Production Environmenthttps://api.wise.com/v1/transfers/{transferId}
- Sandbox Environmenthttps://api.wise-sandbox.com/v1/transfers/{transferId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.wise.com/v1/transfers/{transferId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'X-External-Correlation-Id: f47ac10b-58cc-4372-a567-0e02b2c3d479'For a complete reference, see the Get a transfer by ID endpoint.
- Production Environmenthttps://api.wise.com/v2/transfers/{transferId}/invoices/bankingpartner
- Sandbox Environmenthttps://api.wise-sandbox.com/v2/transfers/{transferId}/invoices/bankingpartner
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.wise.com/v2/transfers/{transferId}/invoices/bankingpartner' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'X-External-Correlation-Id: f47ac10b-58cc-4372-a567-0e02b2c3d479'For a complete reference, see the Get payout information endpoint.
Once you have fetched the transfer details and banking partner details, you can combine the information to create a custom transfer receipt. The custom transfer receipt should include the following information:
- Sender details (name and account number)
- Recipient details (name and account number)
- Amount transferred
- Currency
- Status of the transfer
- Date and time of transfer creation
- Processor name
- Delivery mode
- Banking partner reference
- Banking partner name
- MT103
With this information, you can format the transfer receipt in a manner that suits your needs and preferences. You can create a PDF, HTML, or plain text receipt, and share it with your customers via email or other communication channels.