post
https://test-api.payology.io/customer-vault/api/v1/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.
| HTTP | Code | Result | Meaning |
|---|---|---|---|
| 201 | R0000 | Ok | The request was processed successfully |
| 400 | R0002 | Error | Field is not properly formatted |
| 400 | R0201 | Error | Organization token is invalid |
| 400 | R0202 | Error | Organization is inactive |
| 401 | R0003 | Error | Authentication token is invalid |
| 403 | R0003 | Error | Access not allowed |
| 500 | R0999 | Error | Something went wrong |
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
defaultOther 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.