GET
/
customers
/
{customer_id}
curl --request GET \
  --url https://api.live.paisr.tech/{version}/customers/{customer_id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "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.

Path Parameters

customer_id
string
required

The Customer ID.

Response

200
application/json
Successfully retrieved customer details.
success
boolean
Example:

true

data
object