Skip to main content
POST
Create Unauthenticated Quotes

Body

application/json

Create a unauthenticated Quote

source_currency
string<string>
required

A valid currency

Required string length: 1 - 10
Example:

"BTC"

target_currency
string<string>
required

A valid currency

Required string length: 1 - 10
Example:

"BTC"

quote_currency
string<string>

This optional field specifies the currency to price the quote in, which is converted from the source amount

Required string length: 1 - 10
Example:

"NGN"

quote_amount
string

The amount in the pricing currency. Required when quote_currency is provided

Example:

"100"

source_amount
string

Source Amount. Either source_amount or target_amount must be set.

Example:

"100"

target_amount
string

Target Amount. Either source_amount or target_amount must be set.

Example:

"100"

pay_in
object
pay_out
object

Response

Quote Response

General response Values

status
enum<string>
required
Available options:
success,
error
Example:

"success"

message
string
required
Example:

"message for success"

data
object
required