Requesting a Crypto Quote

Endpoint to obtain the payment amount in crypto for the Payments Product.

Get Asset List

GET https://live.betaapp.com/asset

Query Parameters

Name
Type
Description

type

String

"fiat" or "crypto"

Headers

Name
Type
Description

accept*

String

application/json

{
  "assets": [
    {
      "active": true,
      "id": "string",
      "large_image_url": "string",
      "medium_image_url": "string",
      "name": "string",
      "networks": [
        {
          "id": "string",
          "name": "string"
        }
      ],
      "small_image_url": "string",
      "symbol": "string",
      "type": "string"
    }
  ],
  "message": "string"
}

Request Example:

Response Example:

Get Available Networks for an Asset

GET https://live.betaapp.com/v1/network/asset/

Query Parameters

Name
Type
Description

asset*

String

Check Crypto coverage for more details.

Headers

Name
Type
Description

accept*

String

application/json

Request Example:

Response Example:

Get the quote for a specific asset

POST https://live.betaapp.com/v1/quote

The quote is updated every 20 seconds in our back-end.

Headers

Name
Type
Description

Authorization*

String

Bearer {access_token}

accept*

String

application/json

Content-Type*

String

application/json

Request Body

Name
Type
Description

network*

String

Network based on the crypto asset

source_asset*

String

Asset to be deposited

target_asset*

String

Asset for Settlement

target_amount

Number

Amount for Target Asset

product_id

String

"payments"

source_amount

Number

Amount for Source Asset

Request Example:

circle-exclamation

Response Example:

circle-info

The source_amount_estimate is the parameter that returns how much Crypto the payer should deposit.

Here is how the Quote should be displayed on the front end:

Example of how the Quote being displayed in the front end

Last updated