POST
/
quotes
curl --request POST \
  --url https://extensions-sandbox.lumx.io/payments/quotes \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "payin",
  "blockchainAccountId": "ba_000000000000",
  "bankAccountId": "ba_000000000000",
  "paymentMethod": "pix",
  "amount": 1000,
  "token": "USDX"
}'
{
  "id": "qu_000000000000",
  "type": "payin",
  "expiresAt": 1712958191,
  "commercialQuotation": 595,
  "providerQuotation": 585,
  "providerContract": {
    "address": "0x0000000000000000000000000000000000000000",
    "amount": "1000000000000000000"
  },
  "receiverAmount": 5240,
  "senderAmount": 1010,
  "flatFee": 50
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

201 - application/json

The response is of type object.