Skip to main content
GET
/
api
/
transactions
List Transactions
curl --request GET \
  --url http://127.0.0.1:8083/api/transactions \
  --header 'X-API-Key: <api-key>' \
  --header 'X-API-Secret: <api-key>'
[
  {
    "id": "tx_12345678",
    "reference_id": "ref_98765432",
    "type": "deposit",
    "status": "success",
    "sender_amount": 100,
    "receiver_amount": 99.8,
    "exchange_rate": 1.002,
    "created_at": "2023-11-07T05:31:56Z"
  }
]

Authorizations

X-API-Key
string
header
required

Includes an API key in the HTTP headers to authenticate the client.

X-API-Secret
string
header
required

Includes an API secret in the HTTP headers to authenticate the client.

Query Parameters

page_number
integer<int32>
required

Page Number

page_size
integer<int32>
required

Page Size

Response

Operation Successful

id
string

Transaction ID

Example:

"tx_12345678"

reference_id
string

External Reference ID

Example:

"ref_98765432"

type
enum<string>

Transaction type: deposit, transfer, exchange

Available options:
deposit,
transfer,
exchange
Example:

"deposit"

status
string

Transaction status

Example:

"success"

sender_amount
number

Sender transaction amount

Example:

100

receiver_amount
number

Receiver transaction amount

Example:

99.8

exchange_rate
number

Exchange rate for transaction

Example:

1.002

created_at
string<date-time>

Transaction created time