Bank Account
This endpoint retrieves bank account details associated with a given merchantNumber
. It will fetch all types of bank accounts present for the particular merchant.
MerchantNumber used to get bank accounts.
If true, the bank account numbers in the response are encrypted.
false
If true, only the last four digits of the account number are returned.
false
If true, only active/effective accounts are returned.
true
Correlation Id for the request
GET /api/demographics/v1/BankAccounts/{merchantNumber} HTTP/1.1
Host: localhost:5000
Accept: */*
{
"content": [
{
"bankAccountID": 43543634,
"bankName": "Bank of America",
"nameOnAccount": "John A. Doe",
"accountHolderFirstName": "John",
"accountHolderLastName": "Doe",
"bankAccountTypeID": 1,
"bankAccountNameTypeID": 123,
"aba": "091000019",
"accountNumber": "123456789",
"lastFourAccountNumber": "6789",
"encryptedAccountNumber": "32652752350******",
"voidedCheckDocumentID": "123e4567-e89b-12d3-a456-426614174000",
"hasFees": true,
"hasFunds": true,
"hasChargebacks": false,
"isNameSameAsLegalOrDBAName": true,
"currency": "USD",
"purpose": "Settlement",
"lastUpdatedUtc": "2025-01-27T10:30:00Z"
}
]
}
This endpoint creates a bank account for a specified merchant with detailed validations and feature-specific behavior. It validates the MerchantNumber
and BankAccount
details, performs cross-validation, and checks for merchant lock status.
MerchantNumber used to create a bank account for it.
Select true, if account number should be encrypted.
false
Should return the last 4 digits of the account number or not.
false
Correlation Id for the request
Unique identifier for the bank account.
43543634
Name of the bank associated with the account.
Bank of America
The name on the bank account.
John A. Doe
The first name of the account holder.
John
The last name of the account holder.
Doe
Type of bank account (1- checking, 2- savings, etc.).
1
Name type ID for the bank account.
123
The routing number associated with the bank account. In different regions, this may represent BIC (EU) or Sort Code (UK).
Mandatory for US and UK; optional for EU.
091000019
The account number associated with the bank account.
123456789
The last four digits of the bank account number.
6789
Encrypted version of the bank account number.
32652752350******
Document ID for the voided check linked to the bank account.
123e4567-e89b-12d3-a456-426614174000
Indicates if the account has fees associated with it.
true
Indicates if the account has available funds.
true
Indicates if the account has a history of chargebacks.
false
Indicates if the account name is the same as the legal or DBA name.
true
The account currency in ISO 4217 code
USD
UTC date and time when the account was last updated.
2025-01-27T10:30:00Z
POST /api/demographics/v1/BankAccounts/{merchantNumber} HTTP/1.1
Host: localhost:5000
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 550
{
"bankAccountID": 43543634,
"bankName": "Bank of America",
"nameOnAccount": "John A. Doe",
"accountHolderFirstName": "John",
"accountHolderLastName": "Doe",
"bankAccountTypeID": 1,
"bankAccountNameTypeID": 123,
"aba": "091000019",
"accountNumber": "123456789",
"lastFourAccountNumber": "6789",
"encryptedAccountNumber": "32652752350******",
"voidedCheckDocumentID": "123e4567-e89b-12d3-a456-426614174000",
"hasFees": true,
"hasFunds": true,
"hasChargebacks": false,
"isNameSameAsLegalOrDBAName": true,
"currency": "USD",
"purpose": "Settlement",
"lastUpdatedUtc": "2025-01-27T10:30:00Z"
}
{
"bankAccountID": 43543634,
"bankName": "Bank of America",
"nameOnAccount": "John A. Doe",
"accountHolderFirstName": "John",
"accountHolderLastName": "Doe",
"bankAccountTypeID": 1,
"bankAccountNameTypeID": 123,
"aba": "091000019",
"accountNumber": "123456789",
"lastFourAccountNumber": "6789",
"encryptedAccountNumber": "32652752350******",
"voidedCheckDocumentID": "123e4567-e89b-12d3-a456-426614174000",
"hasFees": true,
"hasFunds": true,
"hasChargebacks": false,
"isNameSameAsLegalOrDBAName": true,
"currency": "USD",
"purpose": "Settlement",
"lastUpdatedUtc": "2025-01-27T10:30:00Z"
}
This endpoint updates the bank accounts of the specified merchant identified by the provided merchant number. It provides options to select whether the account number should be encrypted or it should return only last four digits of accountNumber. The bank account update occurs after extensive validations through a secure channel.
MerchantNumber used to update the bank details.
Indicates account number should be masked or not.
false
Indicates only last four digit account number should be returned or not.
false
Correlation Id for the request
PUT /api/demographics/v1/BankAccounts/{merchantNumber} HTTP/1.1
Host: localhost:5000
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 564
{
"content": [
{
"bankAccountID": 43543634,
"bankName": "Bank of America",
"nameOnAccount": "John A. Doe",
"accountHolderFirstName": "John",
"accountHolderLastName": "Doe",
"bankAccountTypeID": 1,
"bankAccountNameTypeID": 123,
"aba": "091000019",
"accountNumber": "123456789",
"lastFourAccountNumber": "6789",
"encryptedAccountNumber": "32652752350******",
"voidedCheckDocumentID": "123e4567-e89b-12d3-a456-426614174000",
"hasFees": true,
"hasFunds": true,
"hasChargebacks": false,
"isNameSameAsLegalOrDBAName": true,
"currency": "USD",
"purpose": "Settlement",
"lastUpdatedUtc": "2025-01-27T10:30:00Z"
}
]
}
{
"content": [
{
"bankAccountID": 43543634,
"bankName": "Bank of America",
"nameOnAccount": "John A. Doe",
"accountHolderFirstName": "John",
"accountHolderLastName": "Doe",
"bankAccountTypeID": 1,
"bankAccountNameTypeID": 123,
"aba": "091000019",
"accountNumber": "123456789",
"lastFourAccountNumber": "6789",
"encryptedAccountNumber": "32652752350******",
"voidedCheckDocumentID": "123e4567-e89b-12d3-a456-426614174000",
"hasFees": true,
"hasFunds": true,
"hasChargebacks": false,
"isNameSameAsLegalOrDBAName": true,
"currency": "USD",
"purpose": "Settlement",
"lastUpdatedUtc": "2025-01-27T10:30:00Z"
}
]
}
This endpoint deletes a bank account from the specified merchant account using the provided bankAccountId. The merchant account must not be locked; otherwise, the request will be denied. Proper authorization based on the MID
policy is required for this request.
MerchantNumber used to delete bank account for a merchant.
BankAccountId used to delete a particular bank account.
Correlation Id for the request
DELETE /api/demographics/v1/BankAccounts/{merchantNumber} HTTP/1.1
Host: localhost:5000
Accept: */*
No content
Merchant number.
The id of the bank account to update.
false
false
Correlation Id for the request
Unique identifier for the bank account.
43543634
Name of the bank associated with the account.
Bank of America
The name on the bank account.
John A. Doe
The first name of the account holder.
John
The last name of the account holder.
Doe
Type of bank account (1- checking, 2- savings, etc.).
1
Name type ID for the bank account.
123
The routing number associated with the bank account. In different regions, this may represent BIC (EU) or Sort Code (UK).
Mandatory for US and UK; optional for EU.
091000019
The account number associated with the bank account.
123456789
The last four digits of the bank account number.
6789
Encrypted version of the bank account number.
32652752350******
Document ID for the voided check linked to the bank account.
123e4567-e89b-12d3-a456-426614174000
Indicates if the account has fees associated with it.
true
Indicates if the account has available funds.
true
Indicates if the account has a history of chargebacks.
false
Indicates if the account name is the same as the legal or DBA name.
true
The account currency in ISO 4217 code
USD
UTC date and time when the account was last updated.
2025-01-27T10:30:00Z
PUT /api/demographics/v1/BankAccounts/{merchantNumber}/{bankAccountId} HTTP/1.1
Host: localhost:5000
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 550
{
"bankAccountID": 43543634,
"bankName": "Bank of America",
"nameOnAccount": "John A. Doe",
"accountHolderFirstName": "John",
"accountHolderLastName": "Doe",
"bankAccountTypeID": 1,
"bankAccountNameTypeID": 123,
"aba": "091000019",
"accountNumber": "123456789",
"lastFourAccountNumber": "6789",
"encryptedAccountNumber": "32652752350******",
"voidedCheckDocumentID": "123e4567-e89b-12d3-a456-426614174000",
"hasFees": true,
"hasFunds": true,
"hasChargebacks": false,
"isNameSameAsLegalOrDBAName": true,
"currency": "USD",
"purpose": "Settlement",
"lastUpdatedUtc": "2025-01-27T10:30:00Z"
}
{
"bankAccountID": 43543634,
"bankName": "Bank of America",
"nameOnAccount": "John A. Doe",
"accountHolderFirstName": "John",
"accountHolderLastName": "Doe",
"bankAccountTypeID": 1,
"bankAccountNameTypeID": 123,
"aba": "091000019",
"accountNumber": "123456789",
"lastFourAccountNumber": "6789",
"encryptedAccountNumber": "32652752350******",
"voidedCheckDocumentID": "123e4567-e89b-12d3-a456-426614174000",
"hasFees": true,
"hasFunds": true,
"hasChargebacks": false,
"isNameSameAsLegalOrDBAName": true,
"currency": "USD",
"purpose": "Settlement",
"lastUpdatedUtc": "2025-01-27T10:30:00Z"
}
This endpoint deletes a bank account from the specified merchant account using the provided bankAccountId. The merchant account must not be locked; otherwise, the request will be denied. Proper authorization based on the MID
policy is required for this request.
MerchantNumber used to delete bank account for a merchant.
BankAccountId used to delete a particular bank account.
Correlation Id for the request
DELETE /api/demographics/v1/BankAccounts/{merchantNumber}/{bankAccountId} HTTP/1.1
Host: localhost:5000
Accept: */*
No content
Was this helpful?