Sender Flows
Getting a temporary quote
Clients can get a quote sample to see the exchange rate and fees that the Wise system offers without authenticating in the Wise application. The 1.[EntryPoint] Create Temporary quote v_2.x
process handles this flow.
Process payload
{
"sourceCurrency": "EUR",
"targetAmount": 200,
"targetCurrency": "CHF"
}
Parameter | Type | Description | Required |
---|---|---|---|
sourceAmount | integer | The source amount. The process receives either the sourceAmount or the targetAmount . Never both. | No |
sourceCurrency | string | The three letter currency code of the source amount. | Yes |
targetAmount | integer | The target amount. The process receives either the sourceAmount or the targetAmount . Never both. | No |
targetCurrency | string | The three letter currency code of the source amount. | Yes |
Please Note:
The configuredTemporaryQuote configuration option filters the temporary quotes that the process responds with and the process provides an Authorization
header, which is used to look up the existing agreement between the customer and Wise and automatically apply fees where necessary. If no fees will be charged, the fee amount will still be indicated in the quote with a value of 0
.
Getting a quote creation with an authenticated user
The quote resource defines the basic information required for a Wise transfer - the currencies to send between, the amount to send, and the profile who is sending the money. The profileId
must be included when creating a quote with an authenticated user. Upon creating a quote the current mid-market exchange rate is locked and will be used for the transfer that is created from the quote. The rate will be locked for 30 minutes to give clients time to complete the transfer.
The 3.1. [EntryPoint] Quotes after user creation/login
process handles this flow.
Process payload
{
"profileId": "16066359",
"sourceAmount": 200,
"sourceCurrency": "EUR",
"targetCurrency": "CHF",
"token": "e0581691-4e43-474f-88c9-f2583027608b"
}
Parameter | Type | Description | Required |
---|---|---|---|
profileId | string | The client’s profile ID, which is retrieved in the user creation and login process. | Yes |
sourceAmount | integer | The source amount. The process receives either the sourceAmount or the targetAmount . Never both. | No |
sourceCurrency | string | The three letter currency code of the source amount. | Yes |
targetAmount | integer | The target amount. The process receives either the sourceAmount or the targetAmount . Never both. | No |
targetCurrency | string | The three letter currency code of the source amount. | Yes |
token | string | The client’s token, which is retrieved in the user creation and login process. | Yes |
Get quote info by ID
The 3.1.2 [Entry Point] Get quote info by id -v2
process handles this flow.
Process payload
{
"quoteId":"cc14e18d-1bf7-4f55-a350-6271bdefc485",
"token": "e0581691-4e43-474f-88c9-f2583027608b"
}
Parameter | Type | Description | Required |
---|---|---|---|
quoteId | string | The quote ID, which is retrieved in the quote creation process. | Yes |
token | string | The client’s token, which is retrieved in the user creation and login process. | Yes |