OuiPay
API ReferenceCustomers

Retrieve a customer

GET /v1/customers/{id} : fetch a customer by id.

GET /v1/customers/{id}

Headers

HeaderRequiredValue
AuthorizationyesBearer sk_...

Path params

ParamTypeNotes
idstringCustomer ULID

Request

curl https://api.ouipay.com/v1/customers/01M2S17... \
  -H "Authorization: Bearer sk_test_..."

Response 200

Returns the customer object.

Errors

HTTPerror.codeCause
404NOT_FOUNDNo such customer
403FORBIDDENNot your resource

On this page