{
  "info": {
    "_postman_id": "e6cb5d85-51e4-4128-ba35-22720a946aad",
    "name": "sandbox sv api v1",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_exporter_id": "22930041"
  },
  "item": [
    {
      "name": "registerCustomer",
      "event": [
        {
          "listen": "test",
          "script": {
            "exec": [
              "var jsonData = JSON.parse(responseBody);",
              "pm.environment.set(\"accountNumber\", jsonData.accountNumber);",
              "pm.environment.set(\"customerNumber\", jsonData.customerNumber);"
            ],
            "type": "text/javascript"
          }
        }
      ],
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json",
            "type": "text"
          },
          {
            "key": "Authorization",
            "value": "Basic {{token}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n      \"productName\": \"CRCU1001\",\n      \"parameters\":  [\n          {\n            \"name\": \"institutionId\",\n            \"value\": \"{{institutionId}}\"\n          },\n          {\n            \"name\": \"agent_number\",\n            \"value\": \"{{institutionId}}\"\n          },\n          {\n            \"name\": \"customer_number\",\n            \"value\": \"{{institutionId}}_P020\"\n          },\n          {\n            \"name\": \"product_id\",\n            \"value\": \"{{productId}}\"\n          },\n          {\n            \"name\": \"start_date\",\n            \"value\": \"2026-08-06\"\n          },\n          {\n            \"name\": \"service_id_acc\",\n            \"value\": \"{{serviceId}}\"\n          },\n          {\n            \"name\": \"surname\",\n            \"value\": \"Smith\"\n          },\n          {\n            \"name\": \"firstName\",\n            \"value\": \"John\"\n          },\n          {\n            \"name\": \"secondName\",\n            \"value\": \"A.\"\n          },\n          {\n            \"name\": \"email\",\n            \"value\": \"johnsmith@email.com\"\n          },\n          {\n            \"name\": \"mobile_phone\",\n            \"value\": \"319220977338\"\n          },\n          {\n            \"name\": \"country_code\",\n            \"value\": \"528\"\n          },\n          {\n            \"name\": \"region\",\n            \"value\": \"BJ\"\n          },\n          {\n            \"name\": \"city\",\n            \"value\": \"Utrecht\"\n          },\n          {\n            \"name\": \"street\",\n            \"value\": \"Papendorpseweg\"\n          },\n          {\n            \"name\": \"house\",\n            \"value\": \"99\"\n          },\n          {\n            \"name\": \"apartament\",\n            \"value\": \"1\"\n          },\n\t\t      {\n            \"name\": \"postal_code\",\n            \"value\": \"3528\"\n          }\n        ]\n    }"
        },
        "url": {
          "raw": "https://dev.bpcbt.com/v1/apigate/ws/rest/registerCustomer",
          "protocol": "https",
          "host": [
            "dev",
            "bpcbt",
            "com"
          ],
          "path": [
            "v1",
            "apigate",
            "ws",
            "rest",
            "registerCustomer"
          ]
        }
      },
      "response": []
    },
    {
      "name": "createVirtualCard",
      "event": [
        {
          "listen": "test",
          "script": {
            "exec": [
              "var jsonData = JSON.parse(responseBody);",
              "pm.environment.set(\"cardNumber\", jsonData.virtualCardIdentification.cardNumber);",
              "pm.environment.set(\"cardId\", jsonData.virtualCardIdentification.cardId);"
            ],
            "type": "text/javascript"
          }
        }
      ],
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json",
            "type": "text"
          },
          {
            "key": "Authorization",
            "value": "Basic {{token}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": " {\n        \"cardIdentification\": {\n          \"cardNumber\": {{visaBin}}0000000000,\n          \"phoneNumber\": \"319220977337\",\n          \"customerId\": \"{{institutionId}}_P020\"\n        },\n        \"virtualCardIdentification\": {\n          \"expDate\": 202812,\n          \"productType\": \"5C\"\n        },\n        \"amount\": 0,\n        \"currency\": 978,\n        \"accountNumber\": \"{{accountNumber}}\",\n        \"deliveryMethod\": \"WS\"\n    }"
        },
        "url": {
          "raw": "https://dev.bpcbt.com/v1/apigate/ws/rest/createVirtualCard",
          "protocol": "https",
          "host": [
            "dev",
            "bpcbt",
            "com"
          ],
          "path": [
            "v1",
            "apigate",
            "ws",
            "rest",
            "createVirtualCard"
          ]
        }
      },
      "response": []
    },
    {
      "name": "getCardLimits",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json",
            "type": "text"
          },
          {
            "key": "Authorization",
            "value": "Basic {{token}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"cardIdentification\": {\n      \"cardId\": {{cardId}}\n    }\n}"
        },
        "url": {
          "raw": "https://dev.bpcbt.com/v1/apigate/ws/rest/getCardLimits",
          "protocol": "https",
          "host": [
            "dev",
            "bpcbt",
            "com"
          ],
          "path": [
            "v1",
            "apigate",
            "ws",
            "rest",
            "getCardLimits"
          ]
        }
      },
      "response": []
    },
    {
      "name": "changeCardLimit",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json",
            "type": "text"
          },
          {
            "key": "Authorization",
            "value": "Basic {{token}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"cardIdentification\": {\n      \"cardId\": {{cardId}}\n    },\n    \"limit\": {\n      \"name\": \"LMTP0112\",\n      \"value\": 13000000,\n      \"cycleType\": 4,\n      \"cycleLength\": 1\n    }\n}"
        },
        "url": {
          "raw": "https://dev.bpcbt.com/v1/apigate/ws/rest/changeCardLimit",
          "protocol": "https",
          "host": [
            "dev",
            "bpcbt",
            "com"
          ],
          "path": [
            "v1",
            "apigate",
            "ws",
            "rest",
            "changeCardLimit"
          ]
        }
      },
      "response": []
    },
    {
      "name": "getCardData",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json",
            "type": "text"
          },
          {
            "key": "Authorization",
            "value": "Basic {{token}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"cardIdentification\": {\n      \"cardId\": {{cardId}}\n    }\n}"
        },
        "url": {
          "raw": "https://dev.bpcbt.com/v1/apigate/ws/rest/getCardData",
          "protocol": "https",
          "host": [
            "dev",
            "bpcbt",
            "com"
          ],
          "path": [
            "v1",
            "apigate",
            "ws",
            "rest",
            "getCardData"
          ]
        }
      },
      "response": []
    },
    {
      "name": "blockCard",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json",
            "type": "text"
          },
          {
            "key": "Authorization",
            "value": "Basic {{token}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"cardIdentification\": {\n      \"cardId\": {{cardId}}\n    },\n    \"hotCardStatus\": 6\n}"
        },
        "url": {
          "raw": "https://dev.bpcbt.com/v1/apigate/ws/rest/blockCard",
          "protocol": "https",
          "host": [
            "dev",
            "bpcbt",
            "com"
          ],
          "path": [
            "v1",
            "apigate",
            "ws",
            "rest",
            "blockCard"
          ]
        }
      },
      "response": []
    },
    {
      "name": "validateCard",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json",
            "type": "text"
          },
          {
            "key": "Authorization",
            "value": "Basic {{token}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"cardIdentification\": {\n      \"cardId\": {{cardId}}\n    }\n}"
        },
        "url": {
          "raw": "https://dev.bpcbt.com/v1/apigate/ws/rest/validateCard",
          "protocol": "https",
          "host": [
            "dev",
            "bpcbt",
            "com"
          ],
          "path": [
            "v1",
            "apigate",
            "ws",
            "rest",
            "validateCard"
          ]
        }
      },
      "response": []
    },
    {
      "name": "creditCard",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json",
            "type": "text"
          },
          {
            "key": "Authorization",
            "value": "Basic {{token}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"cardIdentification\": {\n        \"cardNumber\": {{cardNumber}},\n        \"expDate\": 202812\n    },\n    \"amount\": 10000,\n    \"currency\": 978\n}"
        },
        "url": {
          "raw": "https://dev.bpcbt.com/v1/apigate/ws/rest/creditCard",
          "protocol": "https",
          "host": [
            "dev",
            "bpcbt",
            "com"
          ],
          "path": [
            "v1",
            "apigate",
            "ws",
            "rest",
            "creditCard"
          ]
        }
      },
      "response": []
    },
    {
      "name": "p2pTransfer",
      "event": [
        {
          "listen": "test",
          "script": {
            "exec": [
              "var jsonData = JSON.parse(responseBody);",
              "pm.environment.set(\"utrno\", jsonData.authorizationIdResponse);"
            ],
            "type": "text/javascript"
          }
        }
      ],
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json",
            "type": "text"
          },
          {
            "key": "Authorization",
            "value": "Basic {{token}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"sourceCardIdentification\": {\n      \"cardNumber\": {{cardNumber}},\n      \"expDate\": 202812\n    },\n    \"destinationCardIdentification\": {\n      \"cardNumber\": {{cardNumber}}\n    },\n    \"amount\": 1000,\n    \"currency\": 978,\n    \"senderReceiverInfo\": {\n      \"senderName\": \"Tor, John\",\n      \"senderAddress\": \"New York, USA\"\n    },\n    \"pointOfServiceDataCode\": 810\n}"
        },
        "url": {
          "raw": "https://dev.bpcbt.com/v1/apigate/ws/rest/p2pTransfer",
          "protocol": "https",
          "host": [
            "dev",
            "bpcbt",
            "com"
          ],
          "path": [
            "v1",
            "apigate",
            "ws",
            "rest",
            "p2pTransfer"
          ]
        }
      },
      "response": []
    },
    {
      "name": "getTransactions",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json",
            "type": "text"
          },
          {
            "key": "Authorization",
            "value": "Basic {{token}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"cardIdentification\": {\n      \"cardId\": {{cardId}}\n    },\n    \"period\": {\n          \"start\": \"2026-08-10\",\n          \"end\": \"2026-08-17\"\n        }\n}"
        },
        "url": {
          "raw": "https://dev.bpcbt.com/v1/apigate/ws/rest/getTransactions",
          "protocol": "https",
          "host": [
            "dev",
            "bpcbt",
            "com"
          ],
          "path": [
            "v1",
            "apigate",
            "ws",
            "rest",
            "getTransactions"
          ]
        }
      },
      "response": []
    },
    {
      "name": "getTransactionDetails",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json",
            "type": "text"
          },
          {
            "key": "Authorization",
            "value": "Basic {{token}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"utrnno\": 456695,\n  \"reversal\": false\n}"
        },
        "url": {
          "raw": "https://dev.bpcbt.com/v1/apigate/ws/rest/getTransactionDetails",
          "protocol": "https",
          "host": [
            "dev",
            "bpcbt",
            "com"
          ],
          "path": [
            "v1",
            "apigate",
            "ws",
            "rest",
            "getTransactionDetails"
          ]
        }
      },
      "response": []
    },
    {
      "name": "getCardListByOwner",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json",
            "type": "text"
          },
          {
            "key": "Authorization",
            "value": "Basic {{token}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"cardIdentification\": {\n        \"customerId\": \"{{customerNumber}}\"\n    }\n}"
        },
        "url": {
          "raw": "https://dev.bpcbt.com/v1/apigate/ws/rest/getCardListByOwner",
          "protocol": "https",
          "host": [
            "dev",
            "bpcbt",
            "com"
          ],
          "path": [
            "v1",
            "apigate",
            "ws",
            "rest",
            "getCardListByOwner"
          ]
        }
      },
      "response": []
    },
    {
      "name": "getCustomerDetails",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json",
            "type": "text"
          },
          {
            "key": "Authorization",
            "value": "Basic {{token}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"customerNumber\": \"{{customerNumber}}\",\n    \"institutionId\": \"{{institutionId}}\"\n}"
        },
        "url": {
          "raw": "https://dev.bpcbt.com/v1/apigate/ws/rest/getCustomerDetails",
          "protocol": "https",
          "host": [
            "dev",
            "bpcbt",
            "com"
          ],
          "path": [
            "v1",
            "apigate",
            "ws",
            "rest",
            "getCustomerDetails"
          ]
        }
      },
      "response": []
    },
    {
      "name": "generatePin",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json",
            "type": "text"
          },
          {
            "key": "Authorization",
            "value": "Basic {{token}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"cardIdentification\": {\n        \"cardId\": {{cardId}}\n    },\n    \"pinValue\" : \"1234\",\n    \"pinDeliveryMethod\": \"WS\"\n}"
        },
        "url": {
          "raw": "https://dev.bpcbt.com/v1/apigate/ws/rest/generatePin",
          "protocol": "https",
          "host": [
            "dev",
            "bpcbt",
            "com"
          ],
          "path": [
            "v1",
            "apigate",
            "ws",
            "rest",
            "generatePin"
          ]
        }
      },
      "response": []
    },
    {
      "name": "changeAccountStatusInFe",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json",
            "type": "text"
          },
          {
            "key": "Authorization",
            "value": "Basic {{token}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"accountNumber\": {{accountNumber}},\n    \"accountStatus\": 1\n}"
        },
        "url": {
          "raw": "https://dev.bpcbt.com/v1/apigate/ws/rest/changeAccountStatusInFe",
          "protocol": "https",
          "host": [
            "dev",
            "bpcbt",
            "com"
          ],
          "path": [
            "v1",
            "apigate",
            "ws",
            "rest",
            "changeAccountStatusInFe"
          ]
        }
      },
      "response": []
    },
    {
      "name": "getAccountData",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json",
            "type": "text"
          },
          {
            "key": "Authorization",
            "value": "Basic {{token}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"accountNumber\": {{accountNumber}}\n}"
        },
        "url": {
          "raw": "https://dev.bpcbt.com/v1/apigate/ws/rest/getAccountData",
          "protocol": "https",
          "host": [
            "dev",
            "bpcbt",
            "com"
          ],
          "path": [
            "v1",
            "apigate",
            "ws",
            "rest",
            "getAccountData"
          ]
        }
      },
      "response": []
    },
    {
      "name": "generateCVC2",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json",
            "type": "text"
          },
          {
            "key": "Authorization",
            "value": "Basic {{token}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"cardIdentification\": {\n        \"cardNumber\": {{cardNumber}}\n    }\n}"
        },
        "url": {
          "raw": "https://dev.bpcbt.com/v1/apigate/ws/rest/generateCVC2",
          "protocol": "https",
          "host": [
            "dev",
            "bpcbt",
            "com"
          ],
          "path": [
            "v1",
            "apigate",
            "ws",
            "rest",
            "generateCVC2"
          ]
        }
      },
      "response": []
    }
  ]
}
