Read all transactions
This endpoint reads all transactions made with your API key.
curl --request GET \
--url https://api-sandbox.lumx.io/transactions \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "on-ramp",
"state": {
"status": "awaiting_funds",
"transactionHash": "<string>",
"blockExplorerUrl": "<string>",
"payment": {
"rail": "pix",
"brCode": "00020126580014br.gov.bcb.pix0136123e4567-e89b-12d3-a456-4266141740005204000053039865802BR5915Test Merchant6009Sao Paulo62070503***63041234"
}
},
"request": {
"sourceCurrency": "BRL",
"targetCurrency": "USDC",
"amount": "100.99",
"payment": {
"rail": "pix"
}
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}
Authorizations
Bearer authentication header of the form Bearer <API_KEY>
.
Response
An array containing all transactions made by wallets of this project.
The id of the transaction.
The customer performing the operation.
The type of this transaction
on-ramp
The transactions's results.
The status of the transaction.
awaiting_funds
, processing
, success
, failed
The identifier of this transaction on the blockchain.
The URL of the block explorer where the details of this transaction can be read.
An object containing the parameters used for this on-ramp.
The fiat currency to convert from.
BRL
The stablecoin to convert to.
USDC
, USDT
The amount to be converted from fiat to stablecoin.
The timestamp from when the transaction was submitted.
The timestamp from when the transaction was last updated.
curl --request GET \
--url https://api-sandbox.lumx.io/transactions \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "on-ramp",
"state": {
"status": "awaiting_funds",
"transactionHash": "<string>",
"blockExplorerUrl": "<string>",
"payment": {
"rail": "pix",
"brCode": "00020126580014br.gov.bcb.pix0136123e4567-e89b-12d3-a456-4266141740005204000053039865802BR5915Test Merchant6009Sao Paulo62070503***63041234"
}
},
"request": {
"sourceCurrency": "BRL",
"targetCurrency": "USDC",
"amount": "100.99",
"payment": {
"rail": "pix"
}
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}