Payment Quote
Generate Payment Quote
This endpoint is used to get a payment quote including FX and other Fees.
POST https://sandbox-api.veem.com/veem/v1.2/exchangerates/quote
Headers
- X-request-id: For example 48855846-628d-4177-b071-80332a116f0a
- Authorization: Bearer bearerToken
bearerToken is the Authorization token that belongs to the account created
i.e. Bearer d49e7fd4-2600-4dd4-a572-118668febbe7
see this section to generate your bearerToken
Request payload
{
"payerAccountId":11560,
"fromAmount":100,
"fromCurrency":"USD",
"fromCountry":"US",
"toCountry":"DE",
"toCurrency":"EUR",
"bruid":"25ef26da-0c69-3ebd-ae31-18aee238a692"
}
Response payload
{
"payerAmount": {
"number": 100,
"currency": "USD"
},
"payeeAmount": {
"number": 85.43,
"currency": "EUR"
},
"usdAmount": {
"number": 100,
"currency": "USD"
},
"veemRate": 0.854302,
"bruid": "25ef26da-0c69-3ebd-ae31-18aee238a692"
}
Generate Bulk Payment Quote
This endpoint is used to get bulk payment quotes including FX and other Fees.
Headers
- X-request-id: For example 48855846-628d-4177-b071-80332a116f0a
- Authorization: Bearer bearerToken
bearerToken is the Authorization token that belongs to the account created
i.e. Bearer d49e7fd4-2600-4dd4-a572-118668febbe7
see this section to generate your bearerToken
Request payload
{
"requests": [
{
"payerAccountId": 11560,
"fromAmount": 100,
"fromCurrency": "USD",
"fromCountry": "US",
"toCountry": "DE",
"toCurrency": "EUR"
},
{
"payerAccountId": 11560,
"fromAmount": 100,
"fromCurrency": "USD",
"fromCountry": "US",
"toCountry": "CA",
"toCurrency": "CAD"
}
]
}
Response payload
[
{
"payerAmount": {
"number": 100,
"currency": "USD"
},
"payeeAmount": {
"number": 129.10,
"currency": "CAD"
},
"usdAmount": {
"number": 100,
"currency": "USD"
},
"veemRate": 1.290984
},
{
"payerAmount": {
"number": 100,
"currency": "USD"
},
"payeeAmount": {
"number": 88.75,
"currency": "EUR"
},
"usdAmount": {
"number": 100,
"currency": "USD"
},
"veemRate": 0.887471
}
]
Updated 8 months ago