POST
/
api
/
v1
/
accounts
/
profile
Get customer profile by search query.
curl --request POST \
  --url https://demoapi.saasphereltd.com/api/v1/accounts/profile \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "search_query": "CUST001"
}
'
{
  "status": "00",
  "message": "Profile updated successfully",
  "data": {}
}

Authorizations

Authorization
string
header
required

Paste only the token (no "Bearer " prefix).

Body

application/json
search_query
string
required

The customer ID, email, phone, or BVN to search.

Example:

"CUST001"

Response

200 - application/json
status
string
Example:

"00"

message
string
Example:

"Profile updated successfully"

data
object