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
header
required

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

Body

application/json

Response

200
application/json
OK

The response is of type object.