Skip to main content
GET
/
api
/
v1
/
transaction
Get transaction list
curl --request GET \
  --url https://staging.afx-server.com/api/v1/transaction \
  --header 'x-api-key: <api-key>'
{
  "data": [
    {
      "transactionId": "<string>",
      "customerId": "<string>",
      "destinationId": "<string>",
      "sourceAmount": "<string>",
      "sourceCurrency": "<string>",
      "destinationAmount": "<string>",
      "destinationCurrency": "<string>",
      "type": "WITHDRAWAL",
      "status": "<string>",
      "meta": {},
      "createdAt": "<string>",
      "updatedAt": "<string>"
    }
  ],
  "page": 123,
  "total": 123
}
Retrieve a paginated list of all transactions associated with your business.

Authorizations

x-api-key
string
header
required

Static business API key from the dashboard

Query Parameters

page
integer
default:0

Page number for pagination (starting from 1)

Required range: x >= 0
limit
integer
default:10

Number of items per page

Required range: 1 <= x <= 50

Response

List of transactions retrieved successfully.

data
object[]
page
integer

Current page number

total
integer

Total number of pages