Get Customer

Retrieve a customer by ID, email, or reference code.

Retrieves a customer's details by their ID, email address, or IvoryPay reference code.

Endpoint

GET /v1/customers/:prop

Authentication

Header
Value

x-api-key

Your API key

Path parameters

Parameter
Type
Description

prop

string

Customer UUID, email address, or refCode

Example requests

# By UUID
curl -X GET https://ramp-api.ivorypay.io/api/v1/customers/c3d4e5f6-a7b8-9012-cdef-a12345678901 \
  -H "x-api-key: your_api_key"

# By email
curl -X GET https://ramp-api.ivorypay.io/api/v1/customers/amina@example.com \
  -H "x-api-key: your_api_key"

# By refCode
curl -X GET https://ramp-api.ivorypay.io/api/v1/customers/abc123def4 \
  -H "x-api-key: your_api_key"

Example response

Error cases

Error code
Description

ONOFFRAMP0053

Customer not found

Last updated