For the complete documentation index, see llms.txt. This page is also available as Markdown.

Listing invoice currency pairs

GET /api/public/v1/invoices/currency_pairs

Returns all available invoice currency pairs. Use this endpoint to discover which currencies (billedCurrency) can be used to denominate an invoice and which cryptocurrencies (chargedCurrency) the customer can pay with, along with the networks available for each.

To construct a Create Invoice request from the response:

  1. Choose a pair — billedCurrency gives you the billedCurrency parameter, chargedCurrency gives you the chargedCurrency parameter.

  2. Find the chargedCurrency entry in included and follow its networks references.

  3. Find the matching network objects in included — the code is the network value to use.

Headers

Name
Value

Content-Type

application/vnd.api+json

Authorization

Bearer <api_key>

Response Body

Name
Type
Description

data[].id

string

Currency pair ID.

data[].type

string

Always invoiceCurrencyPairs.

data[].attributes.direction

string

Always sell — the platform sells the chargedCurrency received from the customer and settles the invoice in billedCurrency.

data[].attributes.enabled

boolean

Whether this pair is currently available for invoices.

data[].relationships.billedCurrency.data.id

string

Currency code of the invoice denomination. Use as the billedCurrency parameter in Create Invoice.

data[].relationships.chargedCurrency.data.id

string

Currency code of the cryptocurrency the customer pays with. Use as the chargedCurrency parameter in Create Invoice.

included[].type(currencies).attributes.code

string

Currency code.

included[].type(currencies).attributes.crypto

boolean

true for cryptocurrencies, false for fiat.

included[].type(currencies).attributes.symbol

string

Display symbol for the currency.

included[].type(currencies).attributes.subunitToUnit

number

Number of smallest units in one whole unit (e.g. 100000000 for BTC, 100 for EUR).

included[].type(currencies).relationships.networks

array

Network references for this currency. Resolve against network objects in included to get the network codes.

included[].type(network).attributes.code

string

Network code. Use as the network parameter in Create Invoice.

included[].type(network).attributes.name

string

Human-readable network name.

included[].type(network).attributes.currencyCode

string

Currency code this network belongs to.

Response

Last updated