As you submit information about the payment request, Tesser will update the plan for the payment.
Cost information
Once you supply information about the from_currency, to_currency, amount (one of from_amount or to_amount), and, if a stablecoin payout, the from_network and to_network, Tesser will respond with a quote for costs associated with the payment. A cost quote includes the following elements:
- Exchange rate: The quote locks in an exchange rate between the
from_currencyandto_currency. For stablecoin payouts, when the source currency of the originator and destination currency of the beneficiary are both stablecoins, the exchange rate will always be 1:1.- *Note: Exchange rates are implicit based on the
from_amountandto_amountprovided in the response to the payment creation request.
- *Note: Exchange rates are implicit based on the
- Requested source or destination amount: You may request a quote based on the source (from) amount to be sent or the destination (to) amount to be received. For instance, if an originator wants to guarantee a certain amount of MXN to deliver to a beneficiary, you can request a quote for the necessary source amount of a stablecoin given the destination amount and currency. Alternatively, if an originator has a defined amount of USDC to send, the quote will provide information about how much MXN will be delivered to the beneficiary.
- Other fees: Tesser will supply details on the network or provider fees that can be known prior to payment execution. *Note that blockchain network (gas) fees are only determined at the time of payment execution. After payment execution, gas fee info will be updated on the payment record.
- Fee information is stored as an array in the
feesobject.-,fees,object%5B%5D,-List%20of%20fees) for each step for the payment. Each fee will include information on thefee_amount,fee_currency,fee_type, and optionallyfee_metadata.
- Fee information is stored as an array in the
Payment expiration
Payments are valid for a certain amount of time. The length may vary by currency(ies), from/to country, and amount to be paid out. When the expiration time elapses, a new payment must be created in order for the payment to be processed. The time when a payment expires is indicated by expires_at.
All payments will have an expiration length, even stablecoin payments. This is because risk and compliance checks must be re-initiated after a certain amount of time has passed if the payment has not been executed.
Routing
Once you supply information about the originator_account_id, source_account_id, and beneficiary_account_id, Tesser will respond with the route plan to execute the payment.
- Transfer steps: The plan will indicate the route the payment will take to deliver funds to the beneficiary.
- Stablecoin payouts will always include at least one step of type
transfer, and potentially more if token or network swaps are required. - Fiat payouts will always include at least two steps (on-chain
transferto an off-ramp and last-miletransferusing a local payment network).
- Stablecoin payouts will always include at least one step of type