Create a new payer

View as Markdown
Create a new payer in the system. A payer is an entity that sends money to your platform via ACH debit transactions. Each payer must have a unique email address within your organization. ## Required Information When creating a payer, you must provide: - **Email**: Must be unique within your organization - **Name**: Full name of the payer ## Response Returns the newly created payer object with: - Unique payer ID - All provided information - Timestamps for creation and last update

Authentication

x-api-keystring

RootPay API key sent in the x-api-key header. Keys are environment-scoped: live_* for production, test_* for sandbox.

Request

This endpoint expects an object.
namestringRequired1-255 characters
emailstringRequiredformat: "email"<=255 characters
country_codeenumOptional
country_sub_divisionstring or nullOptional<=35 characters
State, province, or country subdivision
citystring or nullOptional<=35 characters
City or town name
address_linestring or nullOptional<=500 characters
Street address, building number, postal code, etc.
postal_codestring or nullOptional<=16 characters
Zip or postal code
metadatamap from strings to strings or nullOptional

Response

Payer created successfully
dataobject
warningstring or null