> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.api.corpx.com/baas/referencia/accounts/create-limit-request/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.api.corpx.com/_mcp/server. # Request a limit increase POST https://tenant.api.corpx.com/v1/accounts/{accountId}/limit-requests Content-Type: application/json Opens a cashout ceiling increase for one operation and window. The request is stored as `pending_review`. It does not change the ceiling. CorpX reviews it and, on approval, applies the ceiling immediately. `effectiveAt` stays null until a waiting period exists. `identifier` must equal the `Idempotency-Key` header. The same key returns the original request with `201`, even if the body differs. A second pending request for the same operation and window, with a different key, is `409 limit_request_pending`. `requestedLimitBrl` must be strictly above the effective ceiling (`422 limit_request_not_above_current`). No ceiling means the current limit is 0. `risk` is stored and shown to the reviewer. `risk.action: deny` does not reject the request. Reference: https://docs.api.corpx.com/baas/referencia/accounts/create-limit-request ## Authentication - `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer `, where token is your auth token. ## Request ### Path parameters - `accountId` (string, required) — Account identifier. ### Headers - `X-Tenant-Id` (string, required) — Tenant context used for authorization and routing. - `Idempotency-Key` (string, required) — Client-generated idempotency token. - `X-Acting-Document` (string, optional) — CPF of the human performing the operation. Required on cashout routes when the credential enforces a transaction PIN. - `X-Acting-Ip` (string, optional) — Real IP of the end user, for integrator credentials calling on their behalf. This is the IP evaluated against `cashoutSourceIps` — without it the check would see your server's IP. Ignored for delegated credentials, where the connection IP is already the right one. ### Body (application/json) This endpoint expects a LimitRequestCreate. - `operation` (enum, required) - Allowed values: `pix_out`, `ted_out`, `boleto`, `internal_out` - `window` (enum, required) — Public window name on this route. `single_transfer` is one payment, `daytime` is 06:00–20:00, `nighttime` is 20:00–06:00 (America/Sao_Paulo) and `monthly` is the calendar month. `GET /limits/available` uses camelCase for the same windows: `singleTransfer` here is `single_transfer`. - Allowed values: `single_transfer`, `daytime`, `nighttime`, `monthly` - `requestedLimitBrl` (double, required) — Ceiling asked for, in BRL. Must be above the current effective ceiling. - `justification` (string, required) - `identifier` (string, required) — Must be identical to the Idempotency-Key header. - `risk` (LimitRequestRisk, optional, nullable) — Risk evaluation produced by the integrator. Stored and shown to the reviewer. A deny does not reject the request. ## Response ### 201 Request stored, or the original request for this Idempotency-Key. - `id` (string, required) - `status` (enum, required) - Allowed values: `pending_review`, `approved`, `refused`, `cancelled` - `operation` (enum, required) - Allowed values: `pix_out`, `ted_out`, `boleto`, `internal_out` - `window` (enum, required) - Allowed values: `single_transfer`, `daytime`, `nighttime`, `monthly` - `currentLimitBrl` (double, required) — Effective ceiling when the request was opened. 0 when the account had none. - `requestedLimitBrl` (double, required) - `justification` (string, required) - `identifier` (string, required) - `createdAt` (datetime, required) - `approvedLimitBrl` (double, optional, nullable) — Ceiling actually applied. Null until approval. May differ from `requestedLimitBrl` when the reviewer adjusts it. - `decisionMessage` (string, optional, nullable) - `effectiveAt` (datetime, optional, nullable) — When the new ceiling starts. Null means it was applied immediately. ## Errors ### 400 Bad Request Error `missing_idempotency_key`, `invalid_identifier`, `invalid_justification`, `invalid_risk`, `acting_document_required` or `invalid_acting_document`. - `errorCode` (string, required) — Stable machine-readable code. See `ErrorCode` for the known values. - `message` (string, required) — Human-readable explanation (pt-BR). Presentation only; may change. - `docs` (string, optional) — Link to this code in the public error catalogue. - `requestId` (string, optional) — Gateway request id. Quote it when contacting support. - `details` (map from string to any, optional) — Optional machine-readable context for the specific `errorCode` (for example `kind` on `identity_verification_monthly_limit_exceeded`, `maxBytes` on `payload_too_large`, `attemptsRemaining` on `facetec_attempts_exhausted`). Keys are documented per operation; absent when the code carries no extra context. - `partner` (ErrorResponsePartner, optional) — Raw error from the settlement bank, when the failure came from it. Diagnostic only. ### 404 Not Found Error Requested resource was not found. - `errorCode` (string, required) — Stable machine-readable code. See `ErrorCode` for the known values. - `message` (string, required) — Human-readable explanation (pt-BR). Presentation only; may change. - `docs` (string, optional) — Link to this code in the public error catalogue. - `requestId` (string, optional) — Gateway request id. Quote it when contacting support. - `details` (map from string to any, optional) — Optional machine-readable context for the specific `errorCode` (for example `kind` on `identity_verification_monthly_limit_exceeded`, `maxBytes` on `payload_too_large`, `attemptsRemaining` on `facetec_attempts_exhausted`). Keys are documented per operation; absent when the code carries no extra context. - `partner` (ErrorResponsePartner, optional) — Raw error from the settlement bank, when the failure came from it. Diagnostic only. ### 409 Conflict Error `limit_request_pending` — a review is already open for this operation and window. - `errorCode` (string, required) — Stable machine-readable code. See `ErrorCode` for the known values. - `message` (string, required) — Human-readable explanation (pt-BR). Presentation only; may change. - `docs` (string, optional) — Link to this code in the public error catalogue. - `requestId` (string, optional) — Gateway request id. Quote it when contacting support. - `details` (map from string to any, optional) — Optional machine-readable context for the specific `errorCode` (for example `kind` on `identity_verification_monthly_limit_exceeded`, `maxBytes` on `payload_too_large`, `attemptsRemaining` on `facetec_attempts_exhausted`). Keys are documented per operation; absent when the code carries no extra context. - `partner` (ErrorResponsePartner, optional) — Raw error from the settlement bank, when the failure came from it. Diagnostic only. ### 422 Unprocessable Entity Error `limit_request_not_above_current` or `limit_request_operation_unavailable`. - `errorCode` (string, required) — Stable machine-readable code. See `ErrorCode` for the known values. - `message` (string, required) — Human-readable explanation (pt-BR). Presentation only; may change. - `docs` (string, optional) — Link to this code in the public error catalogue. - `requestId` (string, optional) — Gateway request id. Quote it when contacting support. - `details` (map from string to any, optional) — Optional machine-readable context for the specific `errorCode` (for example `kind` on `identity_verification_monthly_limit_exceeded`, `maxBytes` on `payload_too_large`, `attemptsRemaining` on `facetec_attempts_exhausted`). Keys are documented per operation; absent when the code carries no extra context. - `partner` (ErrorResponsePartner, optional) — Raw error from the settlement bank, when the failure came from it. Diagnostic only. ## Types ### LimitRequestRisk Risk evaluation produced by the integrator. Stored and shown to the reviewer. A deny does not reject the request. - `action` (enum, required) - Allowed values: `allow`, `challenge`, `deny` - `provider` (string, optional) - `score` (double, optional) - `policyName` (string, optional, nullable) - `evaluatedAt` (datetime, optional) ### ErrorResponsePartner Raw error from the settlement bank, when the failure came from it. Diagnostic only. - `code` (string, optional) - `message` (string, optional) - `field` (string, optional) — Field the partner pointed at, when any. ## Examples **Request** ```json { "operation": "pix_out", "window": "daytime", "requestedLimitBrl": 50000, "justification": "Folha de pagamento do mês.", "identifier": "3f1c0b6e-9a2d-4c71-8e55-1b7a0d4c9e21", "risk": { "action": "allow", "provider": "castle", "score": 0.12, "policyName": "ib-limit-increase", "evaluatedAt": "2026-10-02T18:00:00Z" } } ``` **Response** ```json { "id": "lr_01J9XQ8K2M3N4P5Q6R7S8T9U0V", "status": "pending_review", "operation": "pix_out", "window": "daytime", "currentLimitBrl": 20000, "requestedLimitBrl": 50000, "justification": "Folha de pagamento do mês.", "identifier": "3f1c0b6e-9a2d-4c71-8e55-1b7a0d4c9e21", "createdAt": "2026-10-02T18:00:01Z", "approvedLimitBrl": null, "decisionMessage": null, "effectiveAt": null } ``` **SDK Code** ```python Accounts_createLimitRequest_example import requests url = "https://tenant.api.corpx.com/v1/accounts/accountId/limit-requests" payload = { "operation": "pix_out", "window": "daytime", "requestedLimitBrl": 50000, "justification": "Folha de pagamento do mês.", "identifier": "3f1c0b6e-9a2d-4c71-8e55-1b7a0d4c9e21", "risk": { "action": "allow", "provider": "castle", "score": 0.12, "policyName": "ib-limit-increase", "evaluatedAt": "2026-10-02T18:00:00Z" } } headers = { "Idempotency-Key": "Idempotency-Key", "X-Tenant-Id": "X-Tenant-Id", "Authorization": "Bearer ", "Content-Type": "application/json" } response = requests.post(url, json=payload, headers=headers) print(response.json()) ``` ```javascript Accounts_createLimitRequest_example const url = 'https://tenant.api.corpx.com/v1/accounts/accountId/limit-requests'; const options = { method: 'POST', headers: { 'Idempotency-Key': 'Idempotency-Key', 'X-Tenant-Id': 'X-Tenant-Id', Authorization: 'Bearer ', 'Content-Type': 'application/json' }, body: '{"operation":"pix_out","window":"daytime","requestedLimitBrl":50000,"justification":"Folha de pagamento do mês.","identifier":"3f1c0b6e-9a2d-4c71-8e55-1b7a0d4c9e21","risk":{"action":"allow","provider":"castle","score":0.12,"policyName":"ib-limit-increase","evaluatedAt":"2026-10-02T18:00:00Z"}}' }; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); } ``` ```go Accounts_createLimitRequest_example package main import ( "fmt" "strings" "net/http" "io" ) func main() { url := "https://tenant.api.corpx.com/v1/accounts/accountId/limit-requests" payload := strings.NewReader("{\n \"operation\": \"pix_out\",\n \"window\": \"daytime\",\n \"requestedLimitBrl\": 50000,\n \"justification\": \"Folha de pagamento do mês.\",\n \"identifier\": \"3f1c0b6e-9a2d-4c71-8e55-1b7a0d4c9e21\",\n \"risk\": {\n \"action\": \"allow\",\n \"provider\": \"castle\",\n \"score\": 0.12,\n \"policyName\": \"ib-limit-increase\",\n \"evaluatedAt\": \"2026-10-02T18:00:00Z\"\n }\n}") req, _ := http.NewRequest("POST", url, payload) req.Header.Add("Idempotency-Key", "Idempotency-Key") req.Header.Add("X-Tenant-Id", "X-Tenant-Id") req.Header.Add("Authorization", "Bearer ") req.Header.Add("Content-Type", "application/json") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) } ``` ```ruby Accounts_createLimitRequest_example require 'uri' require 'net/http' url = URI("https://tenant.api.corpx.com/v1/accounts/accountId/limit-requests") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Post.new(url) request["Idempotency-Key"] = 'Idempotency-Key' request["X-Tenant-Id"] = 'X-Tenant-Id' request["Authorization"] = 'Bearer ' request["Content-Type"] = 'application/json' request.body = "{\n \"operation\": \"pix_out\",\n \"window\": \"daytime\",\n \"requestedLimitBrl\": 50000,\n \"justification\": \"Folha de pagamento do mês.\",\n \"identifier\": \"3f1c0b6e-9a2d-4c71-8e55-1b7a0d4c9e21\",\n \"risk\": {\n \"action\": \"allow\",\n \"provider\": \"castle\",\n \"score\": 0.12,\n \"policyName\": \"ib-limit-increase\",\n \"evaluatedAt\": \"2026-10-02T18:00:00Z\"\n }\n}" response = http.request(request) puts response.read_body ``` ```java Accounts_createLimitRequest_example import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; HttpResponse response = Unirest.post("https://tenant.api.corpx.com/v1/accounts/accountId/limit-requests") .header("Idempotency-Key", "Idempotency-Key") .header("X-Tenant-Id", "X-Tenant-Id") .header("Authorization", "Bearer ") .header("Content-Type", "application/json") .body("{\n \"operation\": \"pix_out\",\n \"window\": \"daytime\",\n \"requestedLimitBrl\": 50000,\n \"justification\": \"Folha de pagamento do mês.\",\n \"identifier\": \"3f1c0b6e-9a2d-4c71-8e55-1b7a0d4c9e21\",\n \"risk\": {\n \"action\": \"allow\",\n \"provider\": \"castle\",\n \"score\": 0.12,\n \"policyName\": \"ib-limit-increase\",\n \"evaluatedAt\": \"2026-10-02T18:00:00Z\"\n }\n}") .asString(); ``` ```php Accounts_createLimitRequest_example request('POST', 'https://tenant.api.corpx.com/v1/accounts/accountId/limit-requests', [ 'body' => '{ "operation": "pix_out", "window": "daytime", "requestedLimitBrl": 50000, "justification": "Folha de pagamento do mês.", "identifier": "3f1c0b6e-9a2d-4c71-8e55-1b7a0d4c9e21", "risk": { "action": "allow", "provider": "castle", "score": 0.12, "policyName": "ib-limit-increase", "evaluatedAt": "2026-10-02T18:00:00Z" } }', 'headers' => [ 'Authorization' => 'Bearer ', 'Content-Type' => 'application/json', 'Idempotency-Key' => 'Idempotency-Key', 'X-Tenant-Id' => 'X-Tenant-Id', ], ]); echo $response->getBody(); ``` ```csharp Accounts_createLimitRequest_example using RestSharp; var client = new RestClient("https://tenant.api.corpx.com/v1/accounts/accountId/limit-requests"); var request = new RestRequest(Method.POST); request.AddHeader("Idempotency-Key", "Idempotency-Key"); request.AddHeader("X-Tenant-Id", "X-Tenant-Id"); request.AddHeader("Authorization", "Bearer "); request.AddHeader("Content-Type", "application/json"); request.AddParameter("application/json", "{\n \"operation\": \"pix_out\",\n \"window\": \"daytime\",\n \"requestedLimitBrl\": 50000,\n \"justification\": \"Folha de pagamento do mês.\",\n \"identifier\": \"3f1c0b6e-9a2d-4c71-8e55-1b7a0d4c9e21\",\n \"risk\": {\n \"action\": \"allow\",\n \"provider\": \"castle\",\n \"score\": 0.12,\n \"policyName\": \"ib-limit-increase\",\n \"evaluatedAt\": \"2026-10-02T18:00:00Z\"\n }\n}", ParameterType.RequestBody); IRestResponse response = client.Execute(request); ``` ```swift Accounts_createLimitRequest_example import Foundation let headers = [ "Idempotency-Key": "Idempotency-Key", "X-Tenant-Id": "X-Tenant-Id", "Authorization": "Bearer ", "Content-Type": "application/json" ] let parameters = [ "operation": "pix_out", "window": "daytime", "requestedLimitBrl": 50000, "justification": "Folha de pagamento do mês.", "identifier": "3f1c0b6e-9a2d-4c71-8e55-1b7a0d4c9e21", "risk": [ "action": "allow", "provider": "castle", "score": 0.12, "policyName": "ib-limit-increase", "evaluatedAt": "2026-10-02T18:00:00Z" ] ] as [String : Any] let postData = JSONSerialization.data(withJSONObject: parameters, options: []) let request = NSMutableURLRequest(url: NSURL(string: "https://tenant.api.corpx.com/v1/accounts/accountId/limit-requests")! as URL, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 10.0) request.httpMethod = "POST" request.allHTTPHeaderFields = headers request.httpBody = postData as Data let session = URLSession.shared let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in if (error != nil) { print(error as Any) } else { let httpResponse = response as? HTTPURLResponse print(httpResponse) } }) dataTask.resume() ```