Quotes

Retrieve a quote

Changed on

Re-reads the rate, the itemized fees and the expiry. Useful if you lost the create response before executing.

get/v1/quotes/{quoteId}

Request

  • Base URL
    https://api.sandbox.alfredpay.io
  • URL
    https://api.sandbox.alfredpay.io/v1/quotes/{quoteId}
  • Auth
    • HTTP bearer
    • or API key in header api-key and API key in header api-secret

Response

OK

idstring
customerIdstring
fromCurrency'USD' | 'HKD' | 'CNY' | 'MXN' | 'DOP' | 'COP' | 'BRL' | 'ARS' | 'CLP' | 'PEN' | 'BOB' | 'PYG' | 'USDC' | 'USDT'

Fourteen members, reconciled to the countries a customer can be onboarded in. USDC and USDT are stablecoins and require chain.

toCurrency'USD' | 'HKD' | 'CNY' | 'MXN' | 'DOP' | 'COP' | 'BRL' | 'ARS' | 'CLP' | 'PEN' | 'BOB' | 'PYG' | 'USDC' | 'USDT'

Fourteen members, reconciled to the countries a customer can be onboarded in. USDC and USDT are stablecoins and require chain.

fromAmountstring
toAmountstring
chainstring nullable
railstring nullable
ratestring
rateLockedAtstring date-time
expiresAtstring date-time

Typically ~2 minutes. Execute before this or re-quote.

status'active' | 'expired' | 'consumed'

Changes