v1
latestOpenAPI 3.0.02026-07-2480677847.6 KBAdd merchant accounts
Adds one or more new account(s) to the merchant. The system will validate that the merchant currently don't have the combination of account type and currency passed on the request body. The new account type and currency should exist for the parent of the merchant otherwise an error returned.
Headers
Standard HTTP Header; Represents the format of the payload being provided in the request. This must be set to application/json and applicable for POST/PATCH.
An RFC4122 UUID used as to trace requests.
For test environment, specific test environment name should be passed (e.g. "bwu15"). Contact Fiserv OmniPay Project team to get confirmation on the test environment to be used. For production, value "prod" should be populated.
Institution number (8-digit number) associated with the merchant. This information defines the acquirer for the merchant.
OPY Internal Client Number
Request body
Example request
[
{
"accountTypeIndex": "170",
"accountCurrencyCode": "EUR",
"receiverCountryCode": "IRE",
"paymentReference": "999999999999999999",
"statementTypeIndex": "900",
"statementGenerationCode": "SUPPRESS",
"annualFeeDueDate": "20201231",
"calendarTypeIndex": "000",
"payable": {
"bankName": "Bank of Dublin",
"accountName": "John Doe Debit Account",
"counterBankNumber": "13165987",
"accountNumber": "ZZ999999999999999",
"bankTelephone": "00535125412123",
"bankContactName": "Frank Castle",
"correspondentBankNo": "ZZZZZZZZZZZ",
"iban": "ZZ99999999999999999999",
"customerPaymentText": "9999999999",
"bankCity": "Dublin",
"paymentFormatIndex": "000",
"clearingEntityIndex": "000",
"correspondentBankAccount": "ZZ 9842512858747",
"calendarDays": "000",
"paymentDelayDays": "000",
"ceilingLimit": "1000.12"
},
"receivable": {
"bankName": "Sample Bank Name",
"accountName": "John Doe Debit Account",
"counterBankNumber": "13165987",
"accountNumber": "ZZ9999999999999999",
"bankTelephone": "003531234567",
"bankContactName": "Frank Castle",
"correspondentBankNo": "ZZ99999999",
"iban": "ZZ999999999999999999999",
"customerPaymentText": "item number 6478",
"bankCity": "Dublin",
"paymentFormatIndex": "000",
"clearingEntityIndex": "000",
"correspondentBankAccount": "ZZ 9842512858747",
"calendarDays": "000",
"collectionDelayDays": "000",
"ddMandateReference": "12345678NWMA02"
}
}
]Response
OK
Example response
{
"meta": {
"paging": {
"count": 100,
"totalPages": 10,
"currentOffset": 1,
"currentNumberOfRetrievedRecords": 10,
"maxLimit": 10,
"hasMoreRecords": true,
"pageNumber": 1
},
"sorting": {
"sort": "name,-startDate"
},
"messages": [
{
"id": "dd4ba13c-4a3c-4078-a31f-35ac9c07a8f7",
"code": "ACCOUNT_NUMBER_NOT_FOUND",
"title": "The authorization credentials required for this request are invalid.",
"detail": "SQLException found while trying to establish the connection with table TUKCDHN.",
"source": {
"pointer": "/dogs/name",
"parameter": "type",
"header": "type"
}
}
]
},
"errors": [
{
"id": "dd4ba13c-4a3c-4078-a31f-35ac9c07a8f7",
"code": "ACCOUNT_NUMBER_NOT_FOUND",
"title": "The authorization credentials required for this request are invalid.",
"detail": "SQLException found while trying to establish the connection with table TUKCDHN.",
"source": {
"pointer": "/dogs/name",
"parameter": "type",
"header": "type"
}
}
],
"links": {
"self": "https://api.firstdata.com/ipp/accounts-management/v1/accounts?offset=3&limit=10",
"first": "https://api.firstdata.com/ipp/accounts-management/v1/accounts?offset=1&limit=10",
"last": "https://api.firstdata.com/ipp/accounts-management/v1/accounts?offset=10&limit=10",
"prev": "https://api.firstdata.com/ipp/accounts-management/v1/accounts?offset=2&limit=10",
"next": "https://api.firstdata.com/ipp/accounts-management/v1/accounts?offset=4&limit=10"
}
}