Update a Program Account Interest Rate

Change Program Account Interest Rate Details.

SecurityBearer
Request
path Parameters
version
required
string
Request Body schema: application/json
program_guid
required
string <uuid>

Unique id of the program

interest_rate_code
required
string non-empty

Interest rate unique code

display_name
string or null <= 64 characters

Display name for the interest code

interest_rate
number or null <double>

Value in conjunction with the interest rate 'type'

make_default
boolean or null

Make the corresponding account interest rate as the default for the program

is_delete
boolean

Delete the corresponding account interest rate code for the program

Responses
200

Updates Account Interest Rate details and returns all Interest Rates of the program

400

Bad request

401

Unauthorized

404

Account not found

500

Server Error

post/api/{version}/interest_rates/program/update
Request samples
application/json
{
  • "program_guid": "3fa0d2ea-ffcf-485d-94ed-dbf4f861ad2f",
  • "interest_rate_code": "string",
  • "display_name": "string",
  • "interest_rate": 0.1,
  • "make_default": true,
  • "is_delete": true
}
Response samples
application/json
{
  • "account_interest_rates": [
    • {
      • "interest_rate_code": "string",
      • "display_name": "string",
      • "type": "BASIS_POINT",
      • "interest_rate": 0.1,
      • "make_default": true
      }
    ],
  • "program_guid": "3fa0d2ea-ffcf-485d-94ed-dbf4f861ad2f",
  • "base_interest_rate_code": "string",
  • "base_interest_rate": "string",
  • "masked_account_number": "string"
}
Copyright © Qolo 2019-2023. All right reserved.