SUQODocs
User GuideAPI ReferenceSDKs
Customers

Retrieve a customer

Return a single customer belonging to your account.

GET
/customers/{public_id}/
AuthorizationBearer <token>

API key issued to the partner, sent with the Bearer prefix — for example: Authorization: Bearer su_key_9f2c4d1ab3….

Keys minted on the live instance are prefixed su_key_ and keys minted on sandbox su_test_key_. The two instances keep separate key tables and separate hosts, so a sandbox key sent to the live host — or the reverse — answers Invalid API key. rather than falling back to the other environment.

In: header

Path Parameters

public_id*string

Public ID of the customer (cus_…), as returned in the id field of list or retrieve.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/customers/string/"
{  "id": "cus_2a108b4eb",  "buyer_phone": "9810000001",  "buyer_email": "[email protected]",  "full_name": "Ram Bahadur",  "address": "Kathmandu, Nepal",  "created_at": "2026-07-03T10:15:00Z"}