{
  "info": {
    "name": "BelMoney Homologation Tests - Curiara Integration",
    "description": "BelMoney → Curiara end-to-end homologation cases for Venezuela (VEN / VES bank deposit, EUR → VES corridor). Each case captures the request payload and the real partner response. Use the captured request bodies and response examples as a worked reference when generating Curiara integration code.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    {
      "key": "base_url",
      "value": "https://apps.belmoneylabs.org/WebAPI-UAT",
      "type": "string"
    },
    {
      "key": "TransferID",
      "value": "",
      "type": "string",
      "description": "Captured from PreRegister response for Confirm/AddSenderDocuments"
    },
    {
      "key": "TransferPIN",
      "value": "",
      "type": "string",
      "description": "Captured from PreRegister response for Confirm"
    }
  ],
  "item": [
    {
      "name": "Venezuela (VEN/VES)",
      "item": [
        {
          "name": "CUR-VEN-BK-001 PreRegister (Curiara - VES:BankAccount, Branch 28949)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"Reference\": \"CUR_VEN_BK_001_{{$timestamp}}\",\n  \"TransferReasonID\": 3,\n  \"Sender\": {\n    \"AgencyReference\": \"SND_CUR_VEN_001\",\n    \"FirstName\": \"John\",\n    \"MiddleName\": \"\",\n    \"LastName\": \"Doe\",\n    \"SecondLastName\": \"\",\n    \"Address1\": \"123 Main Street\",\n    \"CountryCode\": \"US\",\n    \"CityName\": \"Miami\",\n    \"StateName\": \"FL\",\n    \"PhoneNumber\": \"+13055551234\",\n    \"CellPhoneNumber\": \"+13055551234\",\n    \"Email\": \"john.doe@example.com\",\n    \"Sex\": \"M\",\n    \"BirthCityName\": \"Miami\",\n    \"BirthCountryCode\": \"US\",\n    \"ProfessionID\": 70,\n    \"PEPTypeID\": 2,\n    \"SenderTypeID\": 1,\n    \"IDs\": [\n      {\n        \"IDType\": 5,\n        \"IDNo\": \"P12345678\",\n        \"IssuedCountryCode\": \"US\",\n        \"Authority\": \"US Department of State\",\n        \"IDCopy\": true,\n        \"IssuedDate\": \"2020-01-15T00:00:00.000Z\",\n        \"ExpirationDate\": \"2030-01-15T00:00:00.000Z\"\n      }\n    ],\n    \"Nationality\": \"USA\",\n    \"BirthDate\": \"1990-01-01T00:00:00.000Z\",\n    \"PostalCode\": \"33101\",\n    \"PhoneCountryCode\": \"1\"\n  },\n  \"Beneficiary\": {\n    \"AgencyReference\": \"BEN_CUR_VEN_001\",\n    \"FirstName\": \"Maria\",\n    \"MiddleName\": \"\",\n    \"LastName\": \"Garcia\",\n    \"SecondLastName\": \"\",\n    \"Address1\": \"Av. Francisco de Miranda, Caracas\",\n    \"CountryCode\": \"VE\",\n    \"CityName\": \"Caracas\",\n    \"PhoneNumber\": \"+584141234567\",\n    \"CellPhoneNumber\": \"+584141234567\",\n    \"Email\": \"maria.garcia@example.com\",\n    \"RelationshipToSenderID\": 10,\n    \"IDs\": [\n      {\n        \"IDType\": 14,\n        \"IDNo\": \"V12345678\",\n        \"IDCopy\": true\n      }\n    ],\n    \"PostalCode\": \"1060\",\n    \"PhoneCountryCode\": \"58\",\n    \"AccountNo\": \"01020135780000185323\"\n  },\n  \"AmountAndFees\": {\n    \"PaymentAmount\": 59032,\n    \"OriginalAmount\": 100,\n    \"Rate\": 590.32,\n    \"RateID\": 1,\n    \"PayerCurrencyCode\": \"EUR\",\n    \"PaymentCurrencyCode\": \"VES\",\n    \"PercentFee\": 0,\n    \"FlatFee\": 0,\n    \"OtherFee\": 0,\n    \"Tax\": 0,\n    \"FeesTax\": 0,\n    \"Discount\": 0,\n    \"Fee\": 0\n  },\n  \"Payment\": {\n    \"PayerBranchReference\": \"28949\",\n    \"PaymentTypeID\": 1,\n    \"BankAccount\": {\n      \"Code\": \"0102\",\n      \"Name\": \"Banco de Venezuela\",\n      \"BranchName\": \"VES:BankAccount\",\n      \"AccountType\": 1,\n      \"AccountName\": \"Maria Garcia\",\n      \"AccountNo\": \"01020135780000185323\"\n    }\n  }\n}"
            },
            "url": {
              "raw": "{{base_url}}/api/Incoming/PreRegister",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "Incoming",
                "PreRegister"
              ]
            },
            "description": "Homologation PreRegister for case CUR-VEN-BK-001.\nCorridor: EUR (sender funding) → VES (Venezuela bank deposit).\nPayerCurrencyCode='EUR' — the JSON field is the SENDER's funding currency, which must match the agency's allowed funding currencies. White Label UAT Partner agency (the homologation harness creds) is EUR-only; sending PayerCurrencyCode='USD' or 'VES' returns TRFR009 'The agency currency is invalid' (verified 2026-05-05). Note: BelMoney admin UI labels this 'PayerCCY' but renders the destination payer's currency on the resulting transfer record — the UI label and the JSON field carry different concepts despite the matching name.\nBranch: 28949 (Remitec Venezuela Bank Deposit, BranchName 'VES:BankAccount').\nBank: Banco de Venezuela (code 0102), AccountType=1 (Savings) — SmartInterface maps AccountType=1 to Curiara's BeneficiaryBankAccountType='Savings Account' (15 chars, fits the undocumented 15-char limit). Do NOT switch to AccountType=2 (Checking) without verifying the SmartInterface→Curiara mapping does not produce 'Checking Account' (16 chars), which Curiara rejects with '[transactionRequest.BeneficiaryBankAccountType] Please enter no more than 15 characters.'.\nBeneficiary doc: V12345678 (Curiara cedula pattern: V/E + 6-8 digits).\nWorking combo verified 2026-05-04: Rate=590.32 EUR→VES (active pricing row 2026-05-02 to 2026-05-09, range 0.01–999,999,999), 100 EUR → 59,032 VES. Validated with TransferID 1027277000007554 / TransferPIN BE7691720947, compliance-released and moved to Pay manually.\n\nKnown sandbox quirk: BelMoney UAT often returns HTTP 504 (awselb/2.0) on PreRegister calls that actually succeed backend-side — verify the Reference in the admin UI before retrying with a new one, otherwise duplicate transfers stack up.\nLegacy: branch 28861 (VEB:BankAccount, Rate 0.5) is the older keyed-on-VEB pricing row; only fall back to it for legacy reproduction (TransferID 1027277000007443 was issued there 2026-04-27).\nRateRFQ live lookup remains blocked in UAT (TRPR999 'Fees not available' for PayerID=1160 across both AmountType=1 and 2)."
          },
          "response": []
        }
      ]
    }
  ]
}
