Create a price

Price is a numerical amount to pay that is associated with a product. You can create multiple prices for a product. Later you can create an invoice using this price and send it to your customers to get paid.

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

In this parameter, you must specify your preferred base currency (fiat or SATS/BTC) to create a price. A three-lettered ISO-compliant currency name must be used.

string
required

In this parameter you must specify id of the product.

string
required
Defaults to 10

This is the total amount you intend to collect from the customer. Please add a positive value. Values up to 32 digits can be handled by the amount param, which can have a decimal precision up to 16 digits.

Headers
string
enum
Defaults to 2022-04-15

In this parameter, you can specify the version you want. As of now, there are two versions (2022-04-15 and 2022-10-15). Version 2022-10-15 supports both on-chain and lightning payment methods. Whereas the 2022-04-15 version only supports lightning payments.

Allowed:
Response

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

Questions? Contact us