Register Customer
Registers or upserts a customer sender profile for the authenticated account.
**Authentication:**
- **REQUIRED**: Basic Auth only (`Authorization: Basic base64(client_id:client_secret)`).
**Behavior:**
1. Validates required sender fields (flat JSON at root, not nested under `sender`).
2. Creates (201) or updates (200) the registered customer profile under your account.
**Response:**
- Returns `customer_id`, normalized sender fields, and `created_at` / `updated_at` when available.
`customer_id` returned here is required for `decodeQr`, `getQuotation`, and `executePayout`.
**Field code references:**
- `ic_type` must be one of the supported identification document type codes: `NIC`, `PP`, `WEP`.
- `occupation` must be one of the supported occupation codes: `OCC1` through `OCC11`.
Request
This endpoint expects an object.
name_first
name_last
gender
ic_number
ic_type
ic_country
occupation
country_of_residence
phone
email
nationality
dob
address
ic_expiry_date
Response
Created
customer_id
name_first
name_last
gender
ic_number
ic_type
ic_country
occupation
country_of_residence
phone
email
nationality
dob
address
ic_expiry_date
created_at
updated_at
Errors
400
Bad Request Error

