Guides
Journeys

Limits

Account limits per time window, increase requests and the per-transaction limits you set yourself.

GO 2.0 has two kinds of limit, which are not the same thing:

Account limitsPer-transaction limits
Where/account/api/v1/{conta}/limits/configurations/api/v1/limits
WhatCeiling per window (e.g. daily), set by Pay4FunMinimum and maximum amount of each transaction
Who changes itPay4Fun, after an increase requestYou, with a PUT

Per-transaction limits work inside the account limits: raising maxPaymentLimit doesn't raise the contracted ceiling.

Account limits

bash
curl --url https://pay4fun.mimicr.dev/account/api/v1/transactional/limits \
  --header 'Authorization: Bearer <token>'
json
[
  {
    "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
    "overrideId": null,
    "operationType": "PAYMENT",
    "balanceValidityType": "DAILY",
    "maxAmount": 50000,
    "usedAmount": 385.12,
    "reservedAmount": 0,
    "availableAmount": 49614.88,
    "percentageUsed": 0.77,
    "validUntil": "2026-10-24T02:59:59Z",
    "isUnlimited": false,
    "paymentMethod": "Pix",
    "paymentChannel": "GO 2.0"
  }
]

availableAmount = maxAmount − usedAmount − reservedAmount. validUntil is when the current window ends and usage resets.

In Mimicr:

AccountOperationDaily ceilingEnforced?
transactionalPAYMENTR$ 50,000.00Yes: a payment that goes over is refused with VAL-022 in validation-errors and a Declined webhook
transactionalDEPOSITR$ 100,000.00Yes: a paid deposit that goes over the ceiling becomes FAILED, with DEP-115 in validation-errors and a FAILED webhook
ownerPAYMENTR$ 1,000.00Doesn't apply: no API operation pays out of the owner account

The PDF only says that "payments refused by limit show up in the intent's validation-errors". The deposit limit follows the same pattern in Mimicr: it is checked when the payer pays, because only then does the money come in. The owner account only receives the fees, and the PDF has no transfer between the accounts, so its PAYMENT limit has no usage.

Payments in flight count in reservedAmount; settled ones, in usedAmount. The daily window turns over at 23:59:59 Brasília time.

Request an increase

bash
curl --request POST \
  --url https://pay4fun.mimicr.dev/account/api/v1/transactional/limits/7c9e6679-7425-40de-944b-e07fc1f90ae7/request \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{ "requestedLimit": 80000.00 }'
json
{
  "id": "b1d4e5f6-...",
  "accountId": "404dc4c2-806e-4f61-ba02-0000000b",
  "profileRuleId": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
  "requestedBy": "dev@suaempresa.com",
  "operationType": "PAYMENT",
  "balanceValidityType": "DAILY",
  "currentLimit": 50000,
  "requestedLimit": 80000,
  "justification": "Solicitação de aumento de limite via portal.",
  "status": "PENDING",
  "reviewedBy": null,
  "reviewedAt": null,
  "reason": null,
  "createdAt": "2026-10-23T01:19:00Z"
}

The request starts as PENDING and goes through manual review; the limit doesn't change right away and there is no route to look the request up later. A requestedLimit less than or equal to zero answers 400.

In Mimicr, the review is the limit.review action. Approving replaces the limit's maxAmount with the requested amount:

bash
npx mimicr action pay4fun limit.review requestId=<request-id> approve=true
npx mimicr action pay4fun limit.review requestId=<request-id> approve=false reason="Volume incompatível"

Per-transaction limits

bash
curl --request PUT \
  --url https://pay4fun.mimicr.dev/configurations/api/v1/limits \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{ "minPaymentLimit": 1.00, "maxPaymentLimit": 5000.00, "minDepositLimit": 5.00, "maxDepositLimit": 50000.00 }'

The PUT takes all four values, all positive and each minimum less than or equal to its maximum, and answers 200 with no body. The default is 0.01–10,000.00 for payments and 0.01–50,000.00 for deposits.

  • A deposit out of range is refused on creation with 400 DEP-042.
  • A payment out of range is accepted (201 queued) and refused in validation with VAL-021 and a Declined webhook.

Reference: List account limits, Request a limit increase and Update transaction limits.