Get Merchant by Id
GET/merchants/:merchantId
Use this endpoint to view information about a specific merchant.
There are no request parameters for this endpoint.
Request
Path Parameters
The unique identifier of the merchant being searched.
Header Parameters
appToken created by /auth/token
Format: Bearer xxxxxx...
Responses
- 200
Ok
- application/json
- Schema
- Example (from schema)
- ok
Schema
data
object
A key for grouping different types of API data. See Objects for more information.
Merchant Identification string for Digitzs.
The type of transaction. This value must be "merchants".
attributes
object
A key for grouping identification and payment information.
The type of bank account (Checking or Savings).
The first and last name of the account holder.
personalInfo
object
A key for grouping personal information.
The merchant’s first name.
The merchant’s last name.
The merchant's email address.
The merchant’s daytime contact number.
The merchant’s evening contact number.
The merchant’s date of birth.
The merchant’s social security number.
personalAddress
object
A key for grouping personal address information.
The personal street address.
A second line for street address information.
The city where the individual is located.
The state where the individual is located.
The postal code where the individual is located.
The three-character country code.
businessInfo
object
A key for grouping business information.
The legal name of the business as registered.
The Employer Identification Number (EIN).
businessAddress
object
A key for grouping business address information.
The business street address.
A second street address line.
The city where the business is located.
The state where the business is located.
The postal code where the business is located.
The three-character country code.
bankInfo
object
A key for grouping banking information.
The name of the financial institution.
The valid values are Personal or Business.
The type of bank account (Checking or Savings).
The first and last name of the account holder or the business Name.
The financial institution account number. It is required if boarding with the primary bank on file.
The bank routing number. This is required if the payment method is checking or savings.
verificationData
object
A key for grouping server and timestamp information.
The IP address used for the transaction.
A true or false value.
The date and time the email was sent.
The first and last name of the customer.
The date and time the transaction was authorized.
A true or false value.
{
"data": {
"id": "string",
"type": "string",
"attributes": {
"accountType": "string",
"accountName": "string",
"personalInfo": {
"firstName": "string",
"lastName": "string",
"email": "string",
"dayPhone": "string",
"eveningPhone": "string",
"birthDate": "string",
"socialSecurity": "string",
"personalAddress": {
"line1": "string",
"line2": "string",
"city": "string",
"state": "string",
"zip": "string",
"country": "string"
},
"businessInfo": {
"businessName": "string",
"ein": "string",
"businessAddress": {
"line1": "string",
"line2": "string",
"city": "string",
"state": "string",
"zip": "string",
"country": "string"
}
},
"bankInfo": {
"bankName": "string",
"accountOwnership": "string",
"accountType": "string",
"accountName": "string",
"accountNumber": "string",
"routingNumber": "string"
},
"verificationData": {
"ipAddress": "string",
"emailVerified": true,
"emailVerifiedTimestamp": "string",
"signature": "string",
"signatureTimestamp": "string",
"termsAccepted": true
}
}
}
}
}
{
"links": {
"self": "x"
},
"data": {
"type": "merchants",
"id": "merchantId",
"attributes": {
"accountName": "Tuan Ngoc",
"accountType": "business",
"personalInfo": {
"eveningPhone": "3105551222",
"firstName": "Tuan",
"lastName": "Ngoc",
"dayPhone": "1234564324",
"socialSecurity": "xxxx6789",
"birthDate": "xxxx2000",
"email": "[email protected]"
},
"bankInfo": {
"routingNumber": "xxxx9593",
"bankName": "VCB",
"accountNumber": "xxxx4567",
"accountName": "LuongDung",
"accountOwnership": "business",
"accountType": "savings"
},
"verificationData": {
"ipAddress": "192.168.100.14/23",
"emailVerified": true,
"signature": "LuongDung",
"emailVerifiedTimestamp": "2016-01-31T11:16:07.234Z",
"signatureTimestamp": "2016-01-31T11:16:07.234Z"
},
"created": "2019-09-26T08:15:12.752Z",
"partnerId": "corsourc-152910534",
"businessAddress": {
"zip": "90210",
"country": "USA",
"state": "CA",
"line2": "Suite 007",
"city": "Los Angeles",
"line1": "21 Jump Streets"
},
"personalAddress": {
"zip": "90210",
"country": "USA",
"state": "CA",
"line2": "Suite 007",
"city": "Los Angeles",
"line1": "21 Jump Street"
},
"businessInfo": {
"businessName": "TuanNgoc",
"ein": "xxxx6789"
}
}
}
}