POST
/
customers
curl -X POST https://api.swervpay.co/api/v1/customers \
  -H "Authorization: Bearer <TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{
    "firstname": "user",
    "lastname": "user",
    "middlename": "user",
    "country": "user",
    "email": "[email protected]"
  }'
{
  "country": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "email": "<string>",
  "first_name": "<string>",
  "id": "<string>",
  "is_blacklisted": true,
  "last_name": "<string>",
  "middle_name": "<string>",
  "phone_number": "<string>",
  "status": "<string>",
  "tier": "<string>",
  "updated_at": "2023-11-07T05:31:56Z"
}
curl -X POST https://api.swervpay.co/api/v1/customers \
  -H "Authorization: Bearer <TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{
    "firstname": "user",
    "lastname": "user",
    "middlename": "user",
    "country": "user",
    "email": "[email protected]"
  }'

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
country
string
email
string
firstname
string
lastname
string
middlename
string

Response

200 - application/json
country
string
created_at
string
email
string
first_name
string
id
string
is_blacklisted
boolean
last_name
string
middle_name
string
phone_number
string
status
string
tier
string
updated_at
string