Sending Payments
Create a payment quote
Generate a quote for a payment from one UMA address to another. The quote locks in exchange rates and fees for a set period of time and provides payment instructions that can be used to execute the payment.
Depending on the lockedCurrencySide parameter, either the sending amount or receiving amount will be locked.
The returned quote includes payment instructions with the banking details needed to execute the payment and fulfill the quote. These instructions must be followed precisely, including any reference codes provided.
post/quotes
Request body
Example request
{
"lookupId": "Lookup:019542f5-b3e7-1d02-0000-000000000009",
"sendingCurrencyCode": "USD",
"receivingCurrencyCode": "EUR",
"lockedCurrencyAmount": 1000,
"description": "Invoice #1234 payment",
"senderUserInfo": {
"FULL_NAME": "Jane Receiver",
"NATIONALITY": "FR"
}
}Response
Quote created successfully. The response includes payment instructions that the client can use to execute the payment through their banking provider.
Example response
{
"quoteId": "Quote:019542f5-b3e7-1d02-0000-000000000006",
"sendingCurrency": {
"code": "USD",
"name": "United States Dollar",
"symbol": "$",
"decimals": 2
},
"receivingCurrency": {
"code": "USD",
"name": "United States Dollar",
"symbol": "$",
"decimals": 2
},
"totalSendingAmount": 123010,
"totalReceivingAmount": 1000,
"expiresAt": "2023-09-01T14:30:00Z",
"feesIncluded": 10,
"counterpartyInformation": {
"FULL_NAME": "Jane Receiver",
"BIRTH_DATE": "1990-01-01",
"NATIONALITY": "FR"
},
"paymentInstructions": {
"reference": "UMA-Q12345-REF",
"instructionsNotes": "Please ensure the reference code is included in the payment memo/description field",
"bankAccountInfo": {
"clabeNumber": "123456789012345678",
"bankName": "BBVA Mexico",
"accountHolderName": "John Doe"
}
},
"status": "PENDING",
"transactionId": "Transaction:019542f5-b3e7-1d02-0000-000000000005",
"originalQuoteId": "Quote:019542f5-b3e7-1d02-0000-000000000001",
"rateDetails": {
"counterpartyMultiplier": 1.08,
"counterpartyFixedFee": 10,
"umaaasMultiplier": 0.925,
"umaaasFixedFee": 10,
"umaaasVariableFeeRate": 0.003,
"umaaasVariableFeeAmount": 30
}
}