Skip to content
developers

Account

Get limits

GET/v1/limitsSandbox · coming soon

Base URL
Sandboxhttps://sandbox.zulu.com.co/v1
Not in production yet: it arrives with this same signature. Try it in the sandbox.

Returns the workspace's limits in force: the Bre-B maximum and the online ACH caps (with today's usage), which decide a withdrawal's method; the FX limits and hours; and those of PSE links and Bre-B keys. Exceeding an ACH cap is not an error: the withdrawal goes MANUAL.

Authentication

Authorization: Bearer <access_token> (401 when missing or expired) and X-API-Key (403 when missing or not matching).

Responses

  • 200The limits in force.

    Body
    • transferobjectrequired
      Withdrawals (POST /v1/transfer).
      Show 3 fields
      • breBobjectrequired
        Bre-B.
        Show 1 field
        • maxAmountnumberrequired
          Maximum per Bre-B withdrawal (COP).
          Example: 12110000
      • achobjectrequired
        Online ACH. Above a cap, the withdrawal goes MANUAL (not an error).
        Show 4 fields
        • maxAmountnumberrequired
          Maximum per online ACH withdrawal (COP).
          Example: 250000000
        • dailyCountintegerrequired
          Online ACH withdrawals per day.
          Example: 10000
        • dailyAmountnumberrequired
          Daily sum of online ACH withdrawals (COP).
          Example: 999999999999999
        • usedTodayobjectrequired
          The day's usage (Bogotá).
          Show 2 fields
          • countintegerrequired
            Today's online ACH withdrawals.
            Example: 3
          • amountnumberrequired
            Today's sum (COP).
            Example: 4500000
      • manualobjectrequired
        Manual payment (traditional ACH).
        Show 1 field
        • cutoffTimestringrequired
          Daily cutoff of manual payment (HH:MM, Bogotá, business days).
          pattern ^([01]\d|2[0-3]):[0-5]\d$Example: "15:30"
    • fxobjectrequired
      Conversions (both sides must comply).
      Show 4 fields
      • COPobjectrequired
        Limits of the COP side.
        Show 2 fields
        • minnumberrequired
          Minimum per conversion (COP).
          Example: 4000
        • maxnumberrequired
          Maximum per conversion (COP).
          Example: 4000000000
      • USDobjectrequired
        Limits of the USD side.
        Show 2 fields
        • minnumberrequired
          Minimum per conversion (USD).
          Example: 1
        • maxnumberrequired
          Maximum per conversion (USD).
          Example: 1000000
      • marketHoursobjectrequired
        FX market hours.
        Show 4 fields
        • modestringrequired
          Simulated hours.

          Values

          • ALWAYS_OPENAlways open (the sandbox default, like production's test users).
          • REALReal hours: Colombian business days, from open to close.
        • openstringrequired
          Opening (HH:MM, Bogotá).
          pattern ^([01]\d|2[0-3]):[0-5]\d$Example: "08:05"
        • closestringrequired
          Closing (HH:MM, Bogotá).
          pattern ^([01]\d|2[0-3]):[0-5]\d$Example: "15:30"
        • timezonestringrequired
          Time zone.
          Always "America/Bogota"
      • sameDayCutoffstringrequired
        Last time to quote SAME_DAY (HH:MM, Bogotá).
        pattern ^([01]\d|2[0-3]):[0-5]\d$Example: "13:00"
    • rechargeLinksobjectrequired
      PSE payment links.
      Show 3 fields
      • maxActiveintegerrequired
        Active links at once (CREATED or AWAITING_PAYMENT).
        Example: 15
      • minAmountnumberrequired
        Minimum amount of a link (COP).
        Example: 100000
      • maxAmountnumberrequired
        Maximum amount of a link (COP).
        Example: 1000000000
    • breBKeysobjectrequired
      Own Bre-B keys.
      Show 1 field
      • maxintegerrequired
        Bre-B keys per workspace.
        Example: 5
  • 401The access token is missing, invalid or expired.

  • 403The `X-API-Key` is missing, invalid or does not match the token.

  • 429Too many requests: wait the seconds in `Retry-After`.

  • 500Internal error.

Errors

The exact causes this operation can answer, from the error catalog. Compare error and the HTTP status; the cause text is stable but meant for people.

HTTPerrorcauseDescription

Also, like every authenticated endpoint: 401 Unauthorized, 403 Forbidden, 429 Too Many Requests (with Retry-After) and 500.

Examples

Sandbox default limits200

Request

curl https://sandbox.zulu.com.co/v1/limits \
  -H "Authorization: Bearer $ZULU_ACCESS_TOKEN" \
  -H "X-API-Key: $ZULU_API_KEY"

Response 200

{
  "transfer": {
    "breB": {
      "maxAmount": 12110000
    },
    "ach": {
      "maxAmount": 250000000,
      "dailyCount": 10000,
      "dailyAmount": 999999999999999,
      "usedToday": {
        "count": 3,
        "amount": 4500000
      }
    },
    "manual": {
      "cutoffTime": "15:30"
    }
  },
  "fx": {
    "COP": {
      "min": 4000,
      "max": 4000000000
    },
    "USD": {
      "min": 1,
      "max": 1000000
    },
    "marketHours": {
      "mode": "ALWAYS_OPEN",
      "open": "08:05",
      "close": "15:30",
      "timezone": "America/Bogota"
    },
    "sameDayCutoff": "13:00"
  },
  "rechargeLinks": {
    "maxActive": 15,
    "minAmount": 100000,
    "maxAmount": 1000000000
  },
  "breBKeys": {
    "max": 5
  }
}