{
  "opencollection": "1.0.0",
  "info": {
    "name": "Procurify API Documentation account-codes public API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "public",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Transactions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{user_domain}.procurify.com/api/public/v1/pay/transactions/",
            "params": [
              {
                "name": "end_date",
                "value": "",
                "type": "query"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "A page number within the paginated result set."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              },
              {
                "name": "reconciliation_status",
                "value": "",
                "type": "query",
                "description": "The reconciliation status of the transaction designated by accounts payable\n\n* `reviewed` - Reviewed\n* `pending` - Pending"
              },
              {
                "name": "start_date",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://<your-domain>.procurify.com/oauth/authorize",
              "accessTokenUrl": "https://<your-domain>.procurify.com/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Returns a list of all closed (fully captured, not just authorizations)\ntransactions across all issued cards on the platform, regardless of the\ncards current status."
        },
        {
          "info": {
            "name": "List Payments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{user_domain}.procurify.com/api/public/v1/payments/",
            "params": [
              {
                "name": "bill_groups",
                "value": "",
                "type": "query",
                "description": "Filter payments by a comma-separated list of bill group IDs."
              },
              {
                "name": "created_at_after",
                "value": "",
                "type": "query",
                "description": "Filter payments created on or after this date."
              },
              {
                "name": "created_at_before",
                "value": "",
                "type": "query",
                "description": "Filter payments created on or before this date."
              },
              {
                "name": "currency",
                "value": "",
                "type": "query",
                "description": "Filter payments by currency ID."
              },
              {
                "name": "ids",
                "value": "",
                "type": "query",
                "description": "Filter payments by a comma-separated list of payment IDs."
              },
              {
                "name": "invoice_number",
                "value": "",
                "type": "query",
                "description": "Filter payments by exact bill invoice number."
              },
              {
                "name": "order_by",
                "value": "",
                "type": "query",
                "description": "Order results by field. Prefix with '-' for descending order."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "A page number within the paginated result set."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              },
              {
                "name": "payment_amount",
                "value": "",
                "type": "query",
                "description": "Filter payments with an amount equal to this value."
              },
              {
                "name": "processing_date_after",
                "value": "",
                "type": "query",
                "description": "Filter payments with a processing date on or after this date."
              },
              {
                "name": "processing_date_before",
                "value": "",
                "type": "query",
                "description": "Filter payments with a processing date on or before this date."
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter payments by status. Accepts a comma-separated list of statuses.\n\n* `draft` - draft\n* `pending_approval` - pending_approval\n* `approved` - approved\n* `denied` - denied\n* `paid` - paid\n* `processing` - processing\n* `failed` - failed\n* `scheduled` - scheduled"
              },
              {
                "name": "updated_at_after",
                "value": "",
                "type": "query",
                "description": "Filter payments updated on or after this date."
              },
              {
                "name": "updated_at_before",
                "value": "",
                "type": "query",
                "description": "Filter payments updated on or before this date."
              },
              {
                "name": "vendor",
                "value": "",
                "type": "query",
                "description": "Filter payments by vendor ID."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://<your-domain>.procurify.com/oauth/authorize",
              "accessTokenUrl": "https://<your-domain>.procurify.com/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "List Payments"
        }
      ]
    }
  ],
  "bundled": true
}