GET
/
payments
curl --request GET \
  --url https://api.sandbox.saalal.com/v1/payments \
  --header 'Authorization: Bearer <token>'
{
  "message": "payment list",
  "statusCode": 200,
  "data": [
    {
      "business": "BUSINESS_NAME",
      "customer": {
        "full_name": "John Doe",
        "email": "john@doe.com",
        "phone": "77XXXXXXX"
      },
      "slug": "d282e4a6-1fb6-4827-a6ae-a780263287d7",
      "reference": "d282e4a6-1fb6-4827-a6ae-a780263287d7",
      "kind": "payment",
      "network": "wave-sn",
      "amount": 1500,
      "status": "pending",
      "expired_at": "2024-01-11T00:00:00.000Z",
      "meta": [
        "<any>"
      ]
    }
  ],
  "meta": {
    "current_page": 1,
    "from": 1,
    "last_page": 1,
    "per_page": 20,
    "to": 17,
    "total": 17
  }
}

Authorizations

Authorization
string
headerrequired

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

Headers

Accept
string

Query Parameters

page
integer
per_page
integer

Response

200 - application/json
message
string
statusCode
integer
data
object[]
meta
object