Skip to main content
POST
Create a customer

Authorizations

Authorization
string
header
required

Use your Modem Pay secret key.

  • Test environment: Use your sk_test_... key.
  • Production environment: Only use sk_live_... on your personal, secure machine. Do NOT share or commit your production keys.

Headers

X-No-Effect
boolean

Body

application/json
name
string
required
Example:

"John Doe"

email
string<email>
phone
string
Example:

"7000001"

Response

201 - application/json

Customer created

id
string
name
string
email
string
phone
string