Balance configurations

Replace balance configuration

Replace an exiting balance configuration.

put/v1/balances-config/{configId}

Request

  • Base URL
    https://api-sandbox.pismolabs.io/balances-config
  • URL
    https://api-sandbox.pismolabs.io/balances-config/v1/balances-config/{configId}
  • Auth
    HTTP bearer

Path parameters

configIdstring required
Example:66954f26-aaef-49c2-b195-47a8f8410df1

Balance configuration 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.

Request body

Example request

{
  "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"
            ]
          }
        }
      ]
    }
  ]
}

Response

No content

Changes

No recorded changes to this operation across all 1 revision of this API.