POST
/
api
/
v1
/
csp
/
customer
curl --request POST \
--url https://sandbox.paylias.xyz/gateway/api/v1/csp/customer \
--header 'Content-Type: application/json' \
--header 'X-PAYLIAS-API-KEY: <api-key>' \
--header 'idempotency-key: <idempotency-key>' \
--header 'x-org-id: <x-org-id>' \
--header 'x-partner-id: <x-partner-id>' \
--data '{
"type": "Individual",
"first_name": "Sean",
"last_name": "Combs",
"middle_name": "",
"email": "seancombs@gmail.com",
"payment_address": "sean@safepay",
"status": "ENABLED"
}'
{
  "data": {
    "created_at": {
      "seconds": 1743092228
    },
    "first_name": "Ziyad",
    "last_name": "Parekh",
    "nick_name": "ziyad",
    "partner_id": "part_ct23b6420or249k5boag",
    "payment_address": "ziyadparekh@safepay-platinum",
    "status": 2,
    "token": "cust_cvink1420or763mhjesg",
    "updated_at": {
      "seconds": 1743092228
    }
  },
  "ok": true
}

Authorizations

X-PAYLIAS-API-KEY
string
header
required

Headers

x-org-id
string
default:""
required

The Organization ID header used for authorization

x-partner-id
string
default:""
required

The Partner ID header used for authorization

idempotency-key
string
default:""
required

The Idempotency Key - usually a UUID

Body

application/json

Request to create a new customer

The body is of type object.

Response

200
application/json

Response containing Customer information

Standard response structure for successful operations