curl --request POST \
--url https://sandbox-platform.jupico.com/v1/query/merchants/bankaccounts \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://sandbox-platform.jupico.com/v1/query/merchants/bankaccounts"
payload = {}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://sandbox-platform.jupico.com/v1/query/merchants/bankaccounts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox-platform.jupico.com/v1/query/merchants/bankaccounts';
const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));{
"success": true,
"message": "succeeded",
"code": "0",
"data": [
{
"subMerchantId": 874767775,
"payoutBankAccounts": [
{
"accountRouting": 1533,
"accountNumber": 6789,
"accountType": "checking",
"nameOnAccount": "Justina",
"status": "active",
"isPreferred": true,
"isDeleted": false,
"bankAccountToken": "20a0cbb78f1afcc13eec5d0b7be72463:b53c8238398a7ff05436b4eaeae9def43810f23d4d0e5c9a0a867fbc0da762f3"
}
]
}
],
"query": {
"criteria": {
"spProductId": 255
},
"options": {
"limit": 1000,
"projection": {
"_id": 1
}
}
}
}List merchant bank accounts
Returns the bank accounts registered to your merchants, including account details and status.
curl --request POST \
--url https://sandbox-platform.jupico.com/v1/query/merchants/bankaccounts \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://sandbox-platform.jupico.com/v1/query/merchants/bankaccounts"
payload = {}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://sandbox-platform.jupico.com/v1/query/merchants/bankaccounts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox-platform.jupico.com/v1/query/merchants/bankaccounts';
const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));{
"success": true,
"message": "succeeded",
"code": "0",
"data": [
{
"subMerchantId": 874767775,
"payoutBankAccounts": [
{
"accountRouting": 1533,
"accountNumber": 6789,
"accountType": "checking",
"nameOnAccount": "Justina",
"status": "active",
"isPreferred": true,
"isDeleted": false,
"bankAccountToken": "20a0cbb78f1afcc13eec5d0b7be72463:b53c8238398a7ff05436b4eaeae9def43810f23d4d0e5c9a0a867fbc0da762f3"
}
]
}
],
"query": {
"criteria": {
"spProductId": 255
},
"options": {
"limit": 1000,
"projection": {
"_id": 1
}
}
}
}Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body
The body is of type object.
Response
Successful eCheckSale
Whether the request was processed successfully. Declines return HTTP 200 with success: false.
true
Human-readable result message.
"succeeded"
Machine-readable result code. See the Error Codes reference.
"0"
The response payload.
Hide child attributes
Hide child attributes
Unique identifier of the submerchant.
874767775
Bank accounts where the merchant receives payouts.
Hide child attributes
Hide child attributes
9-digit ABA routing number.
1533
Bank account number.
6789
Bank account type, such as checking.
"checking"
Name on the bank account.
"Justina"
Current status.
"active"
Whether this is the preferred account for payouts.
true
Whether the record is soft-deleted.
false
Token of the bank account that receives the payout.
"20a0cbb78f1afcc13eec5d0b7be72463:b53c8238398a7ff05436b4eaeae9def43810f23d4d0e5c9a0a867fbc0da762f3"
Echo of the query envelope that produced this result.
Hide child attributes
Hide child attributes
Query options: pagination, sorting, and field projection.
Was this page helpful?

