{
  "opencollection": "1.0.0",
  "info": {
    "name": "OPay Cashier API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Cashier",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create Hosted Cashier Payment Order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://liveapi.opaycheckout.com/api/v1/international/cashier/create",
            "headers": [
              {
                "name": "MerchantId",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a hosted Express Checkout order. Returns a `cashierUrl` that\nthe merchant redirects the customer to in order to complete payment\non an OPay-branded checkout page. Authenticate with the merchant's\npublic key as the bearer token.\n"
        },
        {
          "info": {
            "name": "Query Payment Status",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://liveapi.opaycheckout.com/api/v1/international/cashier/status",
            "headers": [
              {
                "name": "MerchantId",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Query the status of a payment order by merchant reference or by OPay\norderNo. Authenticate with an HMAC-SHA512 signature of the JSON body\nas the bearer token.\n"
        }
      ]
    }
  ],
  "bundled": true
}