Accounts
Time deposit (CD) APIs
CD penalty fee
api reference returns the penalty fee if you make an early withdrawal to an active time deposit account the response will define the number of months during which a penalty will usually be applied on early withdrawal (months), and the number of days of interest to be paid in penalty (feedays) { "name" "endpoint /core/v1/dda/accounts/{accountnumber}/time deposit/penalty fee", "method" "get", "url" "https //sandbox crbcos com/core/v1/dda/accounts/{accountnumber}/time deposit/penalty fee", "description" "", "tab" "examples", "examples" { "languages" \[ { "id" "geum5joxjrcoofte869h5", "language" "curl", "code" "curl location 'https //sandbox crbcos com/core/v1/dda/accounts/190432130358/time deposit/penalty fee'", "customlabel" "" }, { "id" "iwnatoglhcss2itbwqasa", "language" "nodejs", "code" "var https = require('follow redirects') https;\nvar fs = require('fs');\n\nvar options = {\n 'method' 'get',\n 'hostname' 'sandbox crbcos com',\n 'path' '/core/v1/dda/accounts/190432130358/time deposit/penalty fee',\n 'headers' {\n },\n 'maxredirects' 20\n};\n\nvar req = https request(options, function (res) {\n var chunks = \[];\n\n res on(\\"data\\", function (chunk) {\n chunks push(chunk);\n });\n\n res on(\\"end\\", function (chunk) {\n var body = buffer concat(chunks);\n console log(body tostring());\n });\n\n res on(\\"error\\", function (error) {\n console error(error);\n });\n});\n\nreq end();", "customlabel" "" }, { "id" "gspru8gwp209vk6uryiyy", "language" "python", "code" "import http client\n\nconn = http client httpsconnection(\\"sandbox crbcos com\\")\npayload = ''\nheaders = {}\nconn request(\\"get\\", \\"/core/v1/dda/accounts/190432130358/time deposit/penalty fee\\", payload, headers)\nres = conn getresponse()\ndata = res read()\nprint(data decode(\\"utf 8\\"))", "customlabel" "" }, { "id" "3lwxqav49mwye9tjlogpy", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //sandbox crbcos com/core/v1/dda/accounts/190432130358/time deposit/penalty fee\\")\n\nhttps = net http new(url host, url port)\nhttps use ssl = true\n\nrequest = net http get new(url)\n\nresponse = https request(request)\nputs response read body\n", "customlabel" "" }, { "id" "9yqp3ixyvm 0snho3lm n", "language" "go", "code" "package main\n\nimport (\n \\"fmt\\"\n \\"net/http\"\n \\"io\\"\n)\n\nfunc main() {\n\n url = \\"https //sandbox crbcos com/core/v1/dda/accounts/190432130358/time deposit/penalty fee\\"\n method = \\"get\\"\n\n client = \&http client {\n }\n req, err = http newrequest(method, url, nil)\n\n if err != nil {\n fmt println(err)\n return\n }\n res, err = client do(req)\n if err != nil {\n fmt println(err)\n return\n }\n defer res body close()\n\n body, err = io readall(res body)\n if err != nil {\n fmt println(err)\n return\n }\n fmt println(string(body))\n}", "customlabel" "" } ], "selectedlanguageid" "geum5joxjrcoofte869h5" }, "results" { "languages" \[ { "id" "ub9ypxsexw4t6es3k6rza", "language" "200", "customlabel" "", "code" "{\n \\"months\\" 0,\n \\"feedays\\" 0,\n \\"feeamount\\" 0\n}" } ], "selectedlanguageid" "ub9ypxsexw4t6es3k6rza" }, "request" { "pathparameters" \[ { "name" "accountnumber", "kind" "required", "type" "string", "description" "account number of the time deposit account", "children" \[] } ], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[], "formdataparameters" \[] }, "currentnewparameter" { "label" "path parameter", "value" "pathparameters" }, "response" \[ { "name" "months", "kind" "optional", "type" "integer", "description" "minimum number of months that the time deposit account is closed a withdrawal before that time results in a penalty fee " }, { "name" "feedays", "kind" "optional", "type" "integer", "description" "number of days of interest to be paid in penalty for early withdrawal", "children" \[] }, { "name" "feeamount", "kind" "optional", "type" "integer", "description" "penalty amount there is no decimal point between the dollars and the cents ", "children" \[] }, { "name" "currency", "kind" "optional", "type" "string", "description" "currency of the penalty fee", "children" \[] } ] }