API documentation
Data types
Common data types used in the Suave API endpoints.
Line Item
Line items are used to represent items to the user when they are making a payment.
{
"title": "Bored Ape NFT #1234",
"description": "A super rare NFT",
"image_url": "https://example.com/ape.jpg",
"quantity": 1
}
Order Price
Order prices are used to represent the total price of an order denominated in a specific currency. The following example represents an order price of 1 USDC.
{
"currency": "USDC",
"amount": 1000000000000000000,
"decimals": 18
}