{
  "info": {
    "name": "Finanxis Business API (EN)",
    "description": "1. Open the collection → Variables and set your `key` (pk_test_…) and `secret` (sk_test_…).\n2. Run **Test your integration**.\n3. Create a charge: its id is saved in `cobro_id` to get or cancel it.\n\nThe HMAC signature is computed automatically in the pre-request script. Guide: https://business.finanxis.net/docs/en",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://sandbox.finanxis.net/business/v0"
    },
    {
      "key": "key",
      "value": "pk_test_..."
    },
    {
      "key": "secret",
      "value": "sk_test_..."
    },
    {
      "key": "cobro_id",
      "value": ""
    }
  ],
  "event": [
    {
      "listen": "prerequest",
      "script": {
        "type": "text/javascript",
        "exec": [
          "const secret = pm.variables.get(\"secret\");",
          "if (!secret || secret.startsWith(\"sk_test_...\")) throw new Error(\"Configura la variable 'secret' de la colección / Set the collection 'secret' variable\");",
          "const ts = Math.floor(Date.now() / 1000).toString();",
          "const method = pm.request.method.toUpperCase();",
          "const full = pm.variables.replaceIn(pm.request.url.toString());",
          "const pathQuery = full.replace(/^https?:\\/\\/[^/]+/, \"\");",
          "const body = method === \"GET\" || method === \"DELETE\" ? \"\" : pm.variables.replaceIn((pm.request.body && pm.request.body.raw) || \"\");",
          "const firma = CryptoJS.HmacSHA256(ts + \".\" + method + \".\" + pathQuery + \".\" + body, secret).toString(CryptoJS.enc.Hex);",
          "pm.request.headers.upsert({ key: \"X-Finanxis-Key\", value: pm.variables.get(\"key\") });",
          "pm.request.headers.upsert({ key: \"X-Finanxis-Timestamp\", value: ts });",
          "pm.request.headers.upsert({ key: \"X-Finanxis-Signature\", value: firma });"
        ]
      }
    },
    {
      "listen": "test",
      "script": {
        "type": "text/javascript",
        "exec": [
          "const r = pm.response.json();",
          "pm.test(\"success\", () => pm.expect(r.success, r.data && r.data.error ? r.data.error.code + \": \" + r.data.error.como_resolver : \"\").to.be.true);",
          "if (r.success && r.data && typeof r.data.id === \"string\" && r.data.id.length) pm.collectionVariables.set(\"cobro_id\", r.data.id);"
        ]
      }
    }
  ],
  "item": [
    {
      "name": "Integration",
      "item": [
        {
          "name": "Test your integration",
          "request": {
            "method": "GET",
            "description": "If it returns `success: true`, your key and signature are set up correctly. Use it as your first step.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/ping",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ping"
              ]
            }
          }
        }
      ]
    },
    {
      "name": "Sandbox",
      "item": [
        {
          "name": "Top up a wallet with test money",
          "request": {
            "method": "POST",
            "description": "**Sandbox only.** Adds test balance to your wallet so you can try payouts and refunds. In production wallets are funded as `GET /fondeo` explains.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sandbox/fondear",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sandbox",
                "fondear"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"moneda\": \"USDT\",\n  \"monto\": 1000\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Simulate the customer paying a charge",
          "request": {
            "method": "POST",
            "description": "**Sandbox only.** A test customer pays the `PENDIENTE` charge in its own currency: the charge becomes `PAGADO`, your wallet gets the net amount and you receive `cobro.pagado`, just like when a real customer scans the QR. The payment can then be used to try refunds.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sandbox/cobros/{{cobro_id}}/pagar",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sandbox",
                "cobros",
                "{{cobro_id}}",
                "pagar"
              ]
            }
          }
        },
        {
          "name": "Simulate the customer declining a charge",
          "request": {
            "method": "POST",
            "description": "**Sandbox only.** The `PENDIENTE` charge becomes `RECHAZADO` (final) and you receive `cobro.rechazado`. To try an expired charge, create it with `expira_en_segundos: 60` and wait.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sandbox/cobros/{{cobro_id}}/rechazar",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sandbox",
                "cobros",
                "{{cobro_id}}",
                "rechazar"
              ]
            }
          }
        },
        {
          "name": "List your sandbox webhook endpoints",
          "request": {
            "method": "GET",
            "description": "**Sandbox only.** In production webhooks are registered in the dashboard; in sandbox, with these routes. The full secret is only shown when the endpoint is created.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sandbox/webhooks",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sandbox",
                "webhooks"
              ]
            }
          }
        },
        {
          "name": "Register a sandbox webhook endpoint",
          "request": {
            "method": "POST",
            "description": "**Sandbox only.** Registers the `https://` URL where you want sandbox events (up to 5). Store `secreto` (`whsec_…`): it is shown only once and you verify `Finanxis-Signature` with it. Use `eventos: [\"*\"]` to receive all of them.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sandbox/webhooks",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sandbox",
                "webhooks"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"url\": \"https://tu-servidor.com/webhooks/finanxis\",\n  \"eventos\": [\n    \"*\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Delete a sandbox webhook endpoint",
          "request": {
            "method": "DELETE",
            "description": "**Sandbox only.** Stops sending events to that URL and deletes its delivery history.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sandbox/webhooks/{{cobro_id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sandbox",
                "webhooks",
                "{{cobro_id}}"
              ]
            }
          }
        }
      ]
    },
    {
      "name": "Charges",
      "item": [
        {
          "name": "Create a charge",
          "request": {
            "method": "POST",
            "description": "Creates the charge the checkout QR will show. If the checkout already has a pending charge, returns `CONFLICTO_ESTADO`: cancel it or let it expire. Retrying with the same `Idempotency-Key` returns the same charge (200 with header `Idempotent-Replayed: true`).",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}",
                "description": "Unique per operation (use your ticket number)."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/cobros",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "cobros"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"caja_id\": \"caja_8x2k1m\",\n  \"monto\": 21000.5,\n  \"moneda\": \"VES\",\n  \"referencia_externa\": \"TICKET-55821\",\n  \"expira_en_segundos\": 180\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "List charges",
          "request": {
            "method": "GET",
            "description": "Newest first. Paginate with `cursor`.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/cobros",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "cobros"
              ],
              "query": [
                {
                  "key": "estado",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "caja_id",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "desde",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "hasta",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limite",
                  "value": "20",
                  "disabled": false
                },
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                }
              ]
            }
          }
        },
        {
          "name": "Get a charge",
          "request": {
            "method": "GET",
            "description": "Use it if you missed the webhook or to confirm the status before handing over the purchase.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/cobros/{{cobro_id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "cobros",
                "{{cobro_id}}"
              ]
            }
          }
        },
        {
          "name": "Cancel a charge",
          "request": {
            "method": "POST",
            "description": "Only `PENDIENTE` charges. A paid or expired charge cannot be canceled; canceling twice is not an error.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/cobros/{{cobro_id}}/cancelar",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "cobros",
                "{{cobro_id}}",
                "cancelar"
              ]
            }
          }
        }
      ]
    },
    {
      "name": "Payments",
      "item": [
        {
          "name": "List received payments",
          "request": {
            "method": "GET",
            "description": "Paid charges, newest first. Includes the currency the customer paid with, the fee and the net amount.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/pagos",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "pagos"
              ],
              "query": [
                {
                  "key": "caja_id",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "sucursal_id",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "desde",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "hasta",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limite",
                  "value": "20",
                  "disabled": false
                },
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                }
              ]
            }
          }
        },
        {
          "name": "Get a payment",
          "request": {
            "method": "GET",
            "description": "The payment with its refunds, what can still be refunded and until when.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/pagos/{{cobro_id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "pagos",
                "{{cobro_id}}"
              ]
            }
          }
        },
        {
          "name": "Refund a payment",
          "request": {
            "method": "POST",
            "description": "Full (no `monto`) or partial, up to 30 days after the payment. It is the exact reversal: the customer gets their share back in the same wallet and currency they paid with (same rate), your share of the net is debited and Finanxis returns its share of the fee. You need balance in the charge currency (`SALDO_INSUFICIENTE` otherwise). We notify you with `pago.reembolsado`.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}",
                "description": "Unique per operation (use your ticket number)."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/pagos/{{cobro_id}}/reembolsos",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "pagos",
                "{{cobro_id}}",
                "reembolsos"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"monto\": 5000,\n  \"motivo\": \"Producto devuelto\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        }
      ]
    },
    {
      "name": "Payouts",
      "item": [
        {
          "name": "How to build the body (destinations & requirements)",
          "request": {
            "method": "GET",
            "description": "Your source wallets (USDT, CLP, USD) with their balance, and for each destination country its payment methods, the data each one requires (`campos`) and the list of `bancos`.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/payouts/destinos",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "payouts",
                "destinos"
              ],
              "query": [
                {
                  "key": "moneda_destino",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "metodo",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "moneda_origen",
                  "value": "",
                  "disabled": true
                }
              ]
            }
          }
        },
        {
          "name": "Payout rates",
          "request": {
            "method": "GET",
            "description": "How many units of each destination currency the beneficiary gets per 1 unit of your source wallet (`moneda_origen`: USDT, CLP or USD), and the minimum per payout. `especial: true` = route with a special rate Finanxis approved for your company (updated every 30 s); your payouts on that route are quoted at that rate. Informational only: the rate that applies is the one in the quote (POST /payouts). To get them by webhook see PUT /payouts/tasas/suscripcion.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/payouts/tasas",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "payouts",
                "tasas"
              ],
              "query": [
                {
                  "key": "moneda_origen",
                  "value": "USDT",
                  "disabled": false
                }
              ]
            }
          }
        },
        {
          "name": "Rates by webhook: get subscription",
          "request": {
            "method": "GET",
            "description": "The pairs (`ORIGIN-DESTINATION`) you get in the `tasa.actualizada` webhook, the available ones and how many active endpoints receive it. Available = the payout pairs (USDT, CLP or USD → VES or COP) plus the special rates Finanxis approved for your company (`especial: true`, they can be other pairs such as USDT-ARS).",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/payouts/tasas/suscripcion",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "payouts",
                "tasas",
                "suscripcion"
              ]
            }
          }
        },
        {
          "name": "Rates by webhook: choose pairs",
          "request": {
            "method": "PUT",
            "description": "Choose which rates you want, among the `disponibles` of GET /payouts/tasas/suscripcion. Every **30 s** we check your pairs and, if any changed, we send `tasa.actualizada` with all the chosen ones (special ones included). Replaces the list; `[]` turns it off. Also add the `tasa.actualizada` event to a webhook endpoint in the dashboard.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/payouts/tasas/suscripcion",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "payouts",
                "tasas",
                "suscripcion"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"pares\": [\n    \"USDT-VES\",\n    \"USDT-COP\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Fund your wallets",
          "request": {
            "method": "GET",
            "description": "Balance of your source wallets (USDT, CLP, USD), your addresses to deposit USDT per network (BEP20 is created the first time) and the account to fund CLP by bank transfer. In the dashboard (Fondos) you can create addresses on other networks and see how to fund the other currencies.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/fondeo",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "fondeo"
              ]
            }
          }
        },
        {
          "name": "1. Create (quote) a payout",
          "request": {
            "method": "POST",
            "description": "Creates the payout with the source wallet (`moneda_origen`), destination currency, method and beneficiary data (see GET /payouts/destinos), and `monto_origen` or `monto_destino`. Returns the **rate**, both amounts and `expira_en`. **Nothing is debited**: confirm it with POST /payouts/{id}/confirmar before it expires. `saldo_suficiente` tells you if your balance is enough today.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}",
                "description": "Unique per operation (use your ticket number)."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/payouts",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "payouts"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"moneda_origen\": \"USDT\",\n  \"moneda_destino\": \"VES\",\n  \"monto_destino\": 50000,\n  \"referencia_externa\": \"liq-2026-11-09-001\",\n  \"beneficiario\": {\n    \"metodo\": \"pago_movil\",\n    \"documento\": \"V12345678\",\n    \"telefono\": \"04121234567\",\n    \"banco\": \"0102\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "List payouts",
          "request": {
            "method": "GET",
            "description": "Your payouts, newest first. Filter by `estado` or `referencia_externa`. Paginate with `cursor`.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/payouts",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "payouts"
              ],
              "query": [
                {
                  "key": "estado",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "referencia_externa",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limite",
                  "value": "20",
                  "disabled": false
                },
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                }
              ]
            }
          }
        },
        {
          "name": "2. Confirm the payout",
          "request": {
            "method": "POST",
            "description": "Confirms the quote at its rate: debits `monto_origen` from your wallet and the payout moves PENDIENTE → EN_PROCESO → PAGADO (or RECHAZADO, refunded to your wallet). Without balance it returns `SALDO_INSUFICIENTE`: fund and confirm again before it expires. Confirming again never debits twice.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/payouts/{{cobro_id}}/confirmar",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "payouts",
                "{{cobro_id}}",
                "confirmar"
              ]
            }
          }
        },
        {
          "name": "Cancel a quote",
          "request": {
            "method": "POST",
            "description": "Cancels a payout you have not confirmed yet. A confirmed one can no longer be cancelled.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/payouts/{{cobro_id}}/cancelar",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "payouts",
                "{{cobro_id}}",
                "cancelar"
              ]
            }
          }
        },
        {
          "name": "Get a payout",
          "request": {
            "method": "GET",
            "description": "Current status: COTIZADO, EXPIRADO or CANCELADO (before confirming); PENDIENTE → EN_PROCESO → PAGADO (with `comprobante_url`) or RECHAZADO (refunded to your wallet).",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/payouts/{{cobro_id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "payouts",
                "{{cobro_id}}"
              ]
            }
          }
        }
      ]
    },
    {
      "name": "Receive VES payments",
      "item": [
        {
          "name": "Account to receive payments",
          "request": {
            "method": "GET",
            "description": "The details you show your customer at checkout so they can pay: bank transfer (bank, RIF and account) and pago móvil (bank, RIF and phone). A method that is not available comes as `null`. Includes the fee and the maximum amount per payment.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/payins/ves/cuenta",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "payins",
                "ves",
                "cuenta"
              ]
            }
          }
        },
        {
          "name": "Report a payment",
          "request": {
            "method": "POST",
            "description": "Send the payment your customer reported on your website: method, amount, bank reference, date, ID or RIF of the payer, origin bank (required for bank transfer) and phone (for pago móvil). Any person or company can pay. Returns **202** with `estado: EN_VERIFICACION`; the result arrives by webhook (`payin.aprobado` or `payin.rechazado`). Each reference can be reported only once. Maximum 5,000,000 VES per payment.",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}",
                "description": "Unique per operation (use your ticket number)."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/payins/ves",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "payins",
                "ves"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"metodo\": \"pago_movil\",\n  \"monto\": 1500.5,\n  \"referencia\": \"123456789012\",\n  \"fecha\": \"2026-12-03\",\n  \"telefono\": \"04141234567\",\n  \"documento\": \"V12345678\",\n  \"banco_origen\": \"0102\",\n  \"referencia_externa\": \"PEDIDO-123\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "List payments",
          "request": {
            "method": "GET",
            "description": "Your reported VES payments, newest first. Filter by `estado` or `referencia_externa`. Paginate with `cursor`.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/payins/ves",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "payins",
                "ves"
              ],
              "query": [
                {
                  "key": "estado",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "referencia_externa",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limite",
                  "value": "20",
                  "disabled": false
                },
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                }
              ]
            }
          }
        },
        {
          "name": "Get a payment",
          "request": {
            "method": "GET",
            "description": "Current status: EN_VERIFICACION, APROBADO (with `bruto`, `comision`, `neto` and `movimiento_id`) or RECHAZADO (with `motivo`).",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/payins/ves/{{cobro_id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "payins",
                "ves",
                "{{cobro_id}}"
              ]
            }
          }
        }
      ]
    },
    {
      "name": "Balances & statement",
      "item": [
        {
          "name": "Get balances",
          "request": {
            "method": "GET",
            "description": "The balance of each of your business wallets.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/saldos",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "saldos"
              ]
            }
          }
        },
        {
          "name": "Account statement",
          "request": {
            "method": "GET",
            "description": "Every inflow and outflow of your wallets (charges, refunds, top-ups, transfers…), newest first. Paginate with `cursor`.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/movimientos",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "movimientos"
              ],
              "query": [
                {
                  "key": "moneda",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "desde",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "hasta",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limite",
                  "value": "20",
                  "disabled": false
                },
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                }
              ]
            }
          }
        }
      ]
    },
    {
      "name": "Branches & checkouts",
      "item": [
        {
          "name": "List branches",
          "request": {
            "method": "GET",
            "description": "Your branches with their number of checkouts.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sucursales",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sucursales"
              ],
              "query": [
                {
                  "key": "activa",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limite",
                  "value": "20",
                  "disabled": false
                },
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                }
              ]
            }
          }
        },
        {
          "name": "Get a branch",
          "request": {
            "method": "GET",
            "description": "The branch with all its checkouts.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sucursales/{{cobro_id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sucursales",
                "{{cobro_id}}"
              ]
            }
          }
        },
        {
          "name": "List checkouts",
          "request": {
            "method": "GET",
            "description": "All your checkouts with their fixed QR. Filter by branch or status.",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/cajas",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "cajas"
              ],
              "query": [
                {
                  "key": "sucursal_id",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "activa",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limite",
                  "value": "20",
                  "disabled": false
                },
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                }
              ]
            }
          }
        },
        {
          "name": "Get a checkout",
          "request": {
            "method": "GET",
            "description": "The checkout, its branch and the id of its pending charge (if any).",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/cajas/{{cobro_id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "cajas",
                "{{cobro_id}}"
              ]
            }
          }
        }
      ]
    }
  ]
}