Create a customer

Create a customer and retain customer_token. Provide organization_token and customer_type, plus a company_name or a complete first_name/last_name pair. The first and last name must be supplied together even if a company name is present. Successful creation returns HTTP 201.

Result codes in the response examples

HTTP status and result code are operation-specific. Field-validation messages can include the affected field name.

HTTPCodeResultMeaning
201R0000OkThe request was processed successfully
400R0002ErrorField is not properly formatted
400R0201ErrorOrganization token is invalid
400R0202ErrorOrganization is inactive
401R0003ErrorAuthentication token is invalid
403R0003ErrorAccess not allowed
500R0999ErrorSomething went wrong
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

JSON request body. Required and conditional fields are defined by the schema. Named examples show supported request variants.

Responses

default

Other infrastructure or forwarded downstream response. HTTP status and body must be preserved; do not assume every error has a Payology R-code. No fixed payload is guaranteed.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json