Skip to content
Last updated

Create a custom receipt

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.

Get a transfer by ID

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.

Get payout information

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.

Creating the custom transfer receipt

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.