GET
/
customers
curl --request GET \
  --url https://api.live.paisr.tech/{version}/customers \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "customers": [
      {
        "id": "cus_123456",
        "name": "Jane Smith",
        "email": "jane@example.com",
        "phone": "+597-8123456",
        "default_currency": "SRD",
        "billing_details": null,
        "shipping_details": null,
        "metadata": null,
        "session": {
          "url": "https://portal.checkout.paisr.tech/ey7bTCm6tur63CR6mzbuq23r",
          "expires_in": "30 minutes"
        },
        "created_at": "2023-11-07T05:31:56Z"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Response

200
application/json
Successfully retrieved the list of customers.
success
boolean
Example:

true

data
object