/v2/quote

Payment quote creation method

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string

Fiat currency code in ISO alpha-3 format or crypto asset (i.e. BTC)

string

Fiat currency code in ISO alpha-3 format or crypto asset (i.e. BTC)

string

The amount in the currency specified by either the directionChange or requestedCurrency parameters represented the payment amount with precision: 2 decimal places for fiat currencies (e.g., 100.12); and 8 decimal places for cryptocurrencies (e.g., 0.12345678).

string
enum

This field determines the currency in which amount is specified.

A value of from indicates that amount is in the currencyCodeFrom currency. A value of to indicates that amount is in the currencyCodeTo currency.

This parameter is required if requestedCurrency is not provided. It is mutually exclusive with requestedCurrency.

Allowed:
string

This field is used in swap-crypto exchanges and crypto-acquiring transactions where the transaction occurs in a fiat equivalent. This parameter is optional. It specifies the fiat currency in which amount is denominated.

boolean

Specifies how to process the value in the amount field: with or without fees. False, to set the total amount that the user will spend. True, to set the net amount of money (excluding fees) for which the user will get crypto.

string | null

ID of the payment method for which the quote is generated (optional)

string | null

ID of the payout method for which the quote is generated (optional)

string | null

Promo code to be used with transaction

Headers
string

Signature to sign the request. For more information see https://docs.payb.is/reference/signing-requests

string

User ID detected by a public endpoint that uses the current one

string

User IP detected by a public endpoint that uses the current one

string
enum
string
Responses

401

API key is missing

403

Invalid API key or access disabled

404

Payment method for quote not found

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json