Create Merchant
POST/merchants
Use this endpoint to set up a new merchant account.
Request
Header Parameters
appToken created by /auth/token
Format: Bearer xxxxxx...
- application/json
Bodyrequired
required
data
object
A key for grouping different types of API data.
The type of transaction. This value must be "merchants".
merchants
attributes
object
A key for grouping identification and payment information.
The AVS mode to set merchant to. Can be Standard
, Moderate
, or Enhanced
.
Standard
The type of bank account (personal or business). If set to business, enables and requires the businessInfo and businessAddress groupings.
business
The first and last name of the account holder, or if a business, use the business's name. This is also the Statement Descriptor that customers will see on their bank.
ACME Enterprise
personalInfo
object
A key for grouping personal information.
The merchant’s first name.
John
The merchant’s last name.
Doe
The merchant’s daytime contact number.
3105551222
The merchant’s evening contact number.
3105551222
The merchant’s date of birth. Use "01-01-1981" for the test environment.
01-01-1981
The merchant’s social security number.
123456789
personalAddress
object
A key for grouping personal address information.
The personal street address.
21 Jump Street
A second line for street address information.
Suite 007
The city where the individual is located.
Los Angeles
The state where the individual is located. See State and Province Codes for more information.
CA
The postal code where the individual is located.
90210
The three-character country code. See Country Codes for more information.
USA
businessInfo
object
A key for grouping business information.
The legal name of the business as registered.
Legal Name LLC
The Employer Identification Number (EIN).
123456789
The Business Phone Number (Optional).
5555555555
The Business's website URL (optional).
https://test.com
businessAddress
object
A key for grouping business address information.
The business street address.
21 Jump Streets
A second street address line.
Suite 007
The city where the business is located.
Los ANgeles
The state where the business is located.
CA
The postal code where the business is located.
90210
The three-character country code.
USA
bankInfo
object
A key for grouping banking information.
The name of the financial institution.
Bank of Abundance
The valid values are Personal or Business.
business
The type of bank account (Checking or Savings).
checking
The Account name attached to the bank account. (Either account holder's name, or the business name)
doe's money account
The financial institution account number. It is required if boarding with the primary bank on file.
2341234321
The bank routing number. This is required if the payment method is checking or savings. Test environment requires a real routing number.
000000000
verificationData
object
A key for grouping server and timestamp information.
The IP address used for the transaction.
192.168.0.1
A true or false value.
true
The date and time the email was sent.
2016-01-31T11:16:07.234Z
The first and last name of the customer.
Huyen dinh
The date and time the transaction was authorized.
2016-01-31T11:16:07.234Z
A true or false value.
true
Defaults to Default
, Policy to use for ThreatMetrix (optional).
Default
A unique identifier (preferably uuidv4), previously used for ThreatMetrix Embed. See the ThreatMetrix documentation for more information (optional).
x
Responses
- 201
Created
- application/json
- Schema
- Example (from schema)
- Created
Schema
data
object
A key for grouping different types of API data.
The type of transaction. This value must be "merchants".
A merchant identifier. This is the account where the split goes after the transaction settles.
{
"data": {
"type": "string",
"id": "string"
}
}
{
"links": {
"self": "x"
},
"data": {
"type": "merchants",
"id": "merchantId"
}
}