{
  "opencollection": "1.0.0",
  "info": {
    "name": "Unit Accounts Payments API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Payments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get List Payments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.s.unit.sh/payments",
            "params": [
              {
                "name": "page[limit]",
                "value": "",
                "type": "query"
              },
              {
                "name": "page[offset]",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Get List Payments"
        },
        {
          "info": {
            "name": "Create a Payment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.s.unit.sh/payments",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a bookPayment, achPayment, or wirePayment depending on the `type` in the request body."
        },
        {
          "info": {
            "name": "Get Payment by Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.s.unit.sh/payments/:paymentId",
            "params": [
              {
                "name": "paymentId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get Payment by Id"
        },
        {
          "info": {
            "name": "Update Payment",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.s.unit.sh/payments/:paymentId",
            "params": [
              {
                "name": "paymentId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update Payment"
        },
        {
          "info": {
            "name": "Cancel a Payment by Id",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.s.unit.sh/payments/:paymentId/cancel",
            "params": [
              {
                "name": "paymentId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Cancel a Payment by Id"
        },
        {
          "info": {
            "name": "Get Received Payments List",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.s.unit.sh/received-payments"
          },
          "docs": "Get Received Payments List"
        },
        {
          "info": {
            "name": "Get Received Payment by Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.s.unit.sh/received-payments/:paymentId",
            "params": [
              {
                "name": "paymentId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get Received Payment by Id"
        },
        {
          "info": {
            "name": "Update Received Payment",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.s.unit.sh/received-payments/:paymentId",
            "params": [
              {
                "name": "paymentId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update Received Payment"
        },
        {
          "info": {
            "name": "Advance Received Payment by Id",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.s.unit.sh/received-payments/:paymentId/advance",
            "params": [
              {
                "name": "paymentId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Advance Received Payment by Id"
        },
        {
          "info": {
            "name": "Reprocess Received Payment by Id",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.s.unit.sh/received-payments/:paymentId/reprocess",
            "params": [
              {
                "name": "paymentId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Reprocess Received Payment by Id"
        },
        {
          "info": {
            "name": "Return Received ACH Transaction",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.s.unit.sh/returns/:transactionId",
            "params": [
              {
                "name": "transactionId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Return Received ACH Transaction"
        },
        {
          "info": {
            "name": "Get Recurring Payments List",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.s.unit.sh/recurring-payments"
          },
          "docs": "Get Recurring Payments List"
        },
        {
          "info": {
            "name": "Create Recurring Payment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.s.unit.sh/recurring-payments",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create Recurring Payment"
        },
        {
          "info": {
            "name": "Get Recurring Payment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.s.unit.sh/recurring-payments/:paymentId",
            "params": [
              {
                "name": "paymentId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get Recurring Payment"
        },
        {
          "info": {
            "name": "Disable Recurring Payment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.s.unit.sh/recurring-payments/:paymentId/disable",
            "params": [
              {
                "name": "paymentId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Disable Recurring Payment"
        },
        {
          "info": {
            "name": "Enable Recurring Payment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.s.unit.sh/recurring-payments/:paymentId/enable",
            "params": [
              {
                "name": "paymentId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Enable Recurring Payment"
        },
        {
          "info": {
            "name": "Generate Cash Deposit Barcode",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.s.unit.sh/cash-deposits/barcodes",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Generate Cash Deposit Barcode"
        },
        {
          "info": {
            "name": "Get Barcode Image By Barcode Number",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.s.unit.sh/cash-deposits/barcodes/:barcodeNumber/image",
            "params": [
              {
                "name": "barcodeNumber",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get Barcode Image By Barcode Number"
        },
        {
          "info": {
            "name": "Get Cash Deposit Store Locations List By Coordinates",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.s.unit.sh/store-locations",
            "params": [
              {
                "name": "latitude",
                "value": "",
                "type": "query"
              },
              {
                "name": "longitude",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Get Cash Deposit Store Locations List By Coordinates"
        }
      ]
    }
  ],
  "bundled": true
}