Skip to main content
GET
Get customer by ID

Overview

Retrieve detailed information about a specific customer using their unique customer ID.

Request

string
required
Your API key for authentication
string
required
FossaPay customer UUID. The customer must belong to the authenticated merchant.

Response

string
Response status: success or error
number
HTTP status code (200 for successful retrieval)
string
Human-readable response message
object
Customer object

Response Example

Example

Errors

Customer access is merchant-scoped. Persist the returned customer UUID with your own user identifier.

Authorizations

x-api-key
string
header
required

Path Parameters

customerId
string
required

Response

Customer found

status
enum<string>
required
Available options:
success,
error
statusCode
integer
required
message
string
required
data
object
required