{
  "info": {
    "name": "Merchant API",
    "description": "Generated from openapi/openapi.yaml.\n\nBefore sending requests, set collection or environment variables:\n- baseUrl, for example https://panama.deepayment.com/api/v1\n- accessKey\n\nRequests are authenticated with an Ed25519 signature (RFC 9421) and POST bodies are X25519 sealed-box envelopes.\nPostman cannot compute these on its own: fill Signature-Input, Signature, Content-Digest, and the encrypted body from the platform SDK, or use this collection as a request catalog only.\nSee the Authentication guide for the wire protocol.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://panama.deepayment.com/api/v1"
    },
    {
      "key": "accessKey",
      "value": "your_access_key"
    },
    {
      "key": "signatureInput",
      "value": ""
    },
    {
      "key": "signature",
      "value": ""
    },
    {
      "key": "contentDigest",
      "value": ""
    },
    {
      "key": "idempotencyKey",
      "value": ""
    },
    {
      "key": "paymentMerchantOrderNo",
      "value": "M202605060001"
    },
    {
      "key": "paymentOrderNo",
      "value": "FP202605060001"
    },
    {
      "key": "payoutMerchantOrderNo",
      "value": "P202605060001"
    },
    {
      "key": "payoutOrderNo",
      "value": "FO202605060001"
    },
    {
      "key": "currency",
      "value": "BRL"
    },
    {
      "key": "merchantPlanNo",
      "value": "merchant_plan_monthly_001"
    },
    {
      "key": "planNo",
      "value": "plan_example_001"
    },
    {
      "key": "merchantSessionNo",
      "value": "checkout_user_1001_001"
    },
    {
      "key": "merchantSubscriptionNo",
      "value": "membership_user_1001"
    },
    {
      "key": "merchantCustomerNo",
      "value": "user_1001"
    },
    {
      "key": "subscriptionNo",
      "value": "sub_example_001"
    },
    {
      "key": "invoiceNo",
      "value": "inv_example_001"
    },
    {
      "key": "subscriptionPaymentOrderNo",
      "value": "FP_example_001"
    },
    {
      "key": "planStatus",
      "value": "2"
    },
    {
      "key": "subscriptionStatus",
      "value": "3"
    },
    {
      "key": "invoiceStatus",
      "value": "3"
    },
    {
      "key": "page",
      "value": "1"
    },
    {
      "key": "pageSize",
      "value": "20"
    },
    {
      "key": "startTime",
      "value": "1782864000000"
    },
    {
      "key": "endTime",
      "value": "1785542400000"
    }
  ],
  "item": [
    {
      "name": "Payments",
      "item": [
        {
          "name": "Create payment order - BRL PIX",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Content-Encryption",
                "value": "sealedbox-v1-x25519-xsalsa20poly1305"
              },
              {
                "key": "Content-Digest",
                "value": "{{contentDigest}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Merchant-Access-Key",
                "value": "{{accessKey}}"
              },
              {
                "key": "Signature-Input",
                "value": "{{signatureInput}}"
              },
              {
                "key": "Signature",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/payments",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "payments"
              ],
              "query": []
            },
            "description": "Create a payment order. `paymentMethod` always includes `code`; then pass the lowerCamelCase branch field that matches the code. Methods without payload only need `code`.\n\n- `PIX` -> `paymentMethod.pix`\n- `PSE` -> `paymentMethod.pse`\n- `BANK_TRANSFER` -> `paymentMethod.bankTransfer`\n\nFor complete codes, country/currency support, and payload fields, see the payment method reference.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"merchantOrderNo\": \"M202605060001\",\n  \"currency\": \"BRL\",\n  \"amount\": \"250\",\n  \"country\": \"BR\",\n  \"paymentMethod\": {\n    \"code\": \"PIX\",\n    \"pix\": {\n      \"payerCPF\": \"12345678901\",\n      \"payerName\": \"Joao Silva\"\n    }\n  },\n  \"returnUrl\": \"https://merchant.example/return\",\n  \"webhookUrl\": \"https://merchant.example/webhook/payment\",\n  \"attach\": \"user_123\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Create payment order - COP PSE",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Content-Encryption",
                "value": "sealedbox-v1-x25519-xsalsa20poly1305"
              },
              {
                "key": "Content-Digest",
                "value": "{{contentDigest}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Merchant-Access-Key",
                "value": "{{accessKey}}"
              },
              {
                "key": "Signature-Input",
                "value": "{{signatureInput}}"
              },
              {
                "key": "Signature",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/payments",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "payments"
              ],
              "query": []
            },
            "description": "Create a payment order. `paymentMethod` always includes `code`; then pass the lowerCamelCase branch field that matches the code. Methods without payload only need `code`.\n\n- `PIX` -> `paymentMethod.pix`\n- `PSE` -> `paymentMethod.pse`\n- `BANK_TRANSFER` -> `paymentMethod.bankTransfer`\n\nFor complete codes, country/currency support, and payload fields, see the payment method reference.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"merchantOrderNo\": \"M202605060002\",\n  \"currency\": \"COP\",\n  \"amount\": \"100\",\n  \"country\": \"CO\",\n  \"paymentMethod\": {\n    \"code\": \"PSE\",\n    \"pse\": {\n      \"customerName\": \"Juan Perez\",\n      \"customerPhone\": \"3001234567\",\n      \"customerEmail\": \"juan@example.com\",\n      \"documentType\": \"CC\",\n      \"documentNumber\": \"1234567890\",\n      \"bankCode\": \"1007\"\n    }\n  },\n  \"webhookUrl\": \"https://merchant.example/webhook/payment\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Create payment order - ARS BANK_TRANSFER",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Content-Encryption",
                "value": "sealedbox-v1-x25519-xsalsa20poly1305"
              },
              {
                "key": "Content-Digest",
                "value": "{{contentDigest}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Merchant-Access-Key",
                "value": "{{accessKey}}"
              },
              {
                "key": "Signature-Input",
                "value": "{{signatureInput}}"
              },
              {
                "key": "Signature",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/payments",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "payments"
              ],
              "query": []
            },
            "description": "Create a payment order. `paymentMethod` always includes `code`; then pass the lowerCamelCase branch field that matches the code. Methods without payload only need `code`.\n\n- `PIX` -> `paymentMethod.pix`\n- `PSE` -> `paymentMethod.pse`\n- `BANK_TRANSFER` -> `paymentMethod.bankTransfer`\n\nFor complete codes, country/currency support, and payload fields, see the payment method reference.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"merchantOrderNo\": \"ars-bank-demo-001\",\n  \"currency\": \"ARS\",\n  \"amount\": \"1000.00\",\n  \"paymentMethod\": {\n    \"code\": \"BANK_TRANSFER\",\n    \"bankTransfer\": {\n      \"firstName\": \"Ana\",\n      \"lastName\": \"Perez\",\n      \"email\": \"ana@example.com\",\n      \"documentType\": \"DNI\",\n      \"documentNumber\": \"30123456\"\n    }\n  },\n  \"webhookUrl\": \"https://merchant.example.com/webhook\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Create payment order - ARS CVU",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Content-Encryption",
                "value": "sealedbox-v1-x25519-xsalsa20poly1305"
              },
              {
                "key": "Content-Digest",
                "value": "{{contentDigest}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Merchant-Access-Key",
                "value": "{{accessKey}}"
              },
              {
                "key": "Signature-Input",
                "value": "{{signatureInput}}"
              },
              {
                "key": "Signature",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/payments",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "payments"
              ],
              "query": []
            },
            "description": "Create a payment order. `paymentMethod` always includes `code`; then pass the lowerCamelCase branch field that matches the code. Methods without payload only need `code`.\n\n- `PIX` -> `paymentMethod.pix`\n- `PSE` -> `paymentMethod.pse`\n- `BANK_TRANSFER` -> `paymentMethod.bankTransfer`\n\nFor complete codes, country/currency support, and payload fields, see the payment method reference.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"merchantOrderNo\": \"ars-cvu-demo-001\",\n  \"currency\": \"ARS\",\n  \"amount\": \"1000.00\",\n  \"paymentMethod\": {\n    \"code\": \"CVU\",\n    \"cvu\": {\n      \"firstName\": \"Ana\",\n      \"lastName\": \"Perez\",\n      \"email\": \"ana@example.com\",\n      \"phone\": \"1123456789\",\n      \"documentType\": \"DNI\",\n      \"documentNumber\": \"30123456\"\n    }\n  },\n  \"webhookUrl\": \"https://merchant.example.com/webhook\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Create payment order - ARS QRIS",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Content-Encryption",
                "value": "sealedbox-v1-x25519-xsalsa20poly1305"
              },
              {
                "key": "Content-Digest",
                "value": "{{contentDigest}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Merchant-Access-Key",
                "value": "{{accessKey}}"
              },
              {
                "key": "Signature-Input",
                "value": "{{signatureInput}}"
              },
              {
                "key": "Signature",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/payments",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "payments"
              ],
              "query": []
            },
            "description": "Create a payment order. `paymentMethod` always includes `code`; then pass the lowerCamelCase branch field that matches the code. Methods without payload only need `code`.\n\n- `PIX` -> `paymentMethod.pix`\n- `PSE` -> `paymentMethod.pse`\n- `BANK_TRANSFER` -> `paymentMethod.bankTransfer`\n\nFor complete codes, country/currency support, and payload fields, see the payment method reference.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"merchantOrderNo\": \"ars-qris-demo-001\",\n  \"currency\": \"ARS\",\n  \"amount\": \"1000.00\",\n  \"paymentMethod\": {\n    \"code\": \"QRIS\",\n    \"qris\": {\n      \"firstName\": \"Ana\",\n      \"lastName\": \"Perez\",\n      \"email\": \"ana@example.com\",\n      \"phone\": \"1123456789\",\n      \"documentType\": \"DNI\",\n      \"documentNumber\": \"30123456\"\n    }\n  },\n  \"webhookUrl\": \"https://merchant.example.com/webhook\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Create payment order - USD CASH_APP",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Content-Encryption",
                "value": "sealedbox-v1-x25519-xsalsa20poly1305"
              },
              {
                "key": "Content-Digest",
                "value": "{{contentDigest}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Merchant-Access-Key",
                "value": "{{accessKey}}"
              },
              {
                "key": "Signature-Input",
                "value": "{{signatureInput}}"
              },
              {
                "key": "Signature",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/payments",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "payments"
              ],
              "query": []
            },
            "description": "Create a payment order. `paymentMethod` always includes `code`; then pass the lowerCamelCase branch field that matches the code. Methods without payload only need `code`.\n\n- `PIX` -> `paymentMethod.pix`\n- `PSE` -> `paymentMethod.pse`\n- `BANK_TRANSFER` -> `paymentMethod.bankTransfer`\n\nFor complete codes, country/currency support, and payload fields, see the payment method reference.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"merchantOrderNo\": \"usd-wallet-demo-001\",\n  \"currency\": \"USD\",\n  \"country\": \"US\",\n  \"amount\": \"10.01\",\n  \"webhookUrl\": \"https://merchant.example.com/webhook\",\n  \"paymentMethod\": {\n    \"code\": \"CASH_APP\",\n    \"cashApp\": {\n      \"name\": \"Alex Morgan\",\n      \"phone\": \"+12025550123\",\n      \"email\": \"alex@example.com\",\n      \"ipAddress\": \"203.0.113.10\"\n    }\n  },\n  \"returnUrl\": \"https://merchant.example.com/return\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        }
      ]
    },
    {
      "name": "Payouts",
      "item": [
        {
          "name": "Create payout order - BRL PIX",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Content-Encryption",
                "value": "sealedbox-v1-x25519-xsalsa20poly1305"
              },
              {
                "key": "Content-Digest",
                "value": "{{contentDigest}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Merchant-Access-Key",
                "value": "{{accessKey}}"
              },
              {
                "key": "Signature-Input",
                "value": "{{signatureInput}}"
              },
              {
                "key": "Signature",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/payouts",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "payouts"
              ],
              "query": []
            },
            "description": "Create a payout order. `payoutMethod` always includes `code`; then pass the lowerCamelCase branch field that matches the code.\n\n- `PIX` -> `payoutMethod.pix`\n- `BANK_TRANSFER` -> `payoutMethod.bankTransfer`\n- `BREB` -> `payoutMethod.breb`\n\nFor complete codes, country/currency support, and payload fields, see the payout method reference. After an HTTP timeout, 5xx, or broken connection, query the order before retrying with a new merchant order number.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"merchantOrderNo\": \"P202605060001\",\n  \"currency\": \"BRL\",\n  \"amount\": \"3\",\n  \"country\": \"BR\",\n  \"payoutMethod\": {\n    \"code\": \"PIX\",\n    \"pix\": {\n      \"keyType\": \"CPF\",\n      \"key\": \"12345678901\",\n      \"document\": \"12345678901\",\n      \"accountName\": \"Maria Silva\"\n    }\n  },\n  \"webhookUrl\": \"https://merchant.example/webhook/payout\",\n  \"attach\": \"withdraw_123\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Create payout order - PEN BANK_TRANSFER",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Content-Encryption",
                "value": "sealedbox-v1-x25519-xsalsa20poly1305"
              },
              {
                "key": "Content-Digest",
                "value": "{{contentDigest}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Merchant-Access-Key",
                "value": "{{accessKey}}"
              },
              {
                "key": "Signature-Input",
                "value": "{{signatureInput}}"
              },
              {
                "key": "Signature",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/payouts",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "payouts"
              ],
              "query": []
            },
            "description": "Create a payout order. `payoutMethod` always includes `code`; then pass the lowerCamelCase branch field that matches the code.\n\n- `PIX` -> `payoutMethod.pix`\n- `BANK_TRANSFER` -> `payoutMethod.bankTransfer`\n- `BREB` -> `payoutMethod.breb`\n\nFor complete codes, country/currency support, and payload fields, see the payout method reference. After an HTTP timeout, 5xx, or broken connection, query the order before retrying with a new merchant order number.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"merchantOrderNo\": \"P202605060002\",\n  \"currency\": \"PEN\",\n  \"amount\": \"100\",\n  \"country\": \"PE\",\n  \"payoutMethod\": {\n    \"code\": \"BANK_TRANSFER\",\n    \"bankTransfer\": {\n      \"customerPhone\": \"912345678\",\n      \"customerEmail\": \"maria@example.com\",\n      \"documentType\": \"DNI\",\n      \"documentNumber\": \"12345678\",\n      \"accountName\": \"Maria Silva\",\n      \"accountNo\": \"00123456789\",\n      \"accountType\": \"SAVINGS\",\n      \"bankCode\": \"002\",\n      \"cciNo\": \"00212345678901234567\"\n    }\n  },\n  \"webhookUrl\": \"https://merchant.example/webhook/payout\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Create payout order - ARS BANK_TRANSFER - CBU",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Content-Encryption",
                "value": "sealedbox-v1-x25519-xsalsa20poly1305"
              },
              {
                "key": "Content-Digest",
                "value": "{{contentDigest}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Merchant-Access-Key",
                "value": "{{accessKey}}"
              },
              {
                "key": "Signature-Input",
                "value": "{{signatureInput}}"
              },
              {
                "key": "Signature",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/payouts",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "payouts"
              ],
              "query": []
            },
            "description": "Create a payout order. `payoutMethod` always includes `code`; then pass the lowerCamelCase branch field that matches the code.\n\n- `PIX` -> `payoutMethod.pix`\n- `BANK_TRANSFER` -> `payoutMethod.bankTransfer`\n- `BREB` -> `payoutMethod.breb`\n\nFor complete codes, country/currency support, and payload fields, see the payout method reference. After an HTTP timeout, 5xx, or broken connection, query the order before retrying with a new merchant order number.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"merchantOrderNo\": \"ars-payout-cbu-demo-001\",\n  \"currency\": \"ARS\",\n  \"amount\": \"1000.00\",\n  \"payoutMethod\": {\n    \"code\": \"BANK_TRANSFER\",\n    \"bankTransfer\": {\n      \"firstName\": \"Ana\",\n      \"lastName\": \"Perez\",\n      \"email\": \"ana@example.com\",\n      \"phone\": \"1123456789\",\n      \"address\": \"Av Example 123\",\n      \"documentType\": \"DNI\",\n      \"documentNumber\": \"30123456\",\n      \"accountType\": \"CBU\",\n      \"accountNo\": \"0000003100012345678901\"\n    }\n  },\n  \"webhookUrl\": \"https://merchant.example.com/webhook\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Create payout order - ARS BANK_TRANSFER - CVU",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Content-Encryption",
                "value": "sealedbox-v1-x25519-xsalsa20poly1305"
              },
              {
                "key": "Content-Digest",
                "value": "{{contentDigest}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Merchant-Access-Key",
                "value": "{{accessKey}}"
              },
              {
                "key": "Signature-Input",
                "value": "{{signatureInput}}"
              },
              {
                "key": "Signature",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/payouts",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "payouts"
              ],
              "query": []
            },
            "description": "Create a payout order. `payoutMethod` always includes `code`; then pass the lowerCamelCase branch field that matches the code.\n\n- `PIX` -> `payoutMethod.pix`\n- `BANK_TRANSFER` -> `payoutMethod.bankTransfer`\n- `BREB` -> `payoutMethod.breb`\n\nFor complete codes, country/currency support, and payload fields, see the payout method reference. After an HTTP timeout, 5xx, or broken connection, query the order before retrying with a new merchant order number.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"merchantOrderNo\": \"ars-payout-cvu-demo-001\",\n  \"currency\": \"ARS\",\n  \"amount\": \"1000.00\",\n  \"payoutMethod\": {\n    \"code\": \"BANK_TRANSFER\",\n    \"bankTransfer\": {\n      \"firstName\": \"Ana\",\n      \"lastName\": \"Perez\",\n      \"email\": \"ana@example.com\",\n      \"phone\": \"1123456789\",\n      \"address\": \"Av Example 123\",\n      \"documentType\": \"DNI\",\n      \"documentNumber\": \"30123456\",\n      \"accountType\": \"CVU\",\n      \"accountNo\": \"0000003100012345678901\"\n    }\n  },\n  \"webhookUrl\": \"https://merchant.example.com/webhook\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Create payout order - USD CASH_APP",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Content-Encryption",
                "value": "sealedbox-v1-x25519-xsalsa20poly1305"
              },
              {
                "key": "Content-Digest",
                "value": "{{contentDigest}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Merchant-Access-Key",
                "value": "{{accessKey}}"
              },
              {
                "key": "Signature-Input",
                "value": "{{signatureInput}}"
              },
              {
                "key": "Signature",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/payouts",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "payouts"
              ],
              "query": []
            },
            "description": "Create a payout order. `payoutMethod` always includes `code`; then pass the lowerCamelCase branch field that matches the code.\n\n- `PIX` -> `payoutMethod.pix`\n- `BANK_TRANSFER` -> `payoutMethod.bankTransfer`\n- `BREB` -> `payoutMethod.breb`\n\nFor complete codes, country/currency support, and payload fields, see the payout method reference. After an HTTP timeout, 5xx, or broken connection, query the order before retrying with a new merchant order number.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"merchantOrderNo\": \"usd-wallet-demo-001\",\n  \"currency\": \"USD\",\n  \"country\": \"US\",\n  \"amount\": \"10.01\",\n  \"webhookUrl\": \"https://merchant.example.com/webhook\",\n  \"payoutMethod\": {\n    \"code\": \"CASH_APP\",\n    \"cashApp\": {\n      \"name\": \"Alex Morgan\",\n      \"phone\": \"+12025550123\",\n      \"email\": \"alex@example.com\",\n      \"accountNo\": \"$example-recipient\",\n      \"firstName\": \"Alex\",\n      \"lastName\": \"Morgan\",\n      \"dateOfBirth\": \"1990-01-02\",\n      \"countryOfResidence\": \"US\",\n      \"stateOfResidence\": \"CA\",\n      \"cardCity\": \"Example City\",\n      \"cardStreet\": \"123 Example Street\",\n      \"cardPostCode\": \"90001\"\n    }\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Create payout order - USD PAYPAL",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Content-Encryption",
                "value": "sealedbox-v1-x25519-xsalsa20poly1305"
              },
              {
                "key": "Content-Digest",
                "value": "{{contentDigest}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Merchant-Access-Key",
                "value": "{{accessKey}}"
              },
              {
                "key": "Signature-Input",
                "value": "{{signatureInput}}"
              },
              {
                "key": "Signature",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/payouts",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "payouts"
              ],
              "query": []
            },
            "description": "Create a payout order. `payoutMethod` always includes `code`; then pass the lowerCamelCase branch field that matches the code.\n\n- `PIX` -> `payoutMethod.pix`\n- `BANK_TRANSFER` -> `payoutMethod.bankTransfer`\n- `BREB` -> `payoutMethod.breb`\n\nFor complete codes, country/currency support, and payload fields, see the payout method reference. After an HTTP timeout, 5xx, or broken connection, query the order before retrying with a new merchant order number.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"merchantOrderNo\": \"usd-wallet-demo-001\",\n  \"currency\": \"USD\",\n  \"country\": \"US\",\n  \"amount\": \"10.01\",\n  \"webhookUrl\": \"https://merchant.example.com/webhook\",\n  \"payoutMethod\": {\n    \"code\": \"PAYPAL\",\n    \"paypal\": {\n      \"name\": \"Alex Morgan\",\n      \"phone\": \"+12025550123\",\n      \"email\": \"alex@example.com\",\n      \"accountNo\": \"PAYPAL_ACCOUNT_PLACEHOLDER\",\n      \"firstName\": \"Alex\",\n      \"lastName\": \"Morgan\",\n      \"dateOfBirth\": \"1990-01-02\",\n      \"countryOfResidence\": \"US\",\n      \"stateOfResidence\": \"CA\",\n      \"cardCity\": \"Example City\",\n      \"cardStreet\": \"123 Example Street\",\n      \"cardPostCode\": \"90001\"\n    }\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Create payout order - USD CHIME",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Content-Encryption",
                "value": "sealedbox-v1-x25519-xsalsa20poly1305"
              },
              {
                "key": "Content-Digest",
                "value": "{{contentDigest}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Merchant-Access-Key",
                "value": "{{accessKey}}"
              },
              {
                "key": "Signature-Input",
                "value": "{{signatureInput}}"
              },
              {
                "key": "Signature",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/payouts",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "payouts"
              ],
              "query": []
            },
            "description": "Create a payout order. `payoutMethod` always includes `code`; then pass the lowerCamelCase branch field that matches the code.\n\n- `PIX` -> `payoutMethod.pix`\n- `BANK_TRANSFER` -> `payoutMethod.bankTransfer`\n- `BREB` -> `payoutMethod.breb`\n\nFor complete codes, country/currency support, and payload fields, see the payout method reference. After an HTTP timeout, 5xx, or broken connection, query the order before retrying with a new merchant order number.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"merchantOrderNo\": \"usd-wallet-demo-001\",\n  \"currency\": \"USD\",\n  \"country\": \"US\",\n  \"amount\": \"10.01\",\n  \"webhookUrl\": \"https://merchant.example.com/webhook\",\n  \"payoutMethod\": {\n    \"code\": \"CHIME\",\n    \"chime\": {\n      \"name\": \"Alex Morgan\",\n      \"phone\": \"+12025550123\",\n      \"email\": \"alex@example.com\",\n      \"accountNo\": \"CHIME_ACCOUNT_PLACEHOLDER\",\n      \"firstName\": \"Alex\",\n      \"lastName\": \"Morgan\",\n      \"dateOfBirth\": \"1990-01-02\",\n      \"countryOfResidence\": \"US\",\n      \"stateOfResidence\": \"CA\",\n      \"cardCity\": \"Example City\",\n      \"cardStreet\": \"123 Example Street\",\n      \"cardPostCode\": \"90001\"\n    }\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Query payout receipt",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Merchant-Access-Key",
                "value": "{{accessKey}}"
              },
              {
                "key": "Signature-Input",
                "value": "{{signatureInput}}"
              },
              {
                "key": "Signature",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/payouts/{{payoutOrderNo}}/receipt",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "payouts",
                "{{payoutOrderNo}}",
                "receipt"
              ],
              "query": []
            },
            "description": "Returns machine-readable receipt data. Receipt images are not exposed through the merchant gateway."
          }
        }
      ]
    },
    {
      "name": "Subscription Plans",
      "item": [
        {
          "name": "List Subscription Plans",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Merchant-Access-Key",
                "value": "{{accessKey}}"
              },
              {
                "key": "Signature-Input",
                "value": "{{signatureInput}}"
              },
              {
                "key": "Signature",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/subscription/plans",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "subscription",
                "plans"
              ],
              "query": [
                {
                  "key": "status",
                  "value": "{{planStatus}}",
                  "description": "Plan status filter. Omit for all statuses; UNKNOWN (0) cannot be selected as a filter.",
                  "disabled": true
                },
                {
                  "key": "page",
                  "value": "{{page}}",
                  "description": "Page number. Default 1.",
                  "disabled": true
                },
                {
                  "key": "pageSize",
                  "value": "{{pageSize}}",
                  "description": "Items per page. Default 20, maximum 100.",
                  "disabled": true
                }
              ]
            },
            "description": "Lists Plans for the current merchant. The only business filter is `status`."
          }
        },
        {
          "name": "Create Subscription Plan - Monthly MXN Plan",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Content-Encryption",
                "value": "sealedbox-v1-x25519-xsalsa20poly1305"
              },
              {
                "key": "Content-Digest",
                "value": "{{contentDigest}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Merchant-Access-Key",
                "value": "{{accessKey}}"
              },
              {
                "key": "Signature-Input",
                "value": "{{signatureInput}}"
              },
              {
                "key": "Signature",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/subscription/plans",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "subscription",
                "plans"
              ],
              "query": []
            },
            "description": "Creates a recurring billing Plan. `merchantPlanNo` is the idempotency key. HTTP 200 means a business response was returned; inspect both `operation.status` and `plan.status`.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"merchantPlanNo\": \"merchant_plan_monthly_001\",\n  \"name\": \"Monthly membership\",\n  \"description\": \"Monthly access\",\n  \"amount\": \"199.00\",\n  \"currency\": \"MXN\",\n  \"intervalUnit\": \"MONTH\",\n  \"intervalCount\": 1,\n  \"metadataJson\": \"{\\\"campaign\\\":\\\"summer\\\"}\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Update Subscription Plan Basic Info - Update basic information",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Content-Encryption",
                "value": "sealedbox-v1-x25519-xsalsa20poly1305"
              },
              {
                "key": "Content-Digest",
                "value": "{{contentDigest}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Merchant-Access-Key",
                "value": "{{accessKey}}"
              },
              {
                "key": "Signature-Input",
                "value": "{{signatureInput}}"
              },
              {
                "key": "Signature",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/subscription/plans/{{planNo}}/basic",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "subscription",
                "plans",
                "{{planNo}}",
                "basic"
              ],
              "query": []
            },
            "description": "Updates name, description, and metadataJson. `name` is required. Empty description or metadataJson keeps the old value; send metadataJson as the string `\"{}\"` to replace metadata with an empty object.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Monthly membership\",\n  \"description\": \"Updated description\",\n  \"metadataJson\": \"{\\\"campaign\\\":\\\"autumn\\\"}\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Query Subscription Plan",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Merchant-Access-Key",
                "value": "{{accessKey}}"
              },
              {
                "key": "Signature-Input",
                "value": "{{signatureInput}}"
              },
              {
                "key": "Signature",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/subscription/plans/{{planNo}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "subscription",
                "plans",
                "{{planNo}}"
              ],
              "query": []
            },
            "description": "Queries a Plan by the platform `planNo` in the path."
          }
        },
        {
          "name": "Archive Subscription Plan",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Content-Encryption",
                "value": "sealedbox-v1-x25519-xsalsa20poly1305"
              },
              {
                "key": "Content-Digest",
                "value": "{{contentDigest}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Merchant-Access-Key",
                "value": "{{accessKey}}"
              },
              {
                "key": "Signature-Input",
                "value": "{{signatureInput}}"
              },
              {
                "key": "Signature",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/subscription/plans/{{planNo}}/archive",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "subscription",
                "plans",
                "{{planNo}}",
                "archive"
              ],
              "query": []
            },
            "description": "Archives a Plan for new Checkout Sessions and triggers closure of its unfinished Checkout Links. Existing Subscriptions are not canceled."
          }
        }
      ]
    },
    {
      "name": "Subscription Checkout",
      "item": [
        {
          "name": "Create Subscription Checkout Session - Hosted checkout",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Content-Encryption",
                "value": "sealedbox-v1-x25519-xsalsa20poly1305"
              },
              {
                "key": "Content-Digest",
                "value": "{{contentDigest}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Merchant-Access-Key",
                "value": "{{accessKey}}"
              },
              {
                "key": "Signature-Input",
                "value": "{{signatureInput}}"
              },
              {
                "key": "Signature",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/subscription/checkout-sessions",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "subscription",
                "checkout-sessions"
              ],
              "query": []
            },
            "description": "Creates a hosted Checkout Session and its real Subscription in PENDING_CHECKOUT. `merchantSessionNo` is the idempotency key. `paymentMethod` is required and currently only supports `CARD`. Redirect only when the Operation succeeded and `checkoutUrl` is present; this does not mean the Subscription is active.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"merchantSubscriptionNo\": \"membership_user_1001\",\n  \"merchantSessionNo\": \"checkout_user_1001_001\",\n  \"planNo\": \"plan_example_001\",\n  \"merchantCustomerNo\": \"user_1001\",\n  \"email\": \"customer@example.com\",\n  \"phone\": \"+525500000001\",\n  \"paymentMethod\": \"CARD\",\n  \"returnUrl\": \"https://merchant.example/subscription/result\",\n  \"metadataJson\": \"{\\\"source\\\":\\\"account_page\\\"}\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        }
      ]
    },
    {
      "name": "Subscriptions",
      "item": [
        {
          "name": "Query Subscription",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Merchant-Access-Key",
                "value": "{{accessKey}}"
              },
              {
                "key": "Signature-Input",
                "value": "{{signatureInput}}"
              },
              {
                "key": "Signature",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/subscription/contracts/{{subscriptionNo}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "subscription",
                "contracts",
                "{{subscriptionNo}}"
              ],
              "query": []
            },
            "description": "Queries the authoritative current Subscription state by the platform number in the path."
          }
        },
        {
          "name": "List Subscriptions",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Merchant-Access-Key",
                "value": "{{accessKey}}"
              },
              {
                "key": "Signature-Input",
                "value": "{{signatureInput}}"
              },
              {
                "key": "Signature",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/subscription/contracts?merchantCustomerNo={{merchantCustomerNo}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "subscription",
                "contracts"
              ],
              "query": [
                {
                  "key": "merchantCustomerNo",
                  "value": "{{merchantCustomerNo}}",
                  "description": "Stable merchant customer identifier.",
                  "disabled": false
                },
                {
                  "key": "planNo",
                  "value": "{{planNo}}",
                  "description": "Platform Plan number. Cannot be combined with merchantPlanNo.",
                  "disabled": true
                },
                {
                  "key": "merchantPlanNo",
                  "value": "{{merchantPlanNo}}",
                  "description": "Merchant Plan number. Cannot be combined with planNo.",
                  "disabled": true
                },
                {
                  "key": "status",
                  "value": "{{subscriptionStatus}}",
                  "description": "Subscription status filter. Omit for all statuses; UNKNOWN (0) cannot be selected as a filter.",
                  "disabled": true
                },
                {
                  "key": "startTime",
                  "value": "{{startTime}}",
                  "description": "Range start in Unix milliseconds. When supplied, endTime is also required.",
                  "disabled": true
                },
                {
                  "key": "endTime",
                  "value": "{{endTime}}",
                  "description": "Range end in Unix milliseconds. When supplied, startTime is also required and endTime must be greater than or equal to startTime.",
                  "disabled": true
                },
                {
                  "key": "page",
                  "value": "{{page}}",
                  "description": "Page number. Default 1.",
                  "disabled": true
                },
                {
                  "key": "pageSize",
                  "value": "{{pageSize}}",
                  "description": "Items per page. Default 20, maximum 100.",
                  "disabled": true
                }
              ]
            },
            "description": "Lists Subscriptions. planNo and merchantPlanNo cannot be used together. Without merchantCustomerNo, planNo, or merchantPlanNo, both startTime and endTime are required and the range cannot exceed 90 days."
          }
        },
        {
          "name": "Cancel Subscription - Customer requested cancellation",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Content-Encryption",
                "value": "sealedbox-v1-x25519-xsalsa20poly1305"
              },
              {
                "key": "Content-Digest",
                "value": "{{contentDigest}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Merchant-Access-Key",
                "value": "{{accessKey}}"
              },
              {
                "key": "Signature-Input",
                "value": "{{signatureInput}}"
              },
              {
                "key": "Signature",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/subscription/contracts/{{subscriptionNo}}/cancel",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "subscription",
                "contracts",
                "{{subscriptionNo}}",
                "cancel"
              ],
              "query": []
            },
            "description": "Cancels a Subscription immediately after the Provider confirms CANCELED. Stop access only after the Subscription is confirmed as CANCELED. Cancellation does not refund historical billing objects.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"reason\": \"Requested by customer\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        }
      ]
    },
    {
      "name": "Subscription Invoices",
      "item": [
        {
          "name": "List Subscription Invoices",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Merchant-Access-Key",
                "value": "{{accessKey}}"
              },
              {
                "key": "Signature-Input",
                "value": "{{signatureInput}}"
              },
              {
                "key": "Signature",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/subscription/invoices",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "subscription",
                "invoices"
              ],
              "query": [
                {
                  "key": "subscriptionNo",
                  "value": "{{subscriptionNo}}",
                  "description": "Platform Subscription number. Cannot be combined with merchantSubscriptionNo.",
                  "disabled": true
                },
                {
                  "key": "merchantSubscriptionNo",
                  "value": "{{merchantSubscriptionNo}}",
                  "description": "Merchant Subscription number. Cannot be combined with subscriptionNo.",
                  "disabled": true
                },
                {
                  "key": "status",
                  "value": "{{invoiceStatus}}",
                  "description": "Invoice status filter. Omit for all statuses; UNKNOWN (0) cannot be selected as a filter.",
                  "disabled": true
                },
                {
                  "key": "startTime",
                  "value": "{{startTime}}",
                  "description": "Range start in Unix milliseconds. When supplied, endTime is also required.",
                  "disabled": true
                },
                {
                  "key": "endTime",
                  "value": "{{endTime}}",
                  "description": "Range end in Unix milliseconds. When supplied, startTime is also required and endTime must be greater than or equal to startTime.",
                  "disabled": true
                },
                {
                  "key": "page",
                  "value": "{{page}}",
                  "description": "Page number. Default 1.",
                  "disabled": true
                },
                {
                  "key": "pageSize",
                  "value": "{{pageSize}}",
                  "description": "Items per page. Default 20, maximum 100.",
                  "disabled": true
                }
              ]
            },
            "description": "Lists Subscription billing facts. Persist invoiceNo from responses or events for detail queries."
          }
        },
        {
          "name": "Query Subscription Invoice",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Merchant-Access-Key",
                "value": "{{accessKey}}"
              },
              {
                "key": "Signature-Input",
                "value": "{{signatureInput}}"
              },
              {
                "key": "Signature",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/subscription/invoices/{{invoiceNo}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "subscription",
                "invoices",
                "{{invoiceNo}}"
              ],
              "query": []
            },
            "description": "Returns an Invoice and its Payment Attempts."
          }
        }
      ]
    },
    {
      "name": "Subscription Payment Orders",
      "item": [
        {
          "name": "List Subscription Payment Orders",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Merchant-Access-Key",
                "value": "{{accessKey}}"
              },
              {
                "key": "Signature-Input",
                "value": "{{signatureInput}}"
              },
              {
                "key": "Signature",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/subscription/payment-orders?subscriptionNo={{subscriptionNo}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "subscription",
                "payment-orders"
              ],
              "query": [
                {
                  "key": "merchantCustomerNo",
                  "value": "{{merchantCustomerNo}}",
                  "description": "Stable merchant customer identifier. Cannot be combined with a Subscription number filter.",
                  "disabled": true
                },
                {
                  "key": "subscriptionNo",
                  "value": "{{subscriptionNo}}",
                  "description": "Platform Subscription number. Cannot be combined with merchantCustomerNo or merchantSubscriptionNo.",
                  "disabled": false
                },
                {
                  "key": "merchantSubscriptionNo",
                  "value": "{{merchantSubscriptionNo}}",
                  "description": "Merchant Subscription number. Cannot be combined with merchantCustomerNo or subscriptionNo.",
                  "disabled": true
                },
                {
                  "key": "startTime",
                  "value": "{{startTime}}",
                  "description": "Range start in Unix milliseconds. When supplied, endTime is also required.",
                  "disabled": true
                },
                {
                  "key": "endTime",
                  "value": "{{endTime}}",
                  "description": "Range end in Unix milliseconds. When supplied, startTime is also required and endTime must be greater than or equal to startTime.",
                  "disabled": true
                },
                {
                  "key": "page",
                  "value": "{{page}}",
                  "description": "Page number. Default 1.",
                  "disabled": true
                },
                {
                  "key": "pageSize",
                  "value": "{{pageSize}}",
                  "description": "Items per page. Default 20, maximum 100.",
                  "disabled": true
                }
              ]
            },
            "description": "Lists payment results for Subscription Invoices. Use at most one owner filter: merchantCustomerNo, subscriptionNo, or merchantSubscriptionNo. Without an owner filter, both startTime and endTime are required with a maximum 90-day range. Current pagination is based on candidate Invoices, so pages may be sparse; continue according to paging rather than orders.length."
          }
        },
        {
          "name": "Query Subscription Payment Order",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Merchant-Access-Key",
                "value": "{{accessKey}}"
              },
              {
                "key": "Signature-Input",
                "value": "{{signatureInput}}"
              },
              {
                "key": "Signature",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/subscription/payment-orders/{{subscriptionPaymentOrderNo}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "subscription",
                "payment-orders",
                "{{subscriptionPaymentOrderNo}}"
              ],
              "query": []
            },
            "description": "Queries a Subscription Payment Order by the platform number in the path. Orders without a Subscription Invoice source are returned as not found. Settlement status is not exposed by the current Subscription API."
          }
        }
      ]
    },
    {
      "name": "Query",
      "item": [
        {
          "name": "Query payment order",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Merchant-Access-Key",
                "value": "{{accessKey}}"
              },
              {
                "key": "Signature-Input",
                "value": "{{signatureInput}}"
              },
              {
                "key": "Signature",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/payments?merchantOrderNo={{paymentMerchantOrderNo}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "payments"
              ],
              "query": [
                {
                  "key": "orderNo",
                  "value": "{{paymentOrderNo}}",
                  "description": "Platform order number. Required when merchantOrderNo is not provided.",
                  "disabled": true
                },
                {
                  "key": "merchantOrderNo",
                  "value": "{{paymentMerchantOrderNo}}",
                  "description": "Merchant order number. Required when orderNo is not provided.",
                  "disabled": false
                }
              ]
            },
            "description": "Query an order by `orderNo` or `merchantOrderNo`. Pass exactly one parameter, not both. Actual payer information, when provided by the channel, is returned after merchant signature authentication and order ownership checks. PAYMENT webhooks can also include these optional details. Use HTTPS with certificate verification and redact payer details when logging on your side."
          }
        },
        {
          "name": "Query payout order",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Merchant-Access-Key",
                "value": "{{accessKey}}"
              },
              {
                "key": "Signature-Input",
                "value": "{{signatureInput}}"
              },
              {
                "key": "Signature",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/payouts?merchantOrderNo={{payoutMerchantOrderNo}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "payouts"
              ],
              "query": [
                {
                  "key": "orderNo",
                  "value": "{{payoutOrderNo}}",
                  "description": "Platform order number. Required when merchantOrderNo is not provided.",
                  "disabled": true
                },
                {
                  "key": "merchantOrderNo",
                  "value": "{{payoutMerchantOrderNo}}",
                  "description": "Merchant order number. Required when orderNo is not provided.",
                  "disabled": false
                }
              ]
            },
            "description": "Query an order by `orderNo` or `merchantOrderNo`. Pass exactly one parameter, not both."
          }
        }
      ]
    },
    {
      "name": "Account",
      "item": [
        {
          "name": "Query merchant balance",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Merchant-Access-Key",
                "value": "{{accessKey}}"
              },
              {
                "key": "Signature-Input",
                "value": "{{signatureInput}}"
              },
              {
                "key": "Signature",
                "value": "{{signature}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/balances?currency={{currency}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "balances"
              ],
              "query": [
                {
                  "key": "currency",
                  "value": "{{currency}}",
                  "description": "Currency, for example BRL.",
                  "disabled": false
                }
              ]
            },
            "description": "Query merchant balance"
          }
        }
      ]
    }
  ]
}
