{
  "_type": "export",
  "__export_format": 4,
  "__export_date": "2026-08-20T05:50:00.331Z",
  "__export_source": "paytrack.generate-api-collections",
  "resources": [
    {
      "_id": "wrk_paytrack_api",
      "_type": "workspace",
      "name": "paytrack API",
      "description": "Versioned public API for paytrack customer, track, payment, reminder, report, ledger, and webhook workflows."
    },
    {
      "_id": "env_paytrack_api",
      "_type": "environment",
      "parentId": "wrk_paytrack_api",
      "name": "Base Environment",
      "data": {
        "base_url": "https://paytrack.ng/api/v1",
        "api_key": "ptrk_test_replace_me",
        "customer_id": "cus_replace_me",
        "track_id": "tra_replace_me",
        "payment_id": "pay_replace_me",
        "webhook_id": "web_replace_me",
        "collection_schedule_id": "col_replace_me",
        "payment_mandate_id": "pay_replace_me",
        "collection_attempt_id": "col_replace_me"
      }
    },
    {
      "_id": "req_account_get_authenticated_api_account_context_1",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Get authenticated API account context.",
      "method": "GET",
      "url": "{{ _.base_url }}/account",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_account_get_current_api_usage_2",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Get current API usage.",
      "method": "GET",
      "url": "{{ _.base_url }}/account/usage",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_account_get_subscription_api_access_model_3",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Get subscription API access model.",
      "method": "GET",
      "url": "{{ _.base_url }}/account/subscription",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_customers_list_customers_4",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "List customers",
      "method": "GET",
      "url": "{{ _.base_url }}/customers",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_customers_create_customer_5",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Create customer",
      "method": "POST",
      "url": "{{ _.base_url }}/customers",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"name\": \"ABC Furniture\",\n  \"email\": \"customer@example.com\",\n  \"phone\": \"+2348012345678\",\n  \"notes\": \"value\"\n}"
      }
    },
    {
      "_id": "req_customers_retrieve_customer_6",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Retrieve customer",
      "method": "GET",
      "url": "{{ _.base_url }}/customers/{{ _.customer_id }}",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_customers_update_customer_7",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Update customer",
      "method": "PATCH",
      "url": "{{ _.base_url }}/customers/{{ _.customer_id }}",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_customers_archive_customer_8",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Archive customer",
      "method": "DELETE",
      "url": "{{ _.base_url }}/customers/{{ _.customer_id }}",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_tracks_list_tracks_9",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "List tracks",
      "method": "GET",
      "url": "{{ _.base_url }}/tracks",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_tracks_create_track_10",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Create track",
      "method": "POST",
      "url": "{{ _.base_url }}/tracks",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"customerId\": \"value\",\n  \"title\": \"Motorcycle Installment\",\n  \"amount\": 1200000,\n  \"currency\": \"NGN\",\n  \"installments\": 12\n}"
      }
    },
    {
      "_id": "req_tracks_retrieve_track_11",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Retrieve track",
      "method": "GET",
      "url": "{{ _.base_url }}/tracks/{{ _.track_id }}",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_tracks_update_track_12",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Update track",
      "method": "PATCH",
      "url": "{{ _.base_url }}/tracks/{{ _.track_id }}",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_tracks_archive_track_13",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Archive track",
      "method": "DELETE",
      "url": "{{ _.base_url }}/tracks/{{ _.track_id }}",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_payments_list_payments_14",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "List payments",
      "method": "GET",
      "url": "{{ _.base_url }}/payments",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_payments_record_payment_15",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Record payment",
      "method": "POST",
      "url": "{{ _.base_url }}/payments",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"trackId\": \"value\",\n  \"amount\": 100000,\n  \"method\": \"cash\",\n  \"paidAt\": \"value\"\n}"
      }
    },
    {
      "_id": "req_payments_retrieve_payment_16",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Retrieve payment",
      "method": "GET",
      "url": "{{ _.base_url }}/payments/{{ _.payment_id }}",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_tracks_list_payments_for_a_track_17",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "List payments for a track",
      "method": "GET",
      "url": "{{ _.base_url }}/tracks/{{ _.track_id }}/payments",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_reminders_list_reminders_18",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "List reminders",
      "method": "GET",
      "url": "{{ _.base_url }}/reminders",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_reminders_create_reminder_19",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Create reminder",
      "method": "POST",
      "url": "{{ _.base_url }}/reminders",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_reminders_send_reminder_20",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Send reminder",
      "method": "POST",
      "url": "{{ _.base_url }}/reminders/send",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_reminders_reminder_logs_21",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Reminder logs",
      "method": "GET",
      "url": "{{ _.base_url }}/reminders/logs",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_reports_summary_report_22",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Summary report",
      "method": "GET",
      "url": "{{ _.base_url }}/reports/summary",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_reports_collections_report_23",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Collections report",
      "method": "GET",
      "url": "{{ _.base_url }}/reports/collections",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_reports_overdue_report_24",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Overdue report",
      "method": "GET",
      "url": "{{ _.base_url }}/reports/overdue",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_reports_queue_report_export_25",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Queue report export",
      "method": "POST",
      "url": "{{ _.base_url }}/reports/export",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_ledger_workspace_ledger_26",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Workspace ledger",
      "method": "GET",
      "url": "{{ _.base_url }}/ledger",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_customers_customer_ledger_27",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Customer ledger",
      "method": "GET",
      "url": "{{ _.base_url }}/customers/{{ _.customer_id }}/ledger",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_tracks_track_ledger_28",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Track ledger",
      "method": "GET",
      "url": "{{ _.base_url }}/tracks/{{ _.track_id }}/ledger",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_webhooks_list_webhook_endpoints_29",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "List webhook endpoints",
      "method": "GET",
      "url": "{{ _.base_url }}/webhooks",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_webhooks_create_webhook_endpoint_30",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Create webhook endpoint",
      "method": "POST",
      "url": "{{ _.base_url }}/webhooks",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"name\": \"Production webhook\",\n  \"url\": \"https://example.com/webhooks/paytrack\",\n  \"events\": \"value\"\n}"
      }
    },
    {
      "_id": "req_webhooks_update_webhook_endpoint_31",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Update webhook endpoint",
      "method": "PATCH",
      "url": "{{ _.base_url }}/webhooks/{{ _.webhook_id }}",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_webhooks_disable_webhook_endpoint_32",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Disable webhook endpoint",
      "method": "DELETE",
      "url": "{{ _.base_url }}/webhooks/{{ _.webhook_id }}",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_webhooks_queue_a_webhook_test_event_33",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Queue a webhook test event",
      "method": "POST",
      "url": "{{ _.base_url }}/webhooks/{{ _.webhook_id }}/test",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_webhooks_list_webhook_delivery_history_34",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "List webhook delivery history",
      "method": "GET",
      "url": "{{ _.base_url }}/webhooks/{{ _.webhook_id }}/deliveries",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_webhooks_rotate_webhook_signing_secret_35",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Rotate webhook signing secret",
      "method": "POST",
      "url": "{{ _.base_url }}/webhooks/{{ _.webhook_id }}/rotate-secret",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_collection_schedules_list_collection_schedules_36",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "List collection schedules",
      "method": "GET",
      "url": "{{ _.base_url }}/collection-schedules",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_collection_schedules_create_collection_schedule_37",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Create collection schedule",
      "method": "POST",
      "url": "{{ _.base_url }}/collection-schedules",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"target_type\": \"payment_plan\",\n  \"target_id\": \"value\",\n  \"frequency\": \"one_time\",\n  \"collection_method\": \"manual\",\n  \"fixed_amount\": 25000,\n  \"start_date\": \"value\",\n  \"end_date\": \"value\",\n  \"interval\": 1\n}"
      }
    },
    {
      "_id": "req_collection_schedules_retrieve_collection_schedule_38",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Retrieve collection schedule",
      "method": "GET",
      "url": "{{ _.base_url }}/collection-schedules/{{ _.collection_schedule_id }}",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_collection_schedules_run_a_collection_schedule_action_39",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Run a collection schedule action",
      "method": "PATCH",
      "url": "{{ _.base_url }}/collection-schedules/{{ _.collection_schedule_id }}",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"action\": \"activate\"\n}"
      }
    },
    {
      "_id": "req_payment_mandates_list_payment_mandates_40",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "List payment mandates",
      "method": "GET",
      "url": "{{ _.base_url }}/payment-mandates",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_payment_mandates_create_payment_mandate_consent_record_41",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Create payment mandate consent record",
      "method": "POST",
      "url": "{{ _.base_url }}/payment-mandates",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"payer_type\": \"customer\",\n  \"payer_id\": \"value\",\n  \"provider\": \"paystack\",\n  \"schedule_id\": \"value\"\n}"
      }
    },
    {
      "_id": "req_payment_mandates_retrieve_payment_mandate_42",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Retrieve payment mandate",
      "method": "GET",
      "url": "{{ _.base_url }}/payment-mandates/{{ _.payment_mandate_id }}",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_payment_mandates_revoke_payment_mandate_43",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Revoke payment mandate",
      "method": "POST",
      "url": "{{ _.base_url }}/payment-mandates/{{ _.payment_mandate_id }}/revoke",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"reason\": \"Customer withdrew consent\"\n}"
      }
    },
    {
      "_id": "req_collection_attempts_list_scheduled_collection_attempts_44",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "List scheduled collection attempts",
      "method": "GET",
      "url": "{{ _.base_url }}/collection-attempts",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    },
    {
      "_id": "req_collection_attempts_retrieve_collection_attempt_45",
      "_type": "request",
      "parentId": "wrk_paytrack_api",
      "name": "Retrieve collection attempt",
      "method": "GET",
      "url": "{{ _.base_url }}/collection-attempts/{{ _.collection_attempt_id }}",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{ _.api_key }}"
        }
      ]
    }
  ]
}
