Merchant Boarding: API - Canada
Partners can submit new Merchant accounts directly using the API allowing them to completely control the look and feel of their clients' boarding process.
Send a POST request to the
/entities
endpoint in the API.Send the required information to the
/merchants
/entities
/members
/accounts
endpoints embedded within this single-call API requestIn the body of the code, you will be prompted to add various information about your client’s business, the business owner, and add their bank account. (See Below)
You can also visit the Payrix API reference documentation page for additional technical details about the Merchant onboarding fields.
Merchant Boarding API Request
HTTP Request
POST /entities HTTP/1.1
Accept: application/json
Content-Type: application/json
Host: api-test.payrix.com
Request Body
{
"type": 2,
"name": "MERCHANT NAME",
"address1": "111 MERCHANT ADDRESS",
"address2": "NULL",
"city": "Townsville",
"state": "BC",
"zip": "9A9999",
"country": "CAN",
"phone": "7777777777",
"fax": null,
"email": "EMAIL@EMAIL.COM",
"ein": "454000000",
"website": "https://www.website.com/",
"custom": "CUSTOMINFOHERE",
"tcVersion": "4.21",
"tcDate": "2022-06-17 10:31:33",
"clientIp": null,
"tcAttestation": 1,
"visaDisclosure": 1,
"disclosureIP": "null",
"disclosureDate": 20210716,
"ndxDays": null,
"merchantIp": null,
"currency": "CAD",
"accounts": [
{
"primary": 1,
"account": {
"method": 8,
"number": "123456789",
"routing": "122000247"
}
}
],
"orgEntities": [
{"org": "p1_org_62ab92e215bc454c70xxxxx"}
],
"merchant": {
"dba": "DBA SAMPLE HERE",
"new": 0,
"mcc": "5812",
"status": "1",
"annualCCSales": 80046540,
"avgTicket": 1250,
"established": "20200101",
"merchants.ndxPercentage": null,
"merchants.ndxDays": null,
"disclosureIP": "64.233.185.102",
"members": [
{
"title": "CEO",
"first": "NAME",
"middle": null,
"last": "NAME",
"sin": 123456789,
"dob": "YYMMDD",
"dl": null,
"dlstate": null,
"ownership": 10000,
"significantResponsibility": 1,
"politicallyExposed": 0,
"email": "EMAIL@EMAIL.COM",
"fax": null,
"phone": "7777777777",
"primary": "1",
"address1": "1000 Santa Monica Blvd",
"address2": null,
"city": "Townsville",
"state": "BC",
"zip": "99999",
"country": "CAN"
}
]
}
}
Example Response
{
"entity": {
"accounts": [
{
"account": {
"method": 8,
"number": "2345",
"routing": "3924",
"payment": null
},
"id": "p1_act_5a1ef5e55656698eefaf8b6",
"created": "2017-11-28 01:02:57",
"modified": "2017-11-28 01:02:57",
"creator": "p1_log_5a1ef5e55653ed720159d53",
"modifier": "p1_log_5a1ef5e55653ed720159d53",
"entity": "p1_ent_5a1ef5e5565631155c95344",
"token": "ae1abb3aaa18e4c374ca83fa75a7fff6",
"name": "",
"description": "",
"primary": 1,
"status": 0,
"currency": "USD",
"inactive": 0,
"frozen": 0
}
],
"id": "p1_ent_5a1ef5e5565631155c95344",
"created": "2017-11-28 01:02:57",
"modified": "2017-11-28 01:02:57",
"creator": "p1_log_5a1ef5e55653ed720159d53",
"modifier": "p1_log_5a1ef5e55653ed720159d53",
"login": "p1_log_5a1ef5e55653ed720159d53",
....
},
"members": [
{
"id": "p1_mbr_5a1ef5e5565716c1bef3bf9",
"created": "2017-11-28 01:02:57",
"modified": "2017-11-28 01:02:57",
"creator": "p1_log_5a1ef5e55653ed720159d53",
"modifier": "p1_log_5a1ef5e55653ed720159d53",
"merchant": "p1_mer_5a1ef5e55656a739a85da21",
"title": "CEO",
"first": "James",
"middle": null,
"last": "Smith",
"ssn": "6789",
"dob": "1959",
"dl": "6789",
"dlstate": "NY",
"ownership": 8000,
"email": "james.smith@example.com",
"fax": null,
"phone": null,
"country": "USA",
"timezone": "est",
"zip": "10001",
"state": "NY",
"city": "New York",
"address2": "Suite 403",
"address1": "123 Example St.",
"primary": 1,
"inactive": 0,
"frozen": 0
}
],
"id": "p1_mer_5a1ef5e55656a739a85da21",
"created": "2017-11-28 01:02:57",
"modified": "2017-11-28 01:02:57",
"creator": "p1_log_5a1ef5e55653ed720159d53",
"modifier": "p1_log_5a1ef5e55653ed720159d53",
"ipCreated": "8.8.8.8",
"ipModified": "8.8.8.8",
"lastActivity": null,
"dba": null,
"new": 0,
"established": 20101020,
"annualCCSales": 1000000,
"amex": null,
"discover": null,
"mcc": "8111",
"status": 1,
"boarded": null,
"tcDate": "2017-11-28 01:02:57",
"inactive": 0,
"frozen": 0
}
Response Parameter | Type | |||
---|---|---|---|---|
| Array of Objects | The array of all entity information associated with the newly added Merchant. | ||
| string | The entity ID for the entity that boarded the Merchant. | ||
| Array of Objects | An array of [bank] Account objects added to the entity | ||
| string | The new merchant [bank] account ID | ||
| string | The date and time the account was added. | ||
| string | The date and time the account was last modified. | ||
| string | The Login ID for the user that originally added the bank account. | ||
| string | The Login ID for the user that last modified the bank account. | ||
| string | The entity ID for the associated referrer or facilitator. | ||
| string | The new tokenized account number. | ||
| Array | Array of Merchant owner/member information. | ||
| string | The Member ID for the listed Merchant Member. | ||
| string | The date and time the Member was added. | ||
| string | The date and time the Member was last modified. | ||
| string | The Login ID for the user that originally added the Member. | ||
| string | The Login ID for the user that last modified the Member. | ||
| Array of Merchant entity information. | |||
| string | The Merchant ID for the newly created Merchant. | ||
| string | The date and time the Merchantwas added. | ||
| string | The date and time the Merchantwas last modified. | ||
| string | The Login ID for the user that originally added the Merchant. | ||
| string | The Login ID for the user that last modified the Merchant. |
Each of the sections below contains a breakdown of each section of the request body above with valid values, formatting examples/restrictions, and descriptions below. Review each to know how to send the complete request properly:
Entity Information Parameters
"type": 2,
"name": "MERCHANT NAME",
"address1": "111 MERCHANT ADDRESS",
"address2": "NULL",
"city": "Townsville",
"state": "BC",
"zip": "9A9999",
"country": "CAN",
"phone": "7777777777",
"fax": null,
"email": "EMAIL@EMAIL.COM",
"ein": "454000000",
"website": "https://www.website.com/",
"custom": "CUSTOMINFOHERE",
"tcVersion": "4.21",
"tcDate": "2022-06-17 10:31:33",
"clientIp": null,
"tcAttestation": 1,
"visaDisclosure": 1,
"disclosureIP": "null",
"disclosureDate": 20210716,
"ndxDays": null,
"merchantIp": null,
"currency": "CAD",
"accounts": [...]
"orgEntities": [{...}],
"merchant": {...}
Parameter | Type | Required | Description | Valid Values |
---|---|---|---|---|
| integer | Required | The business jurisdiction type as shown with the CRA filing | Valid Values:
|
| string | Required | Enter the Merchant’s full legal business name (as registered with the province and/or CRA). | This field must be between 1 and 100 characters long. |
| string | Optional | Merchant’s “doing business as” name. If no descriptor is set then this field will display the Legal Business Name | |
| string | Required | The Merchant’s business street address. | PO Boxes & forwarding services address are not accepted. This field must be between 1 and 100 characters long. Warning: Please do not use the business address in this field. |
| string | Optional | Second address line where applicable. | |
| string | Required | The Merchant’s business address city. | |
| string | Required | The 2-digit province abbreviations | Valid Values:
|
| string | Required | The 5-digit postal code for the Merchant’s business address. | |
| string | Required | The 3-digit country code for the Merchant’s business address. | Valid Values:
|
| string | Required | The Merchant business’s customer service phone number. | |
| string | Optional | The Merchant business’s fax number. | |
| string | Required | Enter the Merchant business’s email address. | This field must be between 1 and 100 characters long. |
| The 9-digit business identification code as issued by the CRA. If the business is a sole proprietorship - and no Business number was issued - enter the primary owner’s Social Insurance Number (SIN). | This field must be 9 characters long. | ||
| string | Required | The Merchant’s business website. | The valid URL for the Merchant's website. |
| string | Optional | Use this field to enter custom text - e.g. enter your platform ID for this Merchant for internal tracking or record keeping. | This field must be between 1 and 100 characters long. |
| string | Required | The latest terms and conditions version accepted by the Merchant. | Format:
|
| string | Required | The date that the terms and conditions were accepted by the Merchant. | Format:
Example: |
| string | Required | The client IP address from which the Entity was created. | Valid values:
|
| integer | Required | Whether or not the Terms and Conditions were accepted by the Merchant. | Valid Values:
|
| integer | Required | Whether or not the Visa disclosure was acknowledged by the Merchant. | Valid Values:
|
| string | Required | The IP address the Visa disclosure was hosted. | Can be |
| string | Required | The date that the Visa disclosure was acknowledged by the Merchant. | Format:
Example: |
| string | Required | The Non Delivery Exposure days which the Merchant is in, if applicable. | Can be |
| string | Required | The IP address for Merchant’s business online. | Format Example:
|
| string | Required | The 3-digit Merchant bank account and payment transaction currency type | Valid Values:
|
| object | Required | The object containing all new Merchant bank account information. |
Continued below. |
| object | Required | The object containing all groups the new Merchant will be added to. |
Continued below. |
| object | Required | The object containing all information about the Merchant being boarded and it’s owner(s). |
Continued below. |
Bank Account Information Parameters
"accounts": [
{
"primary": 1,
"account": {
"method": 8,
"number": "123456789",
"routing": "122000247"
}
}
],
Parameter | Type | Required | Description | Valid Values | |
---|---|---|---|---|---|
| integer | Required | Indicate whether this is the Merchant’s primary bank account. | Valid Values:
| |
| object | Required | The object containing all new Merchant bank account information. | ||
| integer | Required | The Account Method. Indicate what type of bank account this is. | Valid Values:
| |
| string | Optional | Add an optional bank account name for your own record-keeping purposes. | This field must be between 1 and 100 characters long. | |
| string | Required | Enter the bank account number without any spaces or dashes. | This field must be between 7 and 12 characters. | |
| string | Required | Enter the combined transit and institution numbers without any spaces or dashes. | This field must be exactly 8 characters long. Formatting Example: |
Grouping Information Parameters
"orgEntities": [
{
"org": "p1_org_62ab92e215bc454c70xxxxx"
}
],
Parameter | Type | Required | Description | Valid Values | |
---|---|---|---|---|---|
| object | Required | The object containing all groups the new Merchant will be added to. | ||
| string | Required | The Group ID the Merchant will be joining. | Any applicable Group ID that begins with “p1_org_”. |
Merchant Information Parameters
"merchant": {
"dba": "DBA SAMPLE HERE",
"new": 0,
"mcc": "5812",
"status": "1",
"annualCCSales": 80046540,
"avgTicket": 1250,
"established": "20200101",
"merchants.ndxPercentage": null,
"merchants.ndxDays": null,
"disclosureIP": "64.233.185.102",
"members": [{...}]
}
Parameter | Type | Required | Description | Valid Values |
---|---|---|---|---|
| string | Optional | Merchant’s “doing business as” name. If no descriptor is set then this field will display the Legal Business Name | |
| integer | Required | Whether the Merchant is new to credit card processing. By default, merchants are considered to be new. |
|
| string | Required | The Merchant Category Code (MCC) for this Merchant. This code is not required to create a Merchant, but it is required to successfully board a Merchant. | This field must be exactly 4 digits. |
| integer | Required | The boarding status of the Merchant. |
|
| string | Required | The value of the annual credit card sales of this Merchant. | This field is specified as an integer in cents. Formatting example: |
| string | Required | The value of the average credit card sales of this Merchant. | Formatting example: |
| string | Required | The date on which the Merchant was established. | The date is specified as an eight digit string in Formatting example: |
| string | Required | The ndx (Non Delivery Exposure) percentage to be used for the merchant, if applicable. | Can be |
| string | Required | The ndx (Non Delivery Exposure) days which the Merchant is in, if applicable. | Can be |
| string | Required | The IP address the Visa disclosure was hosted. | Can be |
| Array of objects | Required | An array of one or more Merchant Owner info objects. |
Continued below. |
Merchant Owner Information Parameters
"members": [
{
"title": "CEO",
"first": "NAME",
"middle": null,
"last": "NAME",
"sin": 123456789,
"dob": "YYMMDD",
"dl": null,
"dlstate": null,
"ownership": 10000,
"significantResponsibility": 1,
"politicallyExposed": 0,
"email": "EMAIL@EMAIL.COM",
"fax": null,
"phone": "7777777777",
"primary": "1",
"address1": "1000 Santa Monica Blvd",
"address2": null,
"city": "Townsville",
"state": "BC",
"zip": "99999",
"country": "CAN"
}
]
Parameter | Type | Required | Description | Valid Values | |
---|---|---|---|---|---|
| Array of objects | Required | An array of one or more Merchant Owner info objects. | ||
| string | Required | Enter the primary owner’s role in the company. Sample values include: CEO, Director, Owner etc. | This field must be between 1 and 100 characters long. | |
| string | Required | The primary owner’s full legal first name (as appears on their birth certificate or ID). | This field must be between 1 and 100 characters long. | |
| string | Optional | The primary owner’s full legal middle name (as appears on their birth certificate or ID). | This field must be between 1 and 100 characters long. | |
| string | Required | The primary owner’s full legal last name (as appears on their birth certificate or ID). | This field must be between 1 and 100 characters long. | |
| string | Required | The primary owner’s full 9-digit Social Insurance Number with no spaces or dashes. | This field must be exactly 9 characters long. | |
| string | Required | The primary owner’s date of birth with no dashes or slashes. | This field must be exactly 8 characters long. Format: | |
| string | Optional | Enter the owner’s drivers license number with no spaces or dashes. | This field must be between 0 and 15 characters long. See the Province Driver's License Number formatting:
| |
| string | Optional | If entering the owner’s license number also include the issuing province. | Only 2-digit province abbreviations are accepted:
| |
| string | Required | Enter the numerical percentage stake that the primary owner has in the business (expressed in basis points). | Format: 50% = 100% =
| |
| integer | Required | Is the primary owner a controlling authority for this business? This includes, but is not limited to: CEO, CFO, Owner, VP, managing member etc. | Valid Values:
| |
| integer | Required | This person is politically exposed, defined as: "persons whom through their prominent position or influence, is more susceptible to being involved in bribery or corruption." | Valid Values:
| |
| string | Required | Enter the primary owner’s personal email address. | This field must be between 1 and 100 characters long. | |
| string | Optional | Enter the primary owner’s fax number. | ||
| string | Required | Submit the primary owner’s personal phone number without spaces or dashes. | This field must be between 10 and 15 characters long. | |
| integer | Required | Whether the Member is the 'primary' contact for the associated Merchant. Only one Member associated with each Merchant can be the 'primary' Member. | Valid Values:
| |
| string | Required | The owner’s personal home street address. | PO Boxes & forwarding services address are not accepted. This field must be between 1 and 100 characters long. Warning: Please do not use the business address in this field. | |
| string | Optional | Second address line where applicable. | ||
| string | Required | The owner’s personal address city. | ||
| string | Required | The 2-digit province abbreviations | Valid Values:
| |
| string | Required | The 5-digit postal code for the owner’s personal address. | ||
| string | Required | The 3-digit country code for the owner’s personal address. | Valid Values:
|