{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mono Account Information DirectPay API",
    "version": "2.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "mono-sec-key",
      "value": "{{mono-sec-key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "DirectPay",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Initiate DirectPay payment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.withmono.com/v2/payments/initiate",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Initiates a one-time bank-to-bank DirectPay payment and returns a hosted payment link and reference for the customer to authorize."
        },
        {
          "info": {
            "name": "Verify DirectPay payment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.withmono.com/v2/payments/verify/:reference",
            "params": [
              {
                "name": "reference",
                "value": "",
                "type": "path",
                "description": "The payment transaction reference."
              }
            ]
          },
          "docs": "Verifies the status of a DirectPay payment by its transaction reference."
        }
      ]
    }
  ],
  "bundled": true
}