{
  "info": {
    "_postman_id": "62cecc2a-9d7e-4a23-b10a-8eb6b50aa2b7",
    "name": "PayInvert Checkout",
    "description": "Checkout API for Postman. Set collection variables public-key and private-key (secret). checkout-url defaults to the test host. POST /payment/data/encrypt is staging only.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_exporter_id": "24729488",
    "_collection_link": "https://go.postman.co/collection/24729488-62cecc2a-9d7e-4a23-b10a-8eb6b50aa2b7?source=collection_link"
  },
  "item": [
    {
      "name": "Checkout service",
      "item": [
        {
          "name": "Create Order",
          "item": [
            {
              "name": "Sample Payload to encrypt",
              "event": [
                {
                  "listen": "prerequest",
                  "script": {
                    "exec": [
                      "    pm.collectionVariables.set('reference', Math.floor(Math.random() * 1000000000));"
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                },
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "if(pm.response.code == 200){",
                      "    pm.collectionVariables.set('encrypteddata', pm.response.json().data);",
                      "}"
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                }
              ],
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "api-key",
                    "value": "{{public-key}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"customer\": {\r\n        \"firstname\": \"firstname\",\r\n        \"lastname\": \"lastname\",\r\n        \"mobile\": \"+2348158200000\",\r\n        \"country\": \"NG\",\r\n        \"email\": \"email@payinvert.com\"\r\n    },\r\n    \"order\": {\r\n        \"amount\": 200,\r\n        \"reference\": \"{{reference}}\",\r\n        \"description\": \"Pay\",\r\n        \"currency\": \"NGN\"\r\n    },\r\n    \"payment\": {\r\n        \"redirectUrl\": \"https://www.hello.com\"\r\n        // \"paymentLinkId\": 1\r\n    },\r\n    \"paymentMeta\": {\r\n        \"ipAddress\": \"127.0.0.0\",\r\n        \"userAgent\": \"Chrome/129.0.0.0\"\r\n    }\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{checkout-url}}/payment/data/encrypt",
                  "host": [
                    "{{checkout-url}}"
                  ],
                  "path": [
                    "payment",
                    "data",
                    "encrypt"
                  ]
                }
              },
              "response": [
                {
                  "name": "Encrypt Data - payload",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "api-key",
                        "value": "{{public-key}}",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"customer\": {\r\n        \"firstname\": \"ideos\",\r\n        \"lastname\": \"pay\",\r\n        \"mobile\": \"+23481582333444\",\r\n        \"country\": \"NG\",\r\n        \"email\": \"email@ideos.dev\"\r\n    },\r\n    \"order\": {\r\n        \"amount\": 100,\r\n        \"reference\": \"{{reference}}\",\r\n        \"description\": \"Pay\",\r\n        \"currency\": \"NGN\"\r\n    },\r\n    \"payment\": {\r\n        \"RedirectUrl\": \"https://www.hi.com\"\r\n    }\r\n    }",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{checkout-url}}/payment/data/encrypt",
                      "host": [
                        "{{checkout-url}}"
                      ],
                      "path": [
                        "payment",
                        "data",
                        "encrypt"
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Date",
                      "value": "Sun, 31 Mar 2024 14:05:21 GMT"
                    },
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    },
                    {
                      "key": "Transfer-Encoding",
                      "value": "chunked"
                    },
                    {
                      "key": "Connection",
                      "value": "keep-alive"
                    },
                    {
                      "key": "Server",
                      "value": "Kestrel"
                    }
                  ],
                  "cookie": [],
                  "body": "{\n    \"data\": \"CpDqKj/zLUlj9dmLB8i8ruaR2hOYW2Hk0KdpFdn7t3/FzCQCtFF6SFpWsyFEuZmnakBkIzwsJEG1gSI8PmHa+na98Lpgk0TllgF3dH5ESXl+b2PXmDZvSO1aPzMMFTq9ja2oT44KUc4/p6HpUU21VhZMTR+NpW/lpNfPQZ04+KHVDTzijQEmEx1HrxodHiR6DmaKF0fjl7oI+NOOBi7+8cRrnwEuugMaHOVOVg8QGVg7KSiPEf+xXAavOUIySsStfcb8S1bK/iI7QRCtzaeCZxc62xFvmgA7ScS3SG0Kzej+ytWzjvSlG+60mpchfXZD/FwU4LLd3X3aEMWKoTmGpuGQPA0eOqj9SkdmAyY7V0ZFyQqPtm0/rDS63us9Dt2qtqQlhrQGoJio6LA6wKcChr+YzNWwSa3WfKPIy6MX0oXeWNoxnczkW3gwFM3YdPz6gUNzD0/RMJ8VW0Fo91jB53GzG/YjfZMgFgibZnseApACZLHm/+VOY/sCAyanUT5Uu+kRgtgqguCqiIwqiQPkhDdZlHoOHH+ymnql+qDCiO6Kt5AnPZxemvwf9oPCo9YC18vPmc/XtOXyu4uQzMHF2WQseOm0YyKMWIF1zGTVMTsdQFa6KxUg+5DbiVnGgay9RBZyEel/vqy15B1pTzu7exTmnVZU+ViVHblTelYdWuE=\",\n    \"message\": \"Operation successful\"\n}"
                }
              ]
            },
            {
              "name": "Create Order with payment link",
              "event": [
                {
                  "listen": "prerequest",
                  "script": {
                    "exec": [
                      "    pm.collectionVariables.set('reference', Math.floor(Math.random() * 1000000000));"
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                },
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "if(pm.response.code == 200){",
                      "    pm.collectionVariables.set('encrypteddata', pm.response.json().data);",
                      "}"
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                }
              ],
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "api-key",
                    "value": "{{public-key}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"customer\": {\r\n        \"firstname\": \"firstname\",\r\n        \"lastname\": \"lastname\",\r\n        \"mobile\": \"+2348158200000\",\r\n        \"country\": \"NG\",\r\n        \"email\": \"email@payinvert.com\"\r\n    },\r\n    \"order\": {\r\n        \"amount\": 200,\r\n        \"reference\": \"{{reference}}\",\r\n        \"description\": \"Pay\",\r\n        \"currency\": \"USD\"\r\n    },\r\n    \"payment\": {\r\n        \"redirectUrl\": \"https://www.hello.com\",\r\n        \"paymentLinkId\": 1\r\n    },\r\n    \"paymentMeta\": {\r\n        \"ipAddress\": \"127.0.0.0\",\r\n        \"userAgent\": \"Chrome/129.0.0.0\"\r\n    }\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{checkout-url}}/payment/data/encrypt",
                  "host": [
                    "{{checkout-url}}"
                  ],
                  "path": [
                    "payment",
                    "data",
                    "encrypt"
                  ]
                }
              },
              "response": [
                {
                  "name": "Encrypt Data - payload",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "api-key",
                        "value": "{{public-key}}",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"customer\": {\r\n        \"firstname\": \"ideos\",\r\n        \"lastname\": \"pay\",\r\n        \"mobile\": \"+23481582333444\",\r\n        \"country\": \"NG\",\r\n        \"email\": \"email@ideos.dev\"\r\n    },\r\n    \"order\": {\r\n        \"amount\": 100,\r\n        \"reference\": \"{{reference}}\",\r\n        \"description\": \"Pay\",\r\n        \"currency\": \"NGN\"\r\n    },\r\n    \"payment\": {\r\n        \"RedirectUrl\": \"https://www.hi.com\"\r\n    }\r\n    }",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{checkout-url}}/payment/data/encrypt",
                      "host": [
                        "{{checkout-url}}"
                      ],
                      "path": [
                        "payment",
                        "data",
                        "encrypt"
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Date",
                      "value": "Sun, 31 Mar 2024 14:05:21 GMT"
                    },
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    },
                    {
                      "key": "Transfer-Encoding",
                      "value": "chunked"
                    },
                    {
                      "key": "Connection",
                      "value": "keep-alive"
                    },
                    {
                      "key": "Server",
                      "value": "Kestrel"
                    }
                  ],
                  "cookie": [],
                  "body": "{\n    \"data\": \"CpDqKj/zLUlj9dmLB8i8ruaR2hOYW2Hk0KdpFdn7t3/FzCQCtFF6SFpWsyFEuZmnakBkIzwsJEG1gSI8PmHa+na98Lpgk0TllgF3dH5ESXl+b2PXmDZvSO1aPzMMFTq9ja2oT44KUc4/p6HpUU21VhZMTR+NpW/lpNfPQZ04+KHVDTzijQEmEx1HrxodHiR6DmaKF0fjl7oI+NOOBi7+8cRrnwEuugMaHOVOVg8QGVg7KSiPEf+xXAavOUIySsStfcb8S1bK/iI7QRCtzaeCZxc62xFvmgA7ScS3SG0Kzej+ytWzjvSlG+60mpchfXZD/FwU4LLd3X3aEMWKoTmGpuGQPA0eOqj9SkdmAyY7V0ZFyQqPtm0/rDS63us9Dt2qtqQlhrQGoJio6LA6wKcChr+YzNWwSa3WfKPIy6MX0oXeWNoxnczkW3gwFM3YdPz6gUNzD0/RMJ8VW0Fo91jB53GzG/YjfZMgFgibZnseApACZLHm/+VOY/sCAyanUT5Uu+kRgtgqguCqiIwqiQPkhDdZlHoOHH+ymnql+qDCiO6Kt5AnPZxemvwf9oPCo9YC18vPmc/XtOXyu4uQzMHF2WQseOm0YyKMWIF1zGTVMTsdQFa6KxUg+5DbiVnGgay9RBZyEel/vqy15B1pTzu7exTmnVZU+ViVHblTelYdWuE=\",\n    \"message\": \"Operation successful\"\n}"
                }
              ]
            },
            {
              "name": "Create order for reoccuring payment",
              "event": [
                {
                  "listen": "prerequest",
                  "script": {
                    "exec": [
                      "    pm.collectionVariables.set('reference', Math.floor(Math.random() * 1000000000));"
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                },
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "if(pm.response.code == 200){",
                      "    pm.collectionVariables.set('encrypteddata', pm.response.json().data);",
                      "}"
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                }
              ],
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "api-key",
                    "value": "{{public-key}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"customer\": {\r\n        \"firstname\": \"firstname\",\r\n        \"lastname\": \"lastname\",\r\n        \"mobile\": \"+2348158200000\",\r\n        \"country\": \"NG\",\r\n        \"email\": \"email@payinvert.com\"\r\n    },\r\n    \"order\": {\r\n        \"amount\": 200,\r\n        \"reference\": \"{{reference}}\",\r\n        \"description\": \"Pay\",\r\n        \"currency\": \"USD\"\r\n    },\r\n    \"payment\": {\r\n        \"RedirectUrl\": \"https://www.hello.com\",\r\n        \"frequencyId\": 1,\r\n        \"paymentLinkId\": 5\r\n    },\r\n    \"paymentMeta\": {\r\n        \"ipAddress\": \"127.0.0.0\",\r\n        \"userAgent\": \"Chrome/129.0.0.0\"\r\n    }\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{checkout-url}}/payment/data/encrypt",
                  "host": [
                    "{{checkout-url}}"
                  ],
                  "path": [
                    "payment",
                    "data",
                    "encrypt"
                  ]
                }
              },
              "response": [
                {
                  "name": "Encrypt Data - payload",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "api-key",
                        "value": "{{public-key}}",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"customer\": {\r\n        \"firstname\": \"ideos\",\r\n        \"lastname\": \"pay\",\r\n        \"mobile\": \"+23481582333444\",\r\n        \"country\": \"NG\",\r\n        \"email\": \"email@ideos.dev\"\r\n    },\r\n    \"order\": {\r\n        \"amount\": 100,\r\n        \"reference\": \"{{reference}}\",\r\n        \"description\": \"Pay\",\r\n        \"currency\": \"NGN\"\r\n    },\r\n    \"payment\": {\r\n        \"RedirectUrl\": \"https://www.hi.com\"\r\n    }\r\n    }",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{checkout-url}}/payment/data/encrypt",
                      "host": [
                        "{{checkout-url}}"
                      ],
                      "path": [
                        "payment",
                        "data",
                        "encrypt"
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Date",
                      "value": "Sun, 31 Mar 2024 14:05:21 GMT"
                    },
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    },
                    {
                      "key": "Transfer-Encoding",
                      "value": "chunked"
                    },
                    {
                      "key": "Connection",
                      "value": "keep-alive"
                    },
                    {
                      "key": "Server",
                      "value": "Kestrel"
                    }
                  ],
                  "cookie": [],
                  "body": "{\n    \"data\": \"CpDqKj/zLUlj9dmLB8i8ruaR2hOYW2Hk0KdpFdn7t3/FzCQCtFF6SFpWsyFEuZmnakBkIzwsJEG1gSI8PmHa+na98Lpgk0TllgF3dH5ESXl+b2PXmDZvSO1aPzMMFTq9ja2oT44KUc4/p6HpUU21VhZMTR+NpW/lpNfPQZ04+KHVDTzijQEmEx1HrxodHiR6DmaKF0fjl7oI+NOOBi7+8cRrnwEuugMaHOVOVg8QGVg7KSiPEf+xXAavOUIySsStfcb8S1bK/iI7QRCtzaeCZxc62xFvmgA7ScS3SG0Kzej+ytWzjvSlG+60mpchfXZD/FwU4LLd3X3aEMWKoTmGpuGQPA0eOqj9SkdmAyY7V0ZFyQqPtm0/rDS63us9Dt2qtqQlhrQGoJio6LA6wKcChr+YzNWwSa3WfKPIy6MX0oXeWNoxnczkW3gwFM3YdPz6gUNzD0/RMJ8VW0Fo91jB53GzG/YjfZMgFgibZnseApACZLHm/+VOY/sCAyanUT5Uu+kRgtgqguCqiIwqiQPkhDdZlHoOHH+ymnql+qDCiO6Kt5AnPZxemvwf9oPCo9YC18vPmc/XtOXyu4uQzMHF2WQseOm0YyKMWIF1zGTVMTsdQFa6KxUg+5DbiVnGgay9RBZyEel/vqy15B1pTzu7exTmnVZU+ViVHblTelYdWuE=\",\n    \"message\": \"Operation successful\"\n}"
                }
              ]
            },
            {
              "name": "Create order for reoccuring payment with limited payment count",
              "event": [
                {
                  "listen": "prerequest",
                  "script": {
                    "exec": [
                      "    pm.collectionVariables.set('reference', Math.floor(Math.random() * 1000000000));"
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                },
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "if(pm.response.code == 200){",
                      "    pm.collectionVariables.set('encrypteddata', pm.response.json().data);",
                      "}"
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                }
              ],
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "api-key",
                    "value": "{{public-key}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"customer\": {\r\n        \"firstname\": \"firstname\",\r\n        \"lastname\": \"lastname\",\r\n        \"mobile\": \"+2348158200000\",\r\n        \"country\": \"NG\",\r\n        \"email\": \"email@payinvert.com\"\r\n    },\r\n    \"order\": {\r\n        \"amount\": 200,\r\n        \"reference\": \"{{reference}}\",\r\n        \"description\": \"Pay\",\r\n        \"currency\": \"USD\"\r\n    },\r\n    \"payment\": {\r\n        \"RedirectUrl\": \"https://www.hello.com\",\r\n        \"frequencyId\": 1,\r\n        \"paymentLinkId\": 1,\r\n        \"numberOfPayment\": 12\r\n    },\r\n    \"paymentMeta\": {\r\n        \"ipAddress\": \"127.0.0.0\",\r\n        \"userAgent\": \"Chrome/129.0.0.0\"\r\n    }\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{checkout-url}}/payment/data/encrypt",
                  "host": [
                    "{{checkout-url}}"
                  ],
                  "path": [
                    "payment",
                    "data",
                    "encrypt"
                  ]
                }
              },
              "response": [
                {
                  "name": "Encrypt Data - payload",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "api-key",
                        "value": "{{public-key}}",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"customer\": {\r\n        \"firstname\": \"ideos\",\r\n        \"lastname\": \"pay\",\r\n        \"mobile\": \"+23481582333444\",\r\n        \"country\": \"NG\",\r\n        \"email\": \"email@ideos.dev\"\r\n    },\r\n    \"order\": {\r\n        \"amount\": 100,\r\n        \"reference\": \"{{reference}}\",\r\n        \"description\": \"Pay\",\r\n        \"currency\": \"NGN\"\r\n    },\r\n    \"payment\": {\r\n        \"RedirectUrl\": \"https://www.hi.com\"\r\n    }\r\n    }",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{checkout-url}}/payment/data/encrypt",
                      "host": [
                        "{{checkout-url}}"
                      ],
                      "path": [
                        "payment",
                        "data",
                        "encrypt"
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Date",
                      "value": "Sun, 31 Mar 2024 14:05:21 GMT"
                    },
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    },
                    {
                      "key": "Transfer-Encoding",
                      "value": "chunked"
                    },
                    {
                      "key": "Connection",
                      "value": "keep-alive"
                    },
                    {
                      "key": "Server",
                      "value": "Kestrel"
                    }
                  ],
                  "cookie": [],
                  "body": "{\n    \"data\": \"CpDqKj/zLUlj9dmLB8i8ruaR2hOYW2Hk0KdpFdn7t3/FzCQCtFF6SFpWsyFEuZmnakBkIzwsJEG1gSI8PmHa+na98Lpgk0TllgF3dH5ESXl+b2PXmDZvSO1aPzMMFTq9ja2oT44KUc4/p6HpUU21VhZMTR+NpW/lpNfPQZ04+KHVDTzijQEmEx1HrxodHiR6DmaKF0fjl7oI+NOOBi7+8cRrnwEuugMaHOVOVg8QGVg7KSiPEf+xXAavOUIySsStfcb8S1bK/iI7QRCtzaeCZxc62xFvmgA7ScS3SG0Kzej+ytWzjvSlG+60mpchfXZD/FwU4LLd3X3aEMWKoTmGpuGQPA0eOqj9SkdmAyY7V0ZFyQqPtm0/rDS63us9Dt2qtqQlhrQGoJio6LA6wKcChr+YzNWwSa3WfKPIy6MX0oXeWNoxnczkW3gwFM3YdPz6gUNzD0/RMJ8VW0Fo91jB53GzG/YjfZMgFgibZnseApACZLHm/+VOY/sCAyanUT5Uu+kRgtgqguCqiIwqiQPkhDdZlHoOHH+ymnql+qDCiO6Kt5AnPZxemvwf9oPCo9YC18vPmc/XtOXyu4uQzMHF2WQseOm0YyKMWIF1zGTVMTsdQFa6KxUg+5DbiVnGgay9RBZyEel/vqy15B1pTzu7exTmnVZU+ViVHblTelYdWuE=\",\n    \"message\": \"Operation successful\"\n}"
                }
              ]
            },
            {
              "name": "Create Order",
              "event": [
                {
                  "listen": "prerequest",
                  "script": {
                    "exec": [
                      ""
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                },
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "if (pm.response.code == 200) {",
                      "    pm.collectionVariables.set('orderreference', pm.response.json().data.order.reference);",
                      "}"
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                }
              ],
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "api-key",
                    "value": "{{public-key}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"data\": \"{{encrypteddata}}\"\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{checkout-url}}/payment/order/create",
                  "host": [
                    "{{checkout-url}}"
                  ],
                  "path": [
                    "payment",
                    "order",
                    "create"
                  ],
                  "query": [
                    {
                      "key": "api-key",
                      "value": "",
                      "disabled": true
                    }
                  ]
                }
              },
              "response": [
                {
                  "name": "Create Order",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "api-key",
                        "value": "{{public-key}}",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"data\": \"{{encrypteddata}}\"\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{checkout-url}}/payment/order/create",
                      "host": [
                        "{{checkout-url}}"
                      ],
                      "path": [
                        "payment",
                        "order",
                        "create"
                      ],
                      "query": [
                        {
                          "key": "api-key",
                          "value": "",
                          "disabled": true
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Date",
                      "value": "Sun, 31 Mar 2024 14:05:46 GMT"
                    },
                    {
                      "key": "Content-Type",
                      "value": "application/json; charset=utf-8"
                    },
                    {
                      "key": "Content-Length",
                      "value": "1246"
                    },
                    {
                      "key": "Connection",
                      "value": "keep-alive"
                    },
                    {
                      "key": "Server",
                      "value": "Kestrel"
                    }
                  ],
                  "cookie": [],
                  "body": "{\n    \"data\": {\n        \"order\": {\n            \"reference\": \"754874724\",\n            \"processorReference\": \"IDSPAY-76279490-6B08-45CF-9919-582E9C77F52B\",\n            \"orderPaymentReference\": null,\n            \"amount\": 100,\n            \"fee\": 0,\n            \"feeRate\": 0,\n            \"statusId\": 1,\n            \"status\": \"Initiated\",\n            \"currency\": \"NGN\",\n            \"narration\": \"Pay\"\n        },\n        \"subsidiary\": {\n            \"id\": 1,\n            \"name\": \"Test Merchant\",\n            \"country\": \"NG\",\n            \"supportEmail\": \"test@ideospay.dev\",\n            \"customization\": []\n        },\n        \"customer\": {\n            \"email\": \"email@ideos.dev\",\n            \"firstName\": \"ideos\",\n            \"lastName\": \"pay\",\n            \"mobile\": \"+23481582333444\",\n            \"country\": \"NG\"\n        },\n        \"payment\": {\n            \"code\": null,\n            \"source\": \"Selected by Customer\",\n            \"selectedOption\": null,\n            \"accountNumber\": null,\n            \"bankProviderName\": null\n        },\n        \"otherPaymentOptions\": [\n            {\n                \"code\": \"BT\",\n                \"name\": \"Bank Transfer\",\n                \"currency\": \"NGN\"\n            },\n            {\n                \"code\": \"C\",\n                \"name\": \"Card Payment\",\n                \"currency\": \"NGN\"\n            },\n            {\n                \"code\": \"BA\",\n                \"name\": \"Bank Account\",\n                \"currency\": \"NGN\"\n            },\n            {\n                \"code\": \"USSD\",\n                \"name\": \"USSD\",\n                \"currency\": \"NGN\"\n            },\n            {\n                \"code\": \"BANK-TRANSFER\",\n                \"name\": \"Pay With Bank Transfer\",\n                \"currency\": \"NGN\"\n            },\n            {\n                \"code\": \"NQR\",\n                \"name\": \"QR Code Payment\",\n                \"currency\": \"NGN\"\n            }\n        ],\n        \"savedCards\": [],\n        \"subsidiaryOrderSummary\": {\n            \"orderName\": \"Test Merchant Order 754874724\",\n            \"totalAmount\": 100,\n            \"reference\": \"754874724\",\n            \"currency\": \"NGN\",\n            \"orderItems\": [\n                {\n                    \"name\": \"Summary\",\n                    \"amount\": 100\n                }\n            ]\n        }\n    },\n    \"status\": \"success\",\n    \"statusCode\": \"01\",\n    \"message\": \"Created order successfully\"\n}"
                }
              ]
            }
          ]
        },
        {
          "name": "Pay Order",
          "item": [
            {
              "name": "Pay With Card",
              "item": [
                {
                  "name": "3DS Sample Payload to encrypt",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          "if(pm.response.code == 200){",
                          "    pm.collectionVariables.set('encrypteddata', pm.response.json().data);",
                          "}"
                        ],
                        "type": "text/javascript",
                        "packages": {}
                      }
                    }
                  ],
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "api-key",
                        "value": "{{public-key}}"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"reference\": \"{{orderreference}}\",\r\n    \"paymentoption\": \"C\",\r\n    \"card\": {\r\n        \"cardnumber\": \"533850000006135\",\r\n        \"expirymonth\": \"10\",\r\n        \"expiryyear\": \"24\",\r\n        \"cvv\": \"101\"\r\n    }\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{checkout-url}}/payment/data/encrypt",
                      "host": [
                        "{{checkout-url}}"
                      ],
                      "path": [
                        "payment",
                        "data",
                        "encrypt"
                      ]
                    }
                  },
                  "response": [
                    {
                      "name": "card 3ds-payload",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "api-key",
                            "value": "{{public-key}}",
                            "type": "text"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\r\n    \"reference\": \"{{orderreference}}\",\r\n    \"paymentoption\": \"C\",\r\n    \"country\": \"NG\",\r\n    \"card\": {\r\n        \"cardnumber\": \"5120050000784608\",\r\n        \"expirymonth\": \"01\",\r\n        \"expiryyear\": \"39\",\r\n        \"cvv\": \"193\"\r\n    }\r\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{checkout-url}}/payment/data/encrypt",
                          "host": [
                            "{{checkout-url}}"
                          ],
                          "path": [
                            "payment",
                            "data",
                            "encrypt"
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Date",
                          "value": "Sun, 31 Mar 2024 14:07:33 GMT"
                        },
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        },
                        {
                          "key": "Transfer-Encoding",
                          "value": "chunked"
                        },
                        {
                          "key": "Connection",
                          "value": "keep-alive"
                        },
                        {
                          "key": "Server",
                          "value": "Kestrel"
                        }
                      ],
                      "cookie": [],
                      "body": "{\n    \"data\": \"L5j3aO/R7dFkhC79naBxPbMehPXJ5H8Oehb5m2orJElB8ARCwsofnVjdROvVvT5cTIMw+ZlAcj9dHTJHp3x62A4VHArrjenFbs8IwMZmhmhr2cZGUp26U6J0glNxJdKO+/L/U6Q6W9c1ja3cRGeP3ozzcv59WnaeWUQ5q6kOHbWSCml1BnmQrIV/tfA9d1ry1M8g01Nm6F1RHK/1r3lyTebHiJDJ6N/oAGWfYnss/l/thy+K56krHP4Pww7dUUymeQvE86p1pLpm3bp+wzngvbiRyZQpaHz2c0r926lJCP1xCJiv5KXnwHmFo7tJCqTg3FtjElEatvzmI97VXBX8bMTisXVfMvnqJtyOGj5qKDMCYb3hrqXB77FLl+hNMkkI5pEAN45re+2zESJoChiJDgqXgnxTwWyXiTnXVTwFyKi2FzvNfuArz0nifwVEb+0mIXSU7wsucdoJ2rdr0McDDYSPRUNHqspvmb7Sy+F1CgRIOCS9Df730CwCzGZlBFvdkBX1+r4wEKpYT30d67y0jukygmtsnt6gcfnMttkcsFCRmp348pGx9I3g/3xkNL8zAnDpeH+muzLritKrYvmGXX4MrKwl3cPwP11P42t2G1wNBflx1HjYX7u3YYLj4joAVleo43Say3l5Q7nD/LVqW19teHHOOjUZA9KBX3eWuEk=\",\n    \"message\": \"Operation successful\"\n}"
                    }
                  ]
                },
                {
                  "name": "3DS to save card for customer",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          "if(pm.response.code == 200){",
                          "    pm.collectionVariables.set('encrypteddata', pm.response.json().data);",
                          "}"
                        ],
                        "type": "text/javascript",
                        "packages": {}
                      }
                    }
                  ],
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "api-key",
                        "value": "{{public-key}}"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"reference\": \"{{orderreference}}\",\r\n    \"paymentoption\": \"C\",\r\n    \"country\": \"NG\",\r\n    \"card\": {\r\n        \"cardnumber\": \"5415901101801\",\r\n        \"expirymonth\": \"06\",\r\n        \"expiryyear\": \"26\",\r\n        \"cvv\": \"049\",\r\n        \"saveCard\": true\r\n    }\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{checkout-url}}/payment/data/encrypt",
                      "host": [
                        "{{checkout-url}}"
                      ],
                      "path": [
                        "payment",
                        "data",
                        "encrypt"
                      ]
                    }
                  },
                  "response": [
                    {
                      "name": "card 3ds-payload",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "api-key",
                            "value": "{{public-key}}",
                            "type": "text"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\r\n    \"reference\": \"{{orderreference}}\",\r\n    \"paymentoption\": \"C\",\r\n    \"country\": \"NG\",\r\n    \"card\": {\r\n        \"cardnumber\": \"5120050000784608\",\r\n        \"expirymonth\": \"01\",\r\n        \"expiryyear\": \"39\",\r\n        \"cvv\": \"193\"\r\n    }\r\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{checkout-url}}/payment/data/encrypt",
                          "host": [
                            "{{checkout-url}}"
                          ],
                          "path": [
                            "payment",
                            "data",
                            "encrypt"
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Date",
                          "value": "Sun, 31 Mar 2024 14:07:33 GMT"
                        },
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        },
                        {
                          "key": "Transfer-Encoding",
                          "value": "chunked"
                        },
                        {
                          "key": "Connection",
                          "value": "keep-alive"
                        },
                        {
                          "key": "Server",
                          "value": "Kestrel"
                        }
                      ],
                      "cookie": [],
                      "body": "{\n    \"data\": \"L5j3aO/R7dFkhC79naBxPbMehPXJ5H8Oehb5m2orJElB8ARCwsofnVjdROvVvT5cTIMw+ZlAcj9dHTJHp3x62A4VHArrjenFbs8IwMZmhmhr2cZGUp26U6J0glNxJdKO+/L/U6Q6W9c1ja3cRGeP3ozzcv59WnaeWUQ5q6kOHbWSCml1BnmQrIV/tfA9d1ry1M8g01Nm6F1RHK/1r3lyTebHiJDJ6N/oAGWfYnss/l/thy+K56krHP4Pww7dUUymeQvE86p1pLpm3bp+wzngvbiRyZQpaHz2c0r926lJCP1xCJiv5KXnwHmFo7tJCqTg3FtjElEatvzmI97VXBX8bMTisXVfMvnqJtyOGj5qKDMCYb3hrqXB77FLl+hNMkkI5pEAN45re+2zESJoChiJDgqXgnxTwWyXiTnXVTwFyKi2FzvNfuArz0nifwVEb+0mIXSU7wsucdoJ2rdr0McDDYSPRUNHqspvmb7Sy+F1CgRIOCS9Df730CwCzGZlBFvdkBX1+r4wEKpYT30d67y0jukygmtsnt6gcfnMttkcsFCRmp348pGx9I3g/3xkNL8zAnDpeH+muzLritKrYvmGXX4MrKwl3cPwP11P42t2G1wNBflx1HjYX7u3YYLj4joAVleo43Say3l5Q7nD/LVqW19teHHOOjUZA9KBX3eWuEk=\",\n    \"message\": \"Operation successful\"\n}"
                    }
                  ]
                },
                {
                  "name": "2DS - NOAUTH Sample Payload to encrypt",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          "if(pm.response.code == 200){",
                          "    pm.collectionVariables.set('encrypteddata', pm.response.json().data);",
                          "}"
                        ],
                        "type": "text/javascript",
                        "packages": {}
                      }
                    }
                  ],
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "api-key",
                        "value": "{{public-key}}"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"reference\": \"{{orderreference}}\",\r\n    \"paymentoption\": \"C\",\r\n    \"country\": \"NG\",\r\n    \"card\": {\r\n        \"cardnumber\": \"5338530814336135\",\r\n        \"expirymonth\": \"10\",\r\n        \"expiryyear\": \"24\",\r\n        \"cvv\": \"123\",\r\n        \"authOption\": \"NOAUTH\"\r\n    }\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{checkout-url}}/payment/data/encrypt",
                      "host": [
                        "{{checkout-url}}"
                      ],
                      "path": [
                        "payment",
                        "data",
                        "encrypt"
                      ]
                    }
                  },
                  "response": [
                    {
                      "name": "card 3ds-payload",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "api-key",
                            "value": "{{public-key}}",
                            "type": "text"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\r\n    \"reference\": \"{{orderreference}}\",\r\n    \"paymentoption\": \"C\",\r\n    \"country\": \"NG\",\r\n    \"card\": {\r\n        \"cardnumber\": \"5120050000784608\",\r\n        \"expirymonth\": \"01\",\r\n        \"expiryyear\": \"39\",\r\n        \"cvv\": \"193\"\r\n    }\r\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{checkout-url}}/payment/data/encrypt",
                          "host": [
                            "{{checkout-url}}"
                          ],
                          "path": [
                            "payment",
                            "data",
                            "encrypt"
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Date",
                          "value": "Sun, 31 Mar 2024 14:07:33 GMT"
                        },
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        },
                        {
                          "key": "Transfer-Encoding",
                          "value": "chunked"
                        },
                        {
                          "key": "Connection",
                          "value": "keep-alive"
                        },
                        {
                          "key": "Server",
                          "value": "Kestrel"
                        }
                      ],
                      "cookie": [],
                      "body": "{\n    \"data\": \"L5j3aO/R7dFkhC79naBxPbMehPXJ5H8Oehb5m2orJElB8ARCwsofnVjdROvVvT5cTIMw+ZlAcj9dHTJHp3x62A4VHArrjenFbs8IwMZmhmhr2cZGUp26U6J0glNxJdKO+/L/U6Q6W9c1ja3cRGeP3ozzcv59WnaeWUQ5q6kOHbWSCml1BnmQrIV/tfA9d1ry1M8g01Nm6F1RHK/1r3lyTebHiJDJ6N/oAGWfYnss/l/thy+K56krHP4Pww7dUUymeQvE86p1pLpm3bp+wzngvbiRyZQpaHz2c0r926lJCP1xCJiv5KXnwHmFo7tJCqTg3FtjElEatvzmI97VXBX8bMTisXVfMvnqJtyOGj5qKDMCYb3hrqXB77FLl+hNMkkI5pEAN45re+2zESJoChiJDgqXgnxTwWyXiTnXVTwFyKi2FzvNfuArz0nifwVEb+0mIXSU7wsucdoJ2rdr0McDDYSPRUNHqspvmb7Sy+F1CgRIOCS9Df730CwCzGZlBFvdkBX1+r4wEKpYT30d67y0jukygmtsnt6gcfnMttkcsFCRmp348pGx9I3g/3xkNL8zAnDpeH+muzLritKrYvmGXX4MrKwl3cPwP11P42t2G1wNBflx1HjYX7u3YYLj4joAVleo43Say3l5Q7nD/LVqW19teHHOOjUZA9KBX3eWuEk=\",\n    \"message\": \"Operation successful\"\n}"
                    }
                  ]
                },
                {
                  "name": "2D Charge With Saved Card",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          "if(pm.response.code == 200){",
                          "    pm.collectionVariables.set('encrypteddata', pm.response.json().data);",
                          "}"
                        ],
                        "type": "text/javascript",
                        "packages": {}
                      }
                    }
                  ],
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "api-key",
                        "value": "{{public-key}}"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"reference\": \"{{orderreference}}\",\r\n    \"paymentoption\": \"C\",\r\n    \"country\": \"NG\",\r\n    \"card\": {\r\n        \"savedCardId\": 1\r\n    }\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{checkout-url}}/payment/data/encrypt",
                      "host": [
                        "{{checkout-url}}"
                      ],
                      "path": [
                        "payment",
                        "data",
                        "encrypt"
                      ]
                    }
                  },
                  "response": [
                    {
                      "name": "card 3ds-payload",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "api-key",
                            "value": "{{public-key}}",
                            "type": "text"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\r\n    \"reference\": \"{{orderreference}}\",\r\n    \"paymentoption\": \"C\",\r\n    \"country\": \"NG\",\r\n    \"card\": {\r\n        \"cardnumber\": \"5120050000784608\",\r\n        \"expirymonth\": \"01\",\r\n        \"expiryyear\": \"39\",\r\n        \"cvv\": \"193\"\r\n    }\r\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{checkout-url}}/payment/data/encrypt",
                          "host": [
                            "{{checkout-url}}"
                          ],
                          "path": [
                            "payment",
                            "data",
                            "encrypt"
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Date",
                          "value": "Sun, 31 Mar 2024 14:07:33 GMT"
                        },
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        },
                        {
                          "key": "Transfer-Encoding",
                          "value": "chunked"
                        },
                        {
                          "key": "Connection",
                          "value": "keep-alive"
                        },
                        {
                          "key": "Server",
                          "value": "Kestrel"
                        }
                      ],
                      "cookie": [],
                      "body": "{\n    \"data\": \"L5j3aO/R7dFkhC79naBxPbMehPXJ5H8Oehb5m2orJElB8ARCwsofnVjdROvVvT5cTIMw+ZlAcj9dHTJHp3x62A4VHArrjenFbs8IwMZmhmhr2cZGUp26U6J0glNxJdKO+/L/U6Q6W9c1ja3cRGeP3ozzcv59WnaeWUQ5q6kOHbWSCml1BnmQrIV/tfA9d1ry1M8g01Nm6F1RHK/1r3lyTebHiJDJ6N/oAGWfYnss/l/thy+K56krHP4Pww7dUUymeQvE86p1pLpm3bp+wzngvbiRyZQpaHz2c0r926lJCP1xCJiv5KXnwHmFo7tJCqTg3FtjElEatvzmI97VXBX8bMTisXVfMvnqJtyOGj5qKDMCYb3hrqXB77FLl+hNMkkI5pEAN45re+2zESJoChiJDgqXgnxTwWyXiTnXVTwFyKi2FzvNfuArz0nifwVEb+0mIXSU7wsucdoJ2rdr0McDDYSPRUNHqspvmb7Sy+F1CgRIOCS9Df730CwCzGZlBFvdkBX1+r4wEKpYT30d67y0jukygmtsnt6gcfnMttkcsFCRmp348pGx9I3g/3xkNL8zAnDpeH+muzLritKrYvmGXX4MrKwl3cPwP11P42t2G1wNBflx1HjYX7u3YYLj4joAVleo43Say3l5Q7nD/LVqW19teHHOOjUZA9KBX3eWuEk=\",\n    \"message\": \"Operation successful\"\n}"
                    }
                  ]
                }
              ]
            },
            {
              "name": "Pay With Bank Transfer",
              "item": [
                {
                  "name": "pay with bank transfer",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          "if(pm.response.code == 200){",
                          "    pm.collectionVariables.set('encrypteddata', pm.response.json().data);",
                          "}"
                        ],
                        "type": "text/javascript",
                        "packages": {}
                      }
                    }
                  ],
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "api-key",
                        "value": "{{public-key}}",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"reference\": \"{{orderreference}}\",\r\n    \"paymentoption\": \"bank-transfer\",\r\n    \"country\": \"NG\",\r\n    \"BankTransfer\": {\r\n        \"bankcode\": \"00017\"\r\n    }\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{checkout-url}}/payment/data/encrypt",
                      "host": [
                        "{{checkout-url}}"
                      ],
                      "path": [
                        "payment",
                        "data",
                        "encrypt"
                      ]
                    }
                  },
                  "response": [
                    {
                      "name": "Data Encrypt",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "api-key",
                            "value": "{{public-key}}",
                            "type": "text"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\r\n    \"customer\": {\r\n        \"First_Name\": \"Aje\",\r\n        \"Last_Name\": \"Aje\",\r\n        \"Mobile_Number\": \"Jae\",\r\n        \"Country_Id\": 1,\r\n        \"Email_Address\": \"johndoe@gmail.com\"\r\n    },\r\n    \"Subsidiary\": {\r\n        \"Send_Customiza_tion\": true\r\n    },\r\n    \"Payment\": {\r\n        \"Payment_Option\": 1\r\n    },\r\n    \"Order\": {\r\n        \"Amount\": 5000,\r\n        \"Order_Reference\": \"ORD12345678\",\r\n        \"Description_Of_Order\": \"Test Payment\",\r\n        \"Currency_Id\": 1\r\n    }\r\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{uri}}/checkout/data/encrypt",
                          "host": [
                            "{{uri}}"
                          ],
                          "path": [
                            "checkout",
                            "data",
                            "encrypt"
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Date",
                          "value": "Mon, 10 May 2021 00:33:14 GMT"
                        },
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        },
                        {
                          "key": "Content-Length",
                          "value": "704"
                        },
                        {
                          "key": "Connection",
                          "value": "keep-alive"
                        },
                        {
                          "key": "Server",
                          "value": "nginx/1.18.0"
                        }
                      ],
                      "cookie": [],
                      "body": "{\n    \"EncryptedData\": \"BsBpN1YiG5Ey5S3pZZfu5s5k1jU4yijm9+S/oBY35ian8WJp1ymMIj1rZxDIfTYe2W9kNjiuXJQPBpkmzvwuhouPlO12NVLHaf2FiE7s+6RcJnUb+yWc+qrdxeKz9UivyTiW1FO8XwTRobwzC1vZ9DqeNXzJ8pNefJjpP707LCWu9bBdrtrN9D71R9wW8oYQDwt0YW27EJeD7Egu+vleoc6BeOb1dU2E//vJOcZ8GddqX1g6HT3ewFvgLzRJgw/2G50YL4J4S67AQuZmGKzMjwgsiSAsFyFVoW+bzd/CWqMKLm3jrk7PtcpvEKfDtVCsMx3kehll29yCrtmJs8yedrQPORUnm/wHhS3d9RYYgN0CqOcgZCClqvbBGUbylpphMf337euC+5s/iIrRgjdoTYpKWTesc5FJCL1XBQcQL4UkAHRtwyvqigE32+by1vqab/gYRNlro6QkYbc3tfVw65/kU92HKOd68/D9SMS7d+PPsbHeqPlWe3Td2vH2UwMgUoDd27AAjTajqrFlIxLLCbTe463UXNTKHjXNM27ueymzUGPfsBxge/4alK+yDG0Oc4m0z4hIFNPrlet9jack+kHf9YR3YU6V3Cy/m3ZuEjj8nyij2AfyWYBtGnps6lm7QUX5C8B51xk+ybFM/4pzuVTh48LT1gojNMOjM5lDULA=\"\n}"
                    },
                    {
                      "name": "Pay with card payload",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "api-key",
                            "value": "{{public-key}}",
                            "type": "text"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\r\n    \"reference\":\"ORD12DC89289033323387\",\r\n    \"payment_option\":\"C\",\r\n    \"card\":{\r\n        \"cvv\":\"214\",\r\n        \"card_number\":\"4456530000000007\",\r\n        \"expiry_month\":\"12\",\r\n        \"expiry_year\":\"2025\"\r\n    }\r\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{checkout-url}}/data/encrypt",
                          "host": [
                            "{{checkout-url}}"
                          ],
                          "path": [
                            "data",
                            "encrypt"
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Date",
                          "value": "Sun, 13 Jun 2021 07:22:00 GMT"
                        },
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        },
                        {
                          "key": "Server",
                          "value": "Kestrel"
                        },
                        {
                          "key": "Transfer-Encoding",
                          "value": "chunked"
                        }
                      ],
                      "cookie": [],
                      "body": "{\n    \"data\": \"adMeady/dFZjx2Rrty9Mn3yAJhD1eXNtTn3PzYD9H05Rx+oVohkEaovvAKGARvOmIrsLZ6Oi9KnYx+9hmyG/YEn1W5v833QyCUN34NaRjEz8YZAccEvk5n6ZJziwdAOzN3yo4gWUliN37alO2afn2QDZ8KfhFPh7+oXRBnYae4l9hTX6pWJHb4oahp36lfoK04XCRDhgFCgerqrCIkZQ/5FWbecpfsf7dSDTTqJLWqk+8AXghwq0sku20Izc15ShU0KMKiYBPIhSsFMa6j5g5STFtVRgrPxDnyrdTue6ANc1o1iL04bpB3nFz43scwvPEsdqnux94wuyDEldbCMdL542h+ZyLTpUOKu32IMIDGRBepSTaWNEz9q7A+ez0XXZNlK+JYHJZBitiPzaQla/mLvAC7fKrl0XvBVrL9bLz+AbOfYKrDY04LC5ADBacJ3FiRCTNLmiswRauUDCdo7DBkkEeL85eeg8E32i+xxnqUpkSGsxO69g7jNVKvsoHSCjO2ZYo+QIKSMuMU+5q46ipYXvHmjKJgPbvuG6R1SoFRoY/ATQEEe0WgPiO1tRVkLm/23wKlBu/uEKNeODBxtkG2U9vdzVE0oYmcXVWXi4WoCPpzZ9xNfaXqn26VfHzPaVwPSw9D4Y5s/7tA6H+FmR7lbqzcjdOlkCH/5kFSTnCwc=\"\n}"
                    },
                    {
                      "name": "Card Payment Response",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "api-key",
                            "value": "{{public-key}}",
                            "type": "text"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\r\n    \"data\": \"{{encrypteddata}}\"\r\n}",
                          "options": {
                            "raw": {
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseurl}}/checkout/order/pay",
                          "host": [
                            "{{baseurl}}"
                          ],
                          "path": [
                            "checkout",
                            "order",
                            "pay"
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Date",
                          "value": "Mon, 09 May 2022 04:22:14 GMT"
                        },
                        {
                          "key": "Content-Type",
                          "value": "application/json; charset=utf-8"
                        },
                        {
                          "key": "Content-Length",
                          "value": "687"
                        },
                        {
                          "key": "Connection",
                          "value": "keep-alive"
                        },
                        {
                          "key": "Server",
                          "value": "Microsoft-IIS/10.0"
                        },
                        {
                          "key": "X-Powered-By",
                          "value": "ASP.NET"
                        },
                        {
                          "key": "X-Powered-By",
                          "value": "ASP.NET"
                        }
                      ],
                      "cookie": [],
                      "body": "{\n    \"data\": {\n        \"card\": null,\n        \"payment_detail\": {\n            \"redirect_url\": \"http://payinvert-collection-service-dev.us-east-2.elasticbeanstalk.com/web/authorize/card/CP11931069-D9E9-4F56-BEB1-9815AF4E8A1D/initiate\",\n            \"payment_reference\": \"CP11931069-D9E9-4F56-BEB1-9815AF4E8A1D\"\n        },\n        \"bank_transfer_details\": null,\n        \"order_payment\": {\n            \"order_id\": 1218,\n            \"order_payment_reference\": \"PA-REF-EED87B40-658D-417A-95AE-D53DE49CBA6C\",\n            \"currency\": \"NGN\",\n            \"status_id\": 1,\n            \"order_payment_response_code\": \"01\",\n            \"order_payment_response_message\": \"Initiated\",\n            \"order_payment_instrument\": null,\n            \"remarks\": \"Order payment initiated\",\n            \"total_amount\": 112,\n            \"fee\": 12\n        }\n    },\n    \"status\": \"success\",\n    \"status_code\": \"00\",\n    \"message\": \"Card order created successfully\"\n}"
                    }
                  ]
                }
              ]
            },
            {
              "name": "Pay Order",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "api-key",
                    "value": "{{public-key}}",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"data\": \"{{encrypteddata}}\"\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{checkout-url}}/payment/order/pay",
                  "host": [
                    "{{checkout-url}}"
                  ],
                  "path": [
                    "payment",
                    "order",
                    "pay"
                  ]
                }
              },
              "response": [
                {
                  "name": "Pay Order",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "api-key",
                        "value": "{{public-key}}",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"data\": \"{{encrypteddata}}\"\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{checkout-url}}/payment/order/pay",
                      "host": [
                        "{{checkout-url}}"
                      ],
                      "path": [
                        "payment",
                        "order",
                        "pay"
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Date",
                      "value": "Sun, 31 Mar 2024 14:08:30 GMT"
                    },
                    {
                      "key": "Content-Type",
                      "value": "application/json; charset=utf-8"
                    },
                    {
                      "key": "Content-Length",
                      "value": "656"
                    },
                    {
                      "key": "Connection",
                      "value": "keep-alive"
                    },
                    {
                      "key": "Server",
                      "value": "Kestrel"
                    }
                  ],
                  "cookie": [],
                  "body": "{\n    \"data\": {\n        \"paymentDetail\": {\n            \"redirectUrl\": \"https://core-api-service.ideospay.dev/web/card/authorize/CPF046D30F-3F82-4A9A-B2AD-AC5AE3480D8F/initiate\",\n            \"recipientAccount\": null,\n            \"paymentReference\": \"CPF046D30F-3F82-4A9A-B2AD-AC5AE3480D8F\"\n        },\n        \"bankTransferDetails\": null,\n        \"orderPayment\": {\n            \"orderId\": 26,\n            \"orderPaymentReference\": \"PGW-PAYREF-96C2ABCB218C43329037E47268F74195\",\n            \"currency\": \"NGN\",\n            \"statusId\": 2,\n            \"orderPaymentResponseCode\": \"02\",\n            \"orderPaymentResponseMessage\": \"pending-authenticaion\",\n            \"orderPaymentInstrument\": null,\n            \"remarks\": \"Order payment initiated\",\n            \"totalAmount\": 114,\n            \"fee\": 14\n        }\n    },\n    \"status\": \"success\",\n    \"statusCode\": \"02\",\n    \"message\": \"Card order created successfully\"\n}"
                }
              ]
            }
          ],
          "description": "Pay Order\n\nAfter completing the pay order request.\n\nIt's important to keep pulling the order status/verify endpoint to know when the status of the order has changed and customer can be notified properly of successful payment. If the status of the order didn't change after about 5 minutes then the status of the order can be on pending and customer would be notified once the transaction has been completed"
        },
        {
          "name": "Get Order Status",
          "item": [
            {
              "name": "Sample Payload to encrypt",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "if(pm.response.code == 200){",
                      "    pm.collectionVariables.set('encrypteddata', pm.response.json().data);",
                      "}"
                    ],
                    "type": "text/javascript"
                  }
                }
              ],
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "api-key",
                    "value": "{{public-key}}",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"reference\": \"{{orderreference}}\"\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{checkout-url}}/payment/data/encrypt",
                  "host": [
                    "{{checkout-url}}"
                  ],
                  "path": [
                    "payment",
                    "data",
                    "encrypt"
                  ]
                }
              },
              "response": [
                {
                  "name": "Encrypt Order Status payload",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "api-key",
                        "value": "{{public-key}}",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"reference\": \"{{orderreference}}\"\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{checkout-url}}/payment/data/encrypt",
                      "host": [
                        "{{checkout-url}}"
                      ],
                      "path": [
                        "payment",
                        "data",
                        "encrypt"
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Date",
                      "value": "Sun, 31 Mar 2024 14:09:29 GMT"
                    },
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    },
                    {
                      "key": "Transfer-Encoding",
                      "value": "chunked"
                    },
                    {
                      "key": "Connection",
                      "value": "keep-alive"
                    },
                    {
                      "key": "Server",
                      "value": "Kestrel"
                    }
                  ],
                  "cookie": [],
                  "body": "{\n    \"data\": \"ASK7UxU45861CgMkQGlcUbQgLcWBpuw4sUEnd4+xWfD5VnEK6rT07cBb32VLcHK910Hpf3K+RD5n4JSwZC6Eu0PvBLAIPjH8FCkGATyo9+C2IS8OcNGLB4cHYNIfdUAUUmDFXqXMW5uz7gmJdfH47TyTmIbEh7ErJyGnM/vDdIUHJD0eh/m/xr1xdCXIUITQyIQ9ABu6MH4W8vjFg3MaW2iJC6wJVoKejd5HomJtUiGBOrlri1tUx0xuQs3rS0/Z2qxEed0j6aZHy1wfifHY6p4WOok7umx4FTTU1In3xS8Fwh2GB4YZizFVAtrghioL2IiXNauTgV+hKk9X56Ti3A7+VOm7ytPduysitaDWL6ZxNEEyepy83amFOGBIYySUGNrltCkUx2sSezH8Zdwv9IqlFoplo5zViSqyAjUB8BP86H0YF+Toc9s9c/XjVK+w811ypVVcVlKJL6I86usKwvDgZqR8s2ExUAJBvNZFSJ+RZE9Y3JBzUm2iKPTffGO90rVX30GsGZmTVwsVw/FPPP9iUOKxFXWplXmS/5mL5R0XTh3DL3gte8FyLjMkf9BPcCiCJ6L5910Iolb2PDC/jVBqoMVRRuMO30Qgy1UuFFQ6XmHEyzXh7WUPd12l00vi3s6AOp7+J6ZMzWp42AD75K7iQ9T5GkTj0tBBmpVGrMI=\",\n    \"message\": \"Operation successful\"\n}"
                }
              ]
            },
            {
              "name": "Order status",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "api-key",
                    "value": "{{public-key}}",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"data\": \"{{encrypteddata}}\"\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{checkout-url}}/payment/order/status/new",
                  "host": [
                    "{{checkout-url}}"
                  ],
                  "path": [
                    "payment",
                    "order",
                    "status",
                    "new"
                  ]
                }
              },
              "response": [
                {
                  "name": "Order status",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "api-key",
                        "value": "{{public-key}}",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"data\": \"{{encrypteddata}}\"\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{checkout-url}}/payment/order/status/new",
                      "host": [
                        "{{checkout-url}}"
                      ],
                      "path": [
                        "payment",
                        "order",
                        "status",
                        "new"
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Date",
                      "value": "Sun, 31 Mar 2024 14:09:42 GMT"
                    },
                    {
                      "key": "Content-Type",
                      "value": "application/json; charset=utf-8"
                    },
                    {
                      "key": "Content-Length",
                      "value": "1302"
                    },
                    {
                      "key": "Connection",
                      "value": "keep-alive"
                    },
                    {
                      "key": "Server",
                      "value": "Kestrel"
                    }
                  ],
                  "cookie": [],
                  "body": "{\n    \"status\": \"Successful\",\n    \"statusCode\": \"00\",\n    \"message\": \"Successful\",\n    \"data\": {\n        \"isFinalStatus\": true,\n        \"requeryNeeded\": false,\n        \"requeryType\": null,\n        \"orderSummary\": {\n            \"id\": 26,\n            \"paymentReference\": \"IDSPAY-76279490-6B08-45CF-9919-582E9C77F52B\",\n            \"orderReference\": \"754874724\",\n            \"totalChargedAmount\": 114,\n            \"fee\": 14,\n            \"statusId\": 5,\n            \"status\": \"Successful\",\n            \"paymentType\": \"C\",\n            \"currencyId\": 1,\n            \"paymentResponseCode\": \"00\",\n            \"paymentResponseMessage\": \"Successful\",\n            \"providerResponseDate\": null,\n            \"datePaymentConfirmed\": null,\n            \"dateCreated\": \"2024-03-31T14:05:46.37\",\n            \"narration\": \"Pay\",\n            \"remarks\": \"Order initiated and created successfully\"\n        },\n        \"orderPayments\": [\n            {\n                \"orderId\": 26,\n                \"orderPaymentReference\": \"PGW-PAYREF-96C2ABCB218C43329037E47268F74195\",\n                \"paymentOptionId\": 2,\n                \"statusId\": 5,\n                \"orderPaymentResponseCode\": \"00\",\n                \"orderPaymentResponseMessage\": \"Successful\",\n                \"orderPaymentInstrument\": null,\n                \"remarks\": \"Order payment initiated\",\n                \"providerReference\": \"CPF046D30F-3F82-4A9A-B2AD-AC5AE3480D8F\",\n                \"providerResponseCode\": \"02\",\n                \"paymentUrl\": \"https://core-api-service.ideospay.dev/web/card/authorize/CPF046D30F-3F82-4A9A-B2AD-AC5AE3480D8F/initiate\",\n                \"externalReference\": \"N/A\",\n                \"authOption\": null,\n                \"order\": null,\n                \"id\": 18,\n                \"dateCreated\": \"2024-03-31T14:08:30.6525848\",\n                \"dateUpdated\": \"2024-03-31T14:08:51.3048026\",\n                \"dateDeleted\": null,\n                \"createdBy\": -1,\n                \"updatedBy\": -1,\n                \"deletedBy\": null\n            }\n        ]\n    }\n}"
                }
              ]
            }
          ]
        },
        {
          "name": "Save Card After Charge",
          "item": [
            {
              "name": "Sample Payload to encrypt",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "if(pm.response.code == 200){",
                      "    pm.collectionVariables.set('encrypteddata', pm.response.json().data);",
                      "}"
                    ],
                    "type": "text/javascript"
                  }
                }
              ],
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "api-key",
                    "value": "{{public-key}}",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"reference\": \"{{orderreference}}\"\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{checkout-url}}/payment/data/encrypt",
                  "host": [
                    "{{checkout-url}}"
                  ],
                  "path": [
                    "payment",
                    "data",
                    "encrypt"
                  ]
                }
              },
              "response": [
                {
                  "name": "Encrypt Order Status payload",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "api-key",
                        "value": "{{public-key}}",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"reference\": \"{{orderreference}}\"\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{checkout-url}}/payment/data/encrypt",
                      "host": [
                        "{{checkout-url}}"
                      ],
                      "path": [
                        "payment",
                        "data",
                        "encrypt"
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Date",
                      "value": "Sun, 31 Mar 2024 14:09:29 GMT"
                    },
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    },
                    {
                      "key": "Transfer-Encoding",
                      "value": "chunked"
                    },
                    {
                      "key": "Connection",
                      "value": "keep-alive"
                    },
                    {
                      "key": "Server",
                      "value": "Kestrel"
                    }
                  ],
                  "cookie": [],
                  "body": "{\n    \"data\": \"ASK7UxU45861CgMkQGlcUbQgLcWBpuw4sUEnd4+xWfD5VnEK6rT07cBb32VLcHK910Hpf3K+RD5n4JSwZC6Eu0PvBLAIPjH8FCkGATyo9+C2IS8OcNGLB4cHYNIfdUAUUmDFXqXMW5uz7gmJdfH47TyTmIbEh7ErJyGnM/vDdIUHJD0eh/m/xr1xdCXIUITQyIQ9ABu6MH4W8vjFg3MaW2iJC6wJVoKejd5HomJtUiGBOrlri1tUx0xuQs3rS0/Z2qxEed0j6aZHy1wfifHY6p4WOok7umx4FTTU1In3xS8Fwh2GB4YZizFVAtrghioL2IiXNauTgV+hKk9X56Ti3A7+VOm7ytPduysitaDWL6ZxNEEyepy83amFOGBIYySUGNrltCkUx2sSezH8Zdwv9IqlFoplo5zViSqyAjUB8BP86H0YF+Toc9s9c/XjVK+w811ypVVcVlKJL6I86usKwvDgZqR8s2ExUAJBvNZFSJ+RZE9Y3JBzUm2iKPTffGO90rVX30GsGZmTVwsVw/FPPP9iUOKxFXWplXmS/5mL5R0XTh3DL3gte8FyLjMkf9BPcCiCJ6L5910Iolb2PDC/jVBqoMVRRuMO30Qgy1UuFFQ6XmHEyzXh7WUPd12l00vi3s6AOp7+J6ZMzWp42AD75K7iQ9T5GkTj0tBBmpVGrMI=\",\n    \"message\": \"Operation successful\"\n}"
                }
              ]
            },
            {
              "name": "Order status",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "api-key",
                    "value": "{{public-key}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"data\": \"{{encrypteddata}}\"\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{checkout-url}}/payment/order/save-card",
                  "host": [
                    "{{checkout-url}}"
                  ],
                  "path": [
                    "payment",
                    "order",
                    "save-card"
                  ]
                }
              },
              "response": [
                {
                  "name": "Order status",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "api-key",
                        "value": "{{public-key}}",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"data\": \"{{encrypteddata}}\"\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{checkout-url}}/payment/order/status/new",
                      "host": [
                        "{{checkout-url}}"
                      ],
                      "path": [
                        "payment",
                        "order",
                        "status",
                        "new"
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Date",
                      "value": "Sun, 31 Mar 2024 14:09:42 GMT"
                    },
                    {
                      "key": "Content-Type",
                      "value": "application/json; charset=utf-8"
                    },
                    {
                      "key": "Content-Length",
                      "value": "1302"
                    },
                    {
                      "key": "Connection",
                      "value": "keep-alive"
                    },
                    {
                      "key": "Server",
                      "value": "Kestrel"
                    }
                  ],
                  "cookie": [],
                  "body": "{\n    \"status\": \"Successful\",\n    \"statusCode\": \"00\",\n    \"message\": \"Successful\",\n    \"data\": {\n        \"isFinalStatus\": true,\n        \"requeryNeeded\": false,\n        \"requeryType\": null,\n        \"orderSummary\": {\n            \"id\": 26,\n            \"paymentReference\": \"IDSPAY-76279490-6B08-45CF-9919-582E9C77F52B\",\n            \"orderReference\": \"754874724\",\n            \"totalChargedAmount\": 114,\n            \"fee\": 14,\n            \"statusId\": 5,\n            \"status\": \"Successful\",\n            \"paymentType\": \"C\",\n            \"currencyId\": 1,\n            \"paymentResponseCode\": \"00\",\n            \"paymentResponseMessage\": \"Successful\",\n            \"providerResponseDate\": null,\n            \"datePaymentConfirmed\": null,\n            \"dateCreated\": \"2024-03-31T14:05:46.37\",\n            \"narration\": \"Pay\",\n            \"remarks\": \"Order initiated and created successfully\"\n        },\n        \"orderPayments\": [\n            {\n                \"orderId\": 26,\n                \"orderPaymentReference\": \"PGW-PAYREF-96C2ABCB218C43329037E47268F74195\",\n                \"paymentOptionId\": 2,\n                \"statusId\": 5,\n                \"orderPaymentResponseCode\": \"00\",\n                \"orderPaymentResponseMessage\": \"Successful\",\n                \"orderPaymentInstrument\": null,\n                \"remarks\": \"Order payment initiated\",\n                \"providerReference\": \"CPF046D30F-3F82-4A9A-B2AD-AC5AE3480D8F\",\n                \"providerResponseCode\": \"02\",\n                \"paymentUrl\": \"https://core-api-service.ideospay.dev/web/card/authorize/CPF046D30F-3F82-4A9A-B2AD-AC5AE3480D8F/initiate\",\n                \"externalReference\": \"N/A\",\n                \"authOption\": null,\n                \"order\": null,\n                \"id\": 18,\n                \"dateCreated\": \"2024-03-31T14:08:30.6525848\",\n                \"dateUpdated\": \"2024-03-31T14:08:51.3048026\",\n                \"dateDeleted\": null,\n                \"createdBy\": -1,\n                \"updatedBy\": -1,\n                \"deletedBy\": null\n            }\n        ]\n    }\n}"
                }
              ]
            }
          ]
        },
        {
          "name": "Get Order Fee",
          "item": [
            {
              "name": "Encrypt Order fee",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "if(pm.response.code == 200){",
                      "    pm.collectionVariables.set('encrypteddata', pm.response.json().data);",
                      "}"
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                }
              ],
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "api-key",
                    "value": "{{public-key}}",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"amount\": 100,\r\n    \"paymentoption\": \"C\",\r\n    \"currency\": \"USD\"\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{checkout-url}}/payment/data/encrypt",
                  "host": [
                    "{{checkout-url}}"
                  ],
                  "path": [
                    "payment",
                    "data",
                    "encrypt"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get fee",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "api-key",
                    "value": "{{public-key}}",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"data\": \"{{encrypteddata}}\"\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{checkout-url}}/payment/order/fee/new",
                  "host": [
                    "{{checkout-url}}"
                  ],
                  "path": [
                    "payment",
                    "order",
                    "fee"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Track event",
          "item": [
            {
              "name": "Encrypt",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "if(pm.response.code == 200){",
                      "    pm.collectionVariables.set('encrypteddata', pm.response.json().data);",
                      "}"
                    ],
                    "type": "text/javascript"
                  }
                }
              ],
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "api-key",
                    "value": "{{public-key}}",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"eventname\": \"CARD-ENTERED\",\r\n    \"orderreference\": {{reference}},\r\n    \"meta\": \"\"\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{checkout-url}}/payment/data/encrypt",
                  "host": [
                    "{{checkout-url}}"
                  ],
                  "path": [
                    "payment",
                    "data",
                    "encrypt"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Track event",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "api-key",
                    "value": "{{public-key}}",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"Data\":\"{{encrypteddata}}\"\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{checkout-url}}/payment/order/event/track",
                  "host": [
                    "{{checkout-url}}"
                  ],
                  "path": [
                    "payment",
                    "order",
                    "event",
                    "track"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Banks",
          "item": [
            {
              "name": "Get banks for bank transfer",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [],
                "body": {
                  "mode": "raw",
                  "raw": "",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{checkout-url}}/payment/banks?paymentmethod=bank-transfer",
                  "host": [
                    "{{checkout-url}}"
                  ],
                  "path": [
                    "payment",
                    "banks"
                  ],
                  "query": [
                    {
                      "key": "paymentmethod",
                      "value": "bank-transfer"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Banks for USSD",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [],
                "body": {
                  "mode": "raw",
                  "raw": "",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{checkout-url}}/payment/banks?paymentmethod=ussd",
                  "host": [
                    "{{checkout-url}}"
                  ],
                  "path": [
                    "payment",
                    "banks"
                  ],
                  "query": [
                    {
                      "key": "paymentmethod",
                      "value": "ussd"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Banks for Bank transfer",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [],
                "body": {
                  "mode": "raw",
                  "raw": "",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{checkout-url}}/payment/banks?paymentmethod=ussd",
                  "host": [
                    "{{checkout-url}}"
                  ],
                  "path": [
                    "payment",
                    "banks"
                  ],
                  "query": [
                    {
                      "key": "paymentmethod",
                      "value": "ussd"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Payment links (Opened)",
          "item": [
            {
              "name": "Fetch Payment link",
              "event": [
                {
                  "listen": "prerequest",
                  "script": {
                    "exec": [
                      "pm.environment.set('reference','DWErSBFXJW51b#xTY_8yFJDmg2JT#zVuJxYQMkHwE1ze124')"
                    ],
                    "type": "text/javascript"
                  }
                }
              ],
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [],
                "body": {
                  "mode": "raw",
                  "raw": "",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{checkout-url}}/payment/paymentlink/info?reference=QBjFGBMLpuR0lVOIbBaOrEm_M3kLT4swcqsOXuomteamz0r3RzjSUu1BQk12",
                  "host": [
                    "{{checkout-url}}"
                  ],
                  "path": [
                    "payment",
                    "paymentlink",
                    "info"
                  ],
                  "query": [
                    {
                      "key": "reference",
                      "value": "QBjFGBMLpuR0lVOIbBaOrEm_M3kLT4swcqsOXuomteamz0r3RzjSUu1BQk12"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Payment Keys",
              "request": {
                "method": "POST",
                "header": [],
                "body": {
                  "mode": "raw",
                  "raw": "{\n    // \"reference\": \"C9Ve5UPCj8U20uKUWo34D7V3prh$kNpHWDRiidAWoLBIc3lB836\"\n    \"reference\":\"vGKillnWfoEajA5mUXe8qoDGAIn9xv8Y4xbO4O8Us4PIPbM6hRq36\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{checkout-url}}/payment/paymentlink/get-keys",
                  "host": [
                    "{{checkout-url}}"
                  ],
                  "path": [
                    "payment",
                    "paymentlink",
                    "get-keys"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Payment Link Operations",
          "item": [
            {
              "name": "Get Payment link types",
              "event": [
                {
                  "listen": "prerequest",
                  "script": {
                    "exec": [
                      ""
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                }
              ],
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [],
                "body": {
                  "mode": "raw",
                  "raw": "",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{checkout-url}}/payment/links/types",
                  "host": [
                    "{{checkout-url}}"
                  ],
                  "path": [
                    "payment",
                    "links",
                    "types"
                  ]
                }
              },
              "response": [
                {
                  "name": "Get Payment link types",
                  "originalRequest": {
                    "method": "GET",
                    "header": [],
                    "body": {
                      "mode": "raw",
                      "raw": "",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{checkout-url}}/payment/links/types",
                      "host": [
                        "{{checkout-url}}"
                      ],
                      "path": [
                        "payment",
                        "links",
                        "types"
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Length",
                      "value": "813"
                    },
                    {
                      "key": "Content-Type",
                      "value": "application/json; charset=utf-8"
                    },
                    {
                      "key": "Date",
                      "value": "Mon, 23 Dec 2024 21:07:35 GMT"
                    },
                    {
                      "key": "Server",
                      "value": "Kestrel"
                    }
                  ],
                  "cookie": [],
                  "body": "{\n    \"paymentLinkTypes\": [\n        {\n            \"paymentLinkName\": \"Single Charge\",\n            \"description\": \"For single charge tokens\",\n            \"status\": true,\n            \"code\": \"SC\",\n            \"id\": 1,\n            \"dateCreated\": \"2023-07-06T08:48:45\",\n            \"dateUpdated\": null,\n            \"dateDeleted\": null,\n            \"createdBy\": -1,\n            \"updatedBy\": null,\n            \"deletedBy\": null\n        },\n        {\n            \"paymentLinkName\": \"Multiple Charge\",\n            \"description\": \"For subscriptions\",\n            \"status\": true,\n            \"code\": \"MC\",\n            \"id\": 2,\n            \"dateCreated\": \"2023-07-06T08:48:45\",\n            \"dateUpdated\": null,\n            \"dateDeleted\": null,\n            \"createdBy\": -1,\n            \"updatedBy\": null,\n            \"deletedBy\": null\n        },\n        {\n            \"paymentLinkName\": \"Subscription Payments\",\n            \"description\": \"Subscription Payments\",\n            \"status\": true,\n            \"code\": \"SUB\",\n            \"id\": 5,\n            \"dateCreated\": \"2023-07-06T08:48:45\",\n            \"dateUpdated\": null,\n            \"dateDeleted\": null,\n            \"createdBy\": -1,\n            \"updatedBy\": null,\n            \"deletedBy\": null\n        }\n    ],\n    \"status\": \"success\",\n    \"statusCode\": \"00\",\n    \"message\": \"Payment link types retrieved successfully\"\n}"
                }
              ]
            },
            {
              "name": "Get all Payment links",
              "event": [
                {
                  "listen": "prerequest",
                  "script": {
                    "exec": [
                      "pm.environment.set('reference','DWErSBFXJW51b#xTY_8yFJDmg2JT#zVuJxYQMkHwE1ze124')"
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                }
              ],
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [],
                "body": {
                  "mode": "raw",
                  "raw": "",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{checkout-url}}/payment/links/all",
                  "host": [
                    "{{checkout-url}}"
                  ],
                  "path": [
                    "payment",
                    "links",
                    "all"
                  ]
                }
              },
              "response": [
                {
                  "name": "Get all Payment links",
                  "originalRequest": {
                    "method": "GET",
                    "header": [],
                    "body": {
                      "mode": "raw",
                      "raw": "",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{checkout-url}}/payment/links/all",
                      "host": [
                        "{{checkout-url}}"
                      ],
                      "path": [
                        "payment",
                        "links",
                        "all"
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Length",
                      "value": "4671"
                    },
                    {
                      "key": "Content-Type",
                      "value": "application/json; charset=utf-8"
                    },
                    {
                      "key": "Date",
                      "value": "Mon, 23 Dec 2024 21:31:09 GMT"
                    },
                    {
                      "key": "Server",
                      "value": "Kestrel"
                    }
                  ],
                  "cookie": [],
                  "body": "[\n    {\n        \"id\": 69,\n        \"name\": \"PaymentService\",\n        \"paymentType\": \"Multiple Charge\",\n        \"logo\": null,\n        \"authOption\": \"AUTH\",\n        \"amount\": 1000,\n        \"dateCreated\": \"2024-12-23T21:27:38.00752\",\n        \"reference\": \"2wixb0Ebctr8wS2ExtoB3PnZXjSYpZvpBTEzjt12\",\n        \"createdBy\": null,\n        \"creatorEmail\": null,\n        \"isActive\": true,\n        \"currency\": \"USD\",\n        \"limit\": 100,\n        \"paymentLinkUrl\": \"https://payment-link.linkqpay.com/2wixb0Ebctr8wS2ExtoB3PnZXjSYpZvpBTEzjt12\",\n        \"appEnvironmentId\": 0,\n        \"paymentLinkType\": null,\n        \"paymentLinkCode\": null,\n        \"description\": \"A description of the payment service\"\n    },\n    {\n        \"id\": 68,\n        \"name\": \"PaymentService\",\n        \"paymentType\": \"Multiple Charge\",\n        \"logo\": null,\n        \"authOption\": \"AUTH\",\n        \"amount\": 1000,\n        \"dateCreated\": \"2024-12-23T21:24:41.041701\",\n        \"reference\": \"29IDElkqXPwbiUxJ6EB12\",\n        \"createdBy\": null,\n        \"creatorEmail\": null,\n        \"isActive\": true,\n        \"currency\": \"USD\",\n        \"limit\": 100,\n        \"paymentLinkUrl\": \"https://payment-link.linkqpay.com/29IDElkqXPwbiUxJ6EB12\",\n        \"appEnvironmentId\": 0,\n        \"paymentLinkType\": null,\n        \"paymentLinkCode\": null,\n        \"description\": \"A description of the payment service\"\n    },\n    {\n        \"id\": 67,\n        \"name\": \"PaymentService\",\n        \"paymentType\": \"Multiple Charge\",\n        \"logo\": null,\n        \"authOption\": \"AUTH\",\n        \"amount\": 1000,\n        \"dateCreated\": \"2024-12-23T21:24:26.82782\",\n        \"reference\": \"k4dr6B5QKHvuIszMHm$HMFhsu6YiDMtO$OHkkVUGxBjI$9N2Hc0K0u0z4g12\",\n        \"createdBy\": null,\n        \"creatorEmail\": null,\n        \"isActive\": true,\n        \"currency\": \"USD\",\n        \"limit\": 100,\n        \"paymentLinkUrl\": \"https://payment-link.linkqpay.com/k4dr6B5QKHvuIszMHm$HMFhsu6YiDMtO$OHkkVUGxBjI$9N2Hc0K0u0z4g12\",\n        \"appEnvironmentId\": 0,\n        \"paymentLinkType\": null,\n        \"paymentLinkCode\": null,\n        \"description\": \"A description of the payment service\"\n    },\n    {\n        \"id\": 66,\n        \"name\": \"PaymentService\",\n        \"paymentType\": \"Multiple Charge\",\n        \"logo\": null,\n        \"authOption\": \"AUTH\",\n        \"amount\": 1000,\n        \"dateCreated\": \"2024-12-23T21:17:57.935665\",\n        \"reference\": \"5Knq3FwdV$aiMpU7ZzAAMYv3NJpB0V3TAFsFfTjqksVj4ouHYVLOiya2H12\",\n        \"createdBy\": null,\n        \"creatorEmail\": null,\n        \"isActive\": true,\n        \"currency\": \"USD\",\n        \"limit\": 100,\n        \"paymentLinkUrl\": \"https://payment-link.linkqpay.com/5Knq3FwdV$aiMpU7ZzAAMYv3NJpB0V3TAFsFfTjqksVj4ouHYVLOiya2H12\",\n        \"appEnvironmentId\": 0,\n        \"paymentLinkType\": null,\n        \"paymentLinkCode\": null,\n        \"description\": \"A description of the payment service\"\n    },\n    {\n        \"id\": 65,\n        \"name\": \"PaymentService\",\n        \"paymentType\": \"Multiple Charge\",\n        \"logo\": null,\n        \"authOption\": \"AUTH\",\n        \"amount\": 1000,\n        \"dateCreated\": \"2024-12-23T21:12:42.764719\",\n        \"reference\": \"g1ZvwvmaKjeKE7gnZ_4L6GblDp5tHFPW9tDZ_JNydr6giaiMDka3fE8BHFsihnJ12\",\n        \"createdBy\": null,\n        \"creatorEmail\": null,\n        \"isActive\": true,\n        \"currency\": \"USD\",\n        \"limit\": 100,\n        \"paymentLinkUrl\": \"https://payment-link.linkqpay.com/g1ZvwvmaKjeKE7gnZ_4L6GblDp5tHFPW9tDZ_JNydr6giaiMDka3fE8BHFsihnJ12\",\n        \"appEnvironmentId\": 0,\n        \"paymentLinkType\": null,\n        \"paymentLinkCode\": null,\n        \"description\": \"A description of the payment service\"\n    },\n    {\n        \"id\": 29,\n        \"name\": \"No Auth Payment\",\n        \"paymentType\": \"Multiple Charge\",\n        \"logo\": null,\n        \"authOption\": \"NOAUTH\",\n        \"amount\": null,\n        \"dateCreated\": \"2024-11-15T19:55:09.478102\",\n        \"reference\": \"FdjHR0oQBfrDGYTloEvQQR8GM8M_WzFO5KtORYeXl1X8_dViKhaS1l5FTk8TAs12\",\n        \"createdBy\": \"Linq Payment\",\n        \"creatorEmail\": \"leo@techdev.work\",\n        \"isActive\": true,\n        \"currency\": \"USD\",\n        \"limit\": null,\n        \"paymentLinkUrl\": \"https://payment-link.linkqpay.com/FdjHR0oQBfrDGYTloEvQQR8GM8M_WzFO5KtORYeXl1X8_dViKhaS1l5FTk8TAs12\",\n        \"appEnvironmentId\": 0,\n        \"paymentLinkType\": null,\n        \"paymentLinkCode\": null,\n        \"description\": \"No Auth Payment\"\n    },\n    {\n        \"id\": 28,\n        \"name\": \"No Auth Payment\",\n        \"paymentType\": \"Multiple Charge\",\n        \"logo\": null,\n        \"authOption\": \"AUTH\",\n        \"amount\": null,\n        \"dateCreated\": \"2024-11-15T19:54:30.174941\",\n        \"reference\": \"PZfgahPN2paty8sYsKv2gI12\",\n        \"createdBy\": \"Linq Payment\",\n        \"creatorEmail\": \"leo@techdev.work\",\n        \"isActive\": true,\n        \"currency\": \"EUR\",\n        \"limit\": null,\n        \"paymentLinkUrl\": \"https://payment-link.linkqpay.com/PZfgahPN2paty8sYsKv2gI12\",\n        \"appEnvironmentId\": 0,\n        \"paymentLinkType\": null,\n        \"paymentLinkCode\": null,\n        \"description\": \"No Auth Payment\"\n    },\n    {\n        \"id\": 3,\n        \"name\": \"USD Payment\",\n        \"paymentType\": \"Multiple Charge\",\n        \"logo\": null,\n        \"authOption\": null,\n        \"amount\": null,\n        \"dateCreated\": \"2024-07-14T06:43:56.475891\",\n        \"reference\": \"2GnZq$_KwAHNRkMgjlc4TZySbubot$f50O6C3QKqs6uR012\",\n        \"createdBy\": \"Linq Payment\",\n        \"creatorEmail\": \"leo@techdev.work\",\n        \"isActive\": true,\n        \"currency\": \"USD\",\n        \"limit\": null,\n        \"paymentLinkUrl\": \"https://payment-link.linkqpay.com/2GnZq$_KwAHNRkMgjlc4TZySbubot$f50O6C3QKqs6uR012\",\n        \"appEnvironmentId\": 0,\n        \"paymentLinkType\": null,\n        \"paymentLinkCode\": null,\n        \"description\": \"For test trade\"\n    },\n    {\n        \"id\": 1,\n        \"name\": \"LinqPayment default payment link\",\n        \"paymentType\": \"Default\",\n        \"logo\": null,\n        \"authOption\": null,\n        \"amount\": null,\n        \"dateCreated\": \"2024-07-14T00:55:32.916461\",\n        \"reference\": \"kwswF0jspIv2z_U3pZyLKQ3m0$3F12\",\n        \"createdBy\": null,\n        \"creatorEmail\": null,\n        \"isActive\": true,\n        \"currency\": \"NGN\",\n        \"limit\": null,\n        \"paymentLinkUrl\": \"https://payment-link.linkqpay.com/kwswF0jspIv2z_U3pZyLKQ3m0$3F12\",\n        \"appEnvironmentId\": 0,\n        \"paymentLinkType\": null,\n        \"paymentLinkCode\": null,\n        \"description\": null\n    }\n]"
                }
              ]
            },
            {
              "name": "Create new Payment link",
              "request": {
                "method": "POST",
                "header": [],
                "body": {
                  "mode": "raw",
                  "raw": "{\n    \"Name\": \"PaymentService\",\n    \"Description\": \"A description of the payment service\",\n    \"PaymentType\": \"MC\",\n    \"Amount\": 1000.00, // optional (if passed, customer can't enter preferred amount)\n    \"Mobile\": \"1234567890\", // optional\n    \"BackgroundImage\": null, // optional (should be image url)\n    \"Website\": \"http://example.com\", // optional\n    \"Currency\": \"USD\",\n    \"AuthOption\": \"AUTH\",\n    \"Limit\": 100 // optional\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{checkout-url}}/payment/links/create",
                  "host": [
                    "{{checkout-url}}"
                  ],
                  "path": [
                    "payment",
                    "links",
                    "create"
                  ]
                }
              },
              "response": [
                {
                  "name": "Create new Payment link",
                  "originalRequest": {
                    "method": "POST",
                    "header": [],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n    \"Name\": \"PaymentService\",\n    \"Description\": \"A description of the payment service\",\n    \"PaymentType\": \"MC\",\n    \"Amount\": 1000.00, // optional (if passed, customer can't enter preferred amount)\n    \"Mobile\": \"1234567890\", // optional\n    \"BackgroundImage\": null, // optional (should be image url)\n    \"Website\": \"http://example.com\", // optional\n    \"Currency\": \"USD\",\n    \"AuthOption\": \"AUTH\",\n    \"Limit\": 100 // optional\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{checkout-url}}/payment/links/create",
                      "host": [
                        "{{checkout-url}}"
                      ],
                      "path": [
                        "payment",
                        "links",
                        "create"
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Length",
                      "value": "801"
                    },
                    {
                      "key": "Content-Type",
                      "value": "application/json; charset=utf-8"
                    },
                    {
                      "key": "Date",
                      "value": "Mon, 23 Dec 2024 21:37:35 GMT"
                    },
                    {
                      "key": "Server",
                      "value": "Kestrel"
                    }
                  ],
                  "cookie": [],
                  "body": "{\n    \"data\": {\n        \"paymentLink\": {\n            \"id\": 71,\n            \"name\": \"PaymentService\",\n            \"paymentType\": null,\n            \"logo\": \"https://merchant-api-service.linkqpay.com/subsidiary/dashboard/file/dev-linkqpay-compliance-bk/download?fileId=\",\n            \"authOption\": \"AUTH\",\n            \"amount\": 1000,\n            \"dateCreated\": \"2024-12-23T21:37:34.614881\",\n            \"reference\": \"5oiCohs_v0zrhO$G12\",\n            \"createdBy\": null,\n            \"creatorEmail\": null,\n            \"isActive\": true,\n            \"currency\": \"USD\",\n            \"limit\": 100,\n            \"paymentLinkUrl\": \"https://payment-link.linkqpay.com/5oiCohs_v0zrhO$G12\",\n            \"appEnvironmentId\": 1,\n            \"paymentLinkType\": \"Multiple Charge\",\n            \"paymentLinkCode\": \"MC\",\n            \"description\": \"A description of the payment service\"\n        },\n        \"subsidiary\": {\n            \"id\": 1,\n            \"name\": \"LinqPayment\",\n            \"country\": \"NG\",\n            \"supportEmail\": \"leo@techdev.work\",\n            \"customization\": null\n        }\n    },\n    \"status\": \"success\",\n    \"statusCode\": \"00\",\n    \"message\": \"Payment details fetched successfully\"\n}"
                }
              ]
            },
            {
              "name": "Edit payment link",
              "request": {
                "method": "PATCH",
                "header": [],
                "body": {
                  "mode": "raw",
                  "raw": "{\n    \"Name\": \"PaymentService\",\n    \"Description\": \"A description of the payment service\",\n    \"PaymentType\": \"MC\",\n    \"Amount\": 1000.00, // optional (if passed, customer can't enter preferred amount)\n    \"Mobile\": \"1234567890\", // optional\n    \"BackgroundImage\": null, // optional (should be image url)\n    \"Website\": \"http://example.com\", // optional\n    \"AuthOption\": \"AUTH\",\n    \"Limit\": 100 // optional\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{checkout-url}}/payment/links/:id/edit",
                  "host": [
                    "{{checkout-url}}"
                  ],
                  "path": [
                    "payment",
                    "links",
                    ":id",
                    "edit"
                  ],
                  "variable": [
                    {
                      "key": "id",
                      "value": "71"
                    }
                  ]
                }
              },
              "response": [
                {
                  "name": "Edit payment link",
                  "originalRequest": {
                    "method": "PATCH",
                    "header": [],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n    \"Name\": \"PaymentService\",\n    \"Description\": \"A description of the payment service\",\n    \"PaymentType\": \"MC\",\n    \"Amount\": 100000.00, // optional (if passed, customer can't enter preferred amount)\n    \"Mobile\": \"1234567890\", // optional\n    \"BackgroundImage\": null, // optional (should be image url)\n    \"Website\": \"http://example.com\", // optional\n    \"AuthOption\": \"AUTH\",\n    \"Limit\": 100 // optional\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{checkout-url}}/payment/links/:id/edit",
                      "host": [
                        "{{checkout-url}}"
                      ],
                      "path": [
                        "payment",
                        "links",
                        ":id",
                        "edit"
                      ],
                      "variable": [
                        {
                          "key": "id",
                          "value": "71"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Length",
                      "value": "803"
                    },
                    {
                      "key": "Content-Type",
                      "value": "application/json; charset=utf-8"
                    },
                    {
                      "key": "Date",
                      "value": "Mon, 23 Dec 2024 21:47:11 GMT"
                    },
                    {
                      "key": "Server",
                      "value": "Kestrel"
                    }
                  ],
                  "cookie": [],
                  "body": "{\n    \"data\": {\n        \"paymentLink\": {\n            \"id\": 71,\n            \"name\": \"PaymentService\",\n            \"paymentType\": null,\n            \"logo\": \"https://merchant-api-service.linkqpay.com/subsidiary/dashboard/file/dev-linkqpay-compliance-bk/download?fileId=\",\n            \"authOption\": \"AUTH\",\n            \"amount\": 100000,\n            \"dateCreated\": \"2024-12-23T21:37:34.614881\",\n            \"reference\": \"5oiCohs_v0zrhO$G12\",\n            \"createdBy\": null,\n            \"creatorEmail\": null,\n            \"isActive\": true,\n            \"currency\": \"USD\",\n            \"limit\": 100,\n            \"paymentLinkUrl\": \"https://payment-link.linkqpay.com/5oiCohs_v0zrhO$G12\",\n            \"appEnvironmentId\": 1,\n            \"paymentLinkType\": \"Multiple Charge\",\n            \"paymentLinkCode\": \"MC\",\n            \"description\": \"A description of the payment service\"\n        },\n        \"subsidiary\": {\n            \"id\": 1,\n            \"name\": \"LinqPayment\",\n            \"country\": \"NG\",\n            \"supportEmail\": \"leo@techdev.work\",\n            \"customization\": null\n        }\n    },\n    \"status\": \"success\",\n    \"statusCode\": \"00\",\n    \"message\": \"Payment details fetched successfully\"\n}"
                }
              ]
            },
            {
              "name": "Activate Payment link",
              "request": {
                "method": "PATCH",
                "header": [],
                "body": {
                  "mode": "raw",
                  "raw": "{\n    // \"reference\": \"C9Ve5UPCj8U20uKUWo34D7V3prh$kNpHWDRiidAWoLBIc3lB836\"\n    \"reference\":\"vGKillnWfoEajA5mUXe8qoDGAIn9xv8Y4xbO4O8Us4PIPbM6hRq36\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{checkout-url}}/payment/links/:id/status/activate",
                  "host": [
                    "{{checkout-url}}"
                  ],
                  "path": [
                    "payment",
                    "links",
                    ":id",
                    "status",
                    "activate"
                  ],
                  "variable": [
                    {
                      "key": "id",
                      "value": "71"
                    }
                  ]
                }
              },
              "response": [
                {
                  "name": "Activate Payment link",
                  "originalRequest": {
                    "method": "PATCH",
                    "header": [],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n    // \"reference\": \"C9Ve5UPCj8U20uKUWo34D7V3prh$kNpHWDRiidAWoLBIc3lB836\"\n    \"reference\":\"vGKillnWfoEajA5mUXe8qoDGAIn9xv8Y4xbO4O8Us4PIPbM6hRq36\"\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{checkout-url}}/payment/links/:id/status/activate",
                      "host": [
                        "{{checkout-url}}"
                      ],
                      "path": [
                        "payment",
                        "links",
                        ":id",
                        "status",
                        "activate"
                      ],
                      "variable": [
                        {
                          "key": "id",
                          "value": "71"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Length",
                      "value": "103"
                    },
                    {
                      "key": "Content-Type",
                      "value": "application/json; charset=utf-8"
                    },
                    {
                      "key": "Date",
                      "value": "Mon, 23 Dec 2024 21:46:58 GMT"
                    },
                    {
                      "key": "Server",
                      "value": "Kestrel"
                    }
                  ],
                  "cookie": [],
                  "body": "{\n    \"data\": null,\n    \"status\": \"success\",\n    \"statusCode\": \"00\",\n    \"message\": \"Payment link status updated successfully\"\n}"
                }
              ]
            },
            {
              "name": "Deactivate Payment link",
              "request": {
                "method": "PATCH",
                "header": [],
                "body": {
                  "mode": "raw",
                  "raw": "",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{checkout-url}}/payment/links/:id/status/disable",
                  "host": [
                    "{{checkout-url}}"
                  ],
                  "path": [
                    "payment",
                    "links",
                    ":id",
                    "status",
                    "disable"
                  ],
                  "variable": [
                    {
                      "key": "id",
                      "value": "71"
                    }
                  ]
                }
              },
              "response": [
                {
                  "name": "Deactivate Payment link",
                  "originalRequest": {
                    "method": "PATCH",
                    "header": [],
                    "body": {
                      "mode": "raw",
                      "raw": "",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{checkout-url}}/payment/links/:id/status/disable",
                      "host": [
                        "{{checkout-url}}"
                      ],
                      "path": [
                        "payment",
                        "links",
                        ":id",
                        "status",
                        "disable"
                      ],
                      "variable": [
                        {
                          "key": "id",
                          "value": "71"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Length",
                      "value": "103"
                    },
                    {
                      "key": "Content-Type",
                      "value": "application/json; charset=utf-8"
                    },
                    {
                      "key": "Date",
                      "value": "Mon, 23 Dec 2024 21:46:55 GMT"
                    },
                    {
                      "key": "Server",
                      "value": "Kestrel"
                    }
                  ],
                  "cookie": [],
                  "body": "{\n    \"data\": null,\n    \"status\": \"success\",\n    \"statusCode\": \"00\",\n    \"message\": \"Payment link status updated successfully\"\n}"
                }
              ]
            },
            {
              "name": "Cancel Recurring Payment",
              "request": {
                "method": "PATCH",
                "header": [],
                "body": {
                  "mode": "raw",
                  "raw": "",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{checkout-url}}/payment/links/recurringpayment/:id/cancel",
                  "host": [
                    "{{checkout-url}}"
                  ],
                  "path": [
                    "payment",
                    "links",
                    "recurringpayment",
                    ":id",
                    "cancel"
                  ],
                  "variable": [
                    {
                      "key": "id",
                      "value": ""
                    }
                  ]
                }
              },
              "response": [
                {
                  "name": "Deactivate Payment link",
                  "originalRequest": {
                    "method": "PATCH",
                    "header": [],
                    "body": {
                      "mode": "raw",
                      "raw": "",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{checkout-url}}/payment/links/:id/status/disable",
                      "host": [
                        "{{checkout-url}}"
                      ],
                      "path": [
                        "payment",
                        "links",
                        ":id",
                        "status",
                        "disable"
                      ],
                      "variable": [
                        {
                          "key": "id",
                          "value": "71"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Length",
                      "value": "103"
                    },
                    {
                      "key": "Content-Type",
                      "value": "application/json; charset=utf-8"
                    },
                    {
                      "key": "Date",
                      "value": "Mon, 23 Dec 2024 21:46:55 GMT"
                    },
                    {
                      "key": "Server",
                      "value": "Kestrel"
                    }
                  ],
                  "cookie": [],
                  "body": "{\n    \"data\": null,\n    \"status\": \"success\",\n    \"statusCode\": \"00\",\n    \"message\": \"Payment link status updated successfully\"\n}"
                }
              ]
            }
          ],
          "auth": {
            "type": "apikey",
            "apikey": [
              {
                "key": "value",
                "value": "{{private-key}}",
                "type": "string"
              },
              {
                "key": "key",
                "value": "api-key",
                "type": "string"
              }
            ]
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "packages": {},
                "exec": [
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "packages": {},
                "exec": [
                  ""
                ]
              }
            }
          ]
        },
        {
          "name": "Tokenize Charge with Seck key",
          "item": [
            {
              "name": "Tokenize Charge",
              "event": [
                {
                  "listen": "prerequest",
                  "script": {
                    "exec": [
                      "    pm.collectionVariables.set('reference', Math.floor(Math.random() * 1000000000));"
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                }
              ],
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "api-key",
                    "value": "{{private-key}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"customer\": {\r\n        \"firstname\": \"ideos\",\r\n        \"lastname\": \"pay\",\r\n        \"mobile\": \"+23481582333444\",\r\n        \"country\": \"NG\",\r\n        \"email\": \"email@ideos.dev\"\r\n    },\r\n    \"order\": {\r\n        \"amount\": 2,\r\n        \"reference\": \"{{reference}}\",\r\n        \"description\": \"Pay\",\r\n        \"currency\": \"NGN\"\r\n    },\r\n    \"payment\": {\r\n        \"RedirectUrl\": \"https://www.hi.com\"\r\n    },\r\n    \"authorization\": {\r\n        \"cardToken\": \"TKNMDU4MzU4NzUwNTk0Mjg5NzQwMzgwNDA0NzQ1ODkz2173\"\r\n    }\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{checkout-url}}/payment/order/card/tokenized/pay",
                  "host": [
                    "{{checkout-url}}"
                  ],
                  "path": [
                    "payment",
                    "order",
                    "card",
                    "tokenized",
                    "pay"
                  ]
                }
              },
              "response": [
                {
                  "name": "Order status",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "api-key",
                        "value": "{{public-key}}",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"data\": \"{{encrypteddata}}\"\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{checkout-url}}/payment/order/status/new",
                      "host": [
                        "{{checkout-url}}"
                      ],
                      "path": [
                        "payment",
                        "order",
                        "status",
                        "new"
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Date",
                      "value": "Sun, 31 Mar 2024 14:09:42 GMT"
                    },
                    {
                      "key": "Content-Type",
                      "value": "application/json; charset=utf-8"
                    },
                    {
                      "key": "Content-Length",
                      "value": "1302"
                    },
                    {
                      "key": "Connection",
                      "value": "keep-alive"
                    },
                    {
                      "key": "Server",
                      "value": "Kestrel"
                    }
                  ],
                  "cookie": [],
                  "body": "{\n    \"status\": \"Successful\",\n    \"statusCode\": \"00\",\n    \"message\": \"Successful\",\n    \"data\": {\n        \"isFinalStatus\": true,\n        \"requeryNeeded\": false,\n        \"requeryType\": null,\n        \"orderSummary\": {\n            \"id\": 26,\n            \"paymentReference\": \"IDSPAY-76279490-6B08-45CF-9919-582E9C77F52B\",\n            \"orderReference\": \"754874724\",\n            \"totalChargedAmount\": 114,\n            \"fee\": 14,\n            \"statusId\": 5,\n            \"status\": \"Successful\",\n            \"paymentType\": \"C\",\n            \"currencyId\": 1,\n            \"paymentResponseCode\": \"00\",\n            \"paymentResponseMessage\": \"Successful\",\n            \"providerResponseDate\": null,\n            \"datePaymentConfirmed\": null,\n            \"dateCreated\": \"2024-03-31T14:05:46.37\",\n            \"narration\": \"Pay\",\n            \"remarks\": \"Order initiated and created successfully\"\n        },\n        \"orderPayments\": [\n            {\n                \"orderId\": 26,\n                \"orderPaymentReference\": \"PGW-PAYREF-96C2ABCB218C43329037E47268F74195\",\n                \"paymentOptionId\": 2,\n                \"statusId\": 5,\n                \"orderPaymentResponseCode\": \"00\",\n                \"orderPaymentResponseMessage\": \"Successful\",\n                \"orderPaymentInstrument\": null,\n                \"remarks\": \"Order payment initiated\",\n                \"providerReference\": \"CPF046D30F-3F82-4A9A-B2AD-AC5AE3480D8F\",\n                \"providerResponseCode\": \"02\",\n                \"paymentUrl\": \"https://core-api-service.ideospay.dev/web/card/authorize/CPF046D30F-3F82-4A9A-B2AD-AC5AE3480D8F/initiate\",\n                \"externalReference\": \"N/A\",\n                \"authOption\": null,\n                \"order\": null,\n                \"id\": 18,\n                \"dateCreated\": \"2024-03-31T14:08:30.6525848\",\n                \"dateUpdated\": \"2024-03-31T14:08:51.3048026\",\n                \"dateDeleted\": null,\n                \"createdBy\": -1,\n                \"updatedBy\": -1,\n                \"deletedBy\": null\n            }\n        ]\n    }\n}"
                }
              ]
            }
          ]
        },
        {
          "name": "Verify Order with Sec Key",
          "item": [
            {
              "name": "verify status",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "api-key",
                    "value": "{{private-key}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"reference\": \"{{orderreference}}\"\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{checkout-url}}/payment/order/verify/new",
                  "host": [
                    "{{checkout-url}}"
                  ],
                  "path": [
                    "payment",
                    "order",
                    "verify",
                    "new"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Refund Order with Sec Key",
          "item": [
            {
              "name": "Refund order",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "api-key",
                    "value": "{{private-key}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"reference\": \"{{orderreference}}\",\r\n    \"reason\": \"\", // reason for refund\r\n    \"amount\": \"\" // optional\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{checkout-url}}/payment/order/refund",
                  "host": [
                    "{{checkout-url}}"
                  ],
                  "path": [
                    "payment",
                    "order",
                    "refund"
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ],
      "event": [
        {
          "listen": "prerequest",
          "script": {
            "type": "text/javascript",
            "exec": [
              "pm.environment.set('randomnumber', Math.floor(Math.random() * 10000 + 1000))"
            ]
          }
        },
        {
          "listen": "test",
          "script": {
            "type": "text/javascript",
            "exec": [
              ""
            ]
          }
        }
      ]
    }
  ],
  "event": [
    {
      "listen": "prerequest",
      "script": {
        "type": "text/javascript",
        "exec": [
          ""
        ]
      }
    },
    {
      "listen": "test",
      "script": {
        "type": "text/javascript",
        "exec": [
          ""
        ]
      }
    }
  ],
  "variable": [
    {
      "key": "checkout-url",
      "value": "https://payment-api-service.dev.payinvert.com",
      "type": "string"
    },
    {
      "key": "public-key",
      "value": "",
      "type": "string"
    },
    {
      "key": "private-key",
      "value": "",
      "type": "string"
    },
    {
      "key": "reference",
      "value": "{{yourreference}}"
    },
    {
      "key": "encrypteddata",
      "value": "{{encrypteddata}}"
    },
    {
      "key": "orderreference",
      "value": "{{yourreference}}"
    },
    {
      "key": "checkout-url",
      "value": "https://localhost:29252",
      "type": "string",
      "disabled": true
    }
  ]
}
