Skip to main content
POST

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

payment_address
string
required

Payment address of the customer

Example:

"john@safepay"

type
enum<string>
required

Type of the customer either Individual or Business

Available options:
Individual,
Business
Example:

"Individual"

first_name
string
required

First name of the customer

Example:

"John"

last_name
string
required

Last name of the customer

Example:

"Doe"

The official registered name of the business as documented with government authorities.

Example:

"Safepay, Inc."

business_website
string
required

The business's primary website/web presence.

Example:

"https://getsafepay.pk"

business_trade_name
string
required

The trading name or DBA (Doing Business As) name under which the business operates publicly.

Example:

"Safepay"

business_industry
string
required

The industry in which this business operates.

Example:

12345

status
enum<string>

Status of the customer

Available options:
ENABLED,
DISABLED
Example:

"ENABLED"

middle_name
string

Middle name of the customer

Example:

"A"

business_description
string

A brief summary of the business

Example:

"Modern, digital wallet for payments"

Response

Response containing Customer information

Standard response structure for successful operations

ok
boolean

Indicates if the operation was successful

Example:

true

data
object

Customer information