Balance configurations
List balance configurations
List balance configurations available for the organization. You can also filter the results by program or account.
get/v1/balances-config
Request
- Base URLhttps://api-sandbox.pismolabs.io/balances-config
- URLhttps://api-sandbox.pismolabs.io/balances-config/v1/balances-config
- AuthHTTP bearer
Query parameters
accountIdinteger
Example:1234
Account ID
programIdinteger
Example:1234
Program ID
Headers
x-tenantstring required
Example:20167751b-efd4-494c-9e4f-4b939560ff05
Organization ID
x-cidstring
Example:12345
The Correlation Identifier UUID field links related API requests and events. The x-cid can help the Pismo engineering team track everything related to a call. If not passed, this field is automatically generated.
Response
OK
Example response
[
{
"level": "program",
"program_id": 999,
"account_id": 999,
"config_id": "041ee495-268a-4267-b53a-5b9532a53e45",
"global_configs": {
"impact_parent_accounts": true
},
"configs": [
{
"name": "Config-multiple-accounts",
"is_active": true,
"filter_template_id": "test-1",
"filters": {
"processing_codes": [
"01",
"03"
],
"min_installments": 1,
"max_installments": 12,
"mcc": [
"1234",
"2626"
],
"account_type": "00",
"currency_code": "USD"
},
"scenarios": [
{
"condition": {
"order": 1,
"type": "custom",
"amount_to_check_balance": "amount"
},
"result": {
"amount": "contract_amount",
"impact": [
"AvailableCreditLimit"
],
"consider": [
"OverLimit",
"AvailableCreditLimit"
],
"amount_consider": "principal_amount",
"reset_limit": "never",
"impact_account": {
"account_id": 999,
"customer_id": 5678
},
"counterpart_account": {
"account_id": 999,
"processing_code": "007700"
},
"confirmation": {
"impact": [
"AvailableCreditLimit"
],
"opposite_impact": [
"HeldFunds"
]
},
"opposite_impact": [
"HeldFunds"
]
}
}
]
}
]
}
]Changes
No recorded changes to this operation across all 1 revision of this API.