πŸ” Get All Transactions

β€˜Retrieve a list of all transactions processed through Swervpay using the get all transaction endpoint which includes details such as transaction amount, status, and associated customer. Query Parameters
page
string
default:1
required
The page to return.
limit
string
default:10
required
The maximum number of results to return.
Response Example Returns an array of transaction objects, each containing details about individual transactions processed through the platform.
Response
[
  {
    "account_name": "Jane Doe",
    "account_number": "1234567890",
    "amount": 5000,
    "bank_code": "string",
    "bank_name": "Bank name",
    "category": "transfer",
    "charges": 50,
    "created_at": "2024-01-01T12:00:00Z",
    "detail": "Payment for services",
    "fiat_rate": 1.0,
    "id": "trans_789",
    "reference": "ref_101112",
    "report": false,
    "report_message": "",
    "session_id": "session_213",
    "status": "completed",
    "type": "debit",
    "updated_at": "2024-01-02T12:00:00Z",
  }
]

πŸ” Get Transactions

Retrieve details of a specific transaction using its unique ID with the get transaction endpoint. Path Parameters
id
string
required
The unique identifier of the transaction to retrieve.
Response Example Retunrs a transaction object containing details about the transaction
Response
  {
    "account_name": "Jane Doe",
    "account_number": "1234567890",
    "amount": 5000,
    "bank_code": "string",
    "bank_name": "Bank name",
    "category": "transfer",
    "charges": 50,
    "created_at": "2024-01-01T12:00:00Z",
    "customer_id": "cust_456",
    "detail": "Payment for services",
    "fiat_rate": 1.0,
    "id": "trans_789",
    "reference": "ref_101112",
    "report": false,
    "report_message": "",
    "session_id": "session_213",
    "status": "completed",
    "type": "debit",
    "updated_at": "2024-01-02T12:00:00Z",
  }