{
  "info": {
    "_postman_id": "31546d2e-b45c-4113-b180-461a166ffc8a",
    "name": "Pine Labs MCP Server — 75 Tools",
    "description": "Postman collection for all 75 tools exposed by the Pine Labs MCP Server.\nCovers payment links, orders, refunds, settlements, card payments, UPI, payouts, subscriptions, brand wallet, reporting, analytics, and utility tools.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_exporter_id": "29032831",
    "_collection_link": "https://go.postman.co/collection/29032831-31546d2e-b45c-4113-b180-461a166ffc8a?source=collection_link"
  },
  "item": [
    {
      "name": "Payment Links",
      "item": [
        {
          "name": "Tool 1: create_payment_link",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Request-Timestamp",
                "value": "{{$isoTimestamp}}"
              },
              {
                "key": "Request-ID",
                "value": "{{$guid}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"amount\": {\n    \"value\": 50000,\n    \"currency\": \"INR\"\n  },\n  \"merchant_payment_link_reference\": \"ref-{{$randomInt}}\",\n  \"description\": \"Test payment link\",\n  \"allowed_payment_methods\": [\"CARD\", \"UPI\", \"NETBANKING\", \"WALLET\"],\n  \"callback_url\": \"https://example.com/callback\",\n  \"customer\": {\n    \"email_id\": \"test@example.com\",\n    \"first_name\": \"Test\",\n    \"last_name\": \"User\",\n    \"mobile_number\": \"9876543210\",\n    \"country_code\": \"+91\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/pay/v1/paymentlink",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "pay",
                "v1",
                "paymentlink"
              ]
            },
            "description": "Create a new payment link. Amount in smallest currency unit (paisa for INR). Max expiry 180 days."
          },
          "response": []
        },
        {
          "name": "Tool 2: get_payment_link_by_id",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/pay/v1/paymentlink/{{payment_link_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "pay",
                "v1",
                "paymentlink",
                "{{payment_link_id}}"
              ]
            },
            "description": "Retrieve payment link details by payment link ID."
          },
          "response": []
        },
        {
          "name": "Tool 3: get_payment_link_by_merchant_reference",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/pay/v1/paymentlink/ref/:merchant_payment_link_reference",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "pay",
                "v1",
                "paymentlink",
                "ref",
                ":merchant_payment_link_reference"
              ],
              "variable": [
                {
                  "key": "merchant_payment_link_reference",
                  "value": "",
                  "description": "Merchant payment link reference"
                }
              ]
            },
            "description": "Retrieve payment link details by merchant reference."
          },
          "response": []
        },
        {
          "name": "Tool 4: cancel_payment_link",
          "request": {
            "method": "PUT",
            "header": [],
            "url": {
              "raw": "{{base_url}}/pay/v1/paymentlink/{{payment_link_id}}/cancel",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "pay",
                "v1",
                "paymentlink",
                "{{payment_link_id}}",
                "cancel"
              ]
            },
            "description": "Cancel a payment link. Only CREATED links can be cancelled."
          },
          "response": []
        },
        {
          "name": "Tool 5: resend_payment_link_notification",
          "request": {
            "method": "PATCH",
            "header": [],
            "url": {
              "raw": "{{base_url}}/pay/v1/paymentlink/{{payment_link_id}}/notify",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "pay",
                "v1",
                "paymentlink",
                "{{payment_link_id}}",
                "notify"
              ]
            },
            "description": "Resend payment link notification. Only for active (CREATED) links."
          },
          "response": []
        }
      ],
      "description": "Create and manage payment links (5 tools)"
    },
    {
      "name": "Orders",
      "item": [
        {
          "name": "Tool 6: create_order",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"merchant_order_reference\": \"order-{{$randomInt}}\",\n  \"order_amount\": {\n    \"value\": 50000,\n    \"currency\": \"INR\"\n  },\n  \"integration_mode\": \"REDIRECT\",\n  \"pre_auth\": false,\n  \"allowed_payment_methods\": [\"CARD\", \"UPI\", \"NETBANKING\", \"WALLET\"],\n  \"callback_url\": \"https://example.com/callback\",\n  \"purchase_details\": {\n    \"customer\": {\n      \"email_id\": \"test@example.com\",\n      \"first_name\": \"Test\",\n      \"last_name\": \"User\",\n      \"mobile_number\": \"9876543210\",\n      \"country_code\": \"+91\"\n    }\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/checkout/v1/orders",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "checkout",
                "v1",
                "orders"
              ]
            },
            "description": "Create a hosted checkout order with redirect URL."
          },
          "response": []
        },
        {
          "name": "Tool 7: get_order_by_order_id",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/pay/v1/orders/{{order_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "pay",
                "v1",
                "orders",
                "{{order_id}}"
              ]
            },
            "description": "Retrieve order details by order ID."
          },
          "response": []
        },
        {
          "name": "Tool 8: cancel_order",
          "request": {
            "method": "PUT",
            "header": [],
            "url": {
              "raw": "{{base_url}}/pay/v1/orders/{{order_id}}/cancel",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "pay",
                "v1",
                "orders",
                "{{order_id}}",
                "cancel"
              ]
            },
            "description": "Cancel a pre-authorized order."
          },
          "response": []
        },
        {
          "name": "Tool 9: capture_order",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"amount\": {\n    \"value\": 50000,\n    \"currency\": \"INR\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/pay/v1/orders/{{order_id}}/capture",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "pay",
                "v1",
                "orders",
                "{{order_id}}",
                "capture"
              ]
            },
            "description": "Capture an authorized order to complete the transaction."
          },
          "response": []
        }
      ],
      "description": "Create, retrieve, cancel, and capture orders (4 tools)"
    },
    {
      "name": "Refunds",
      "item": [
        {
          "name": "Tool 10: create_refund",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Request-Timestamp",
                "value": "{{$isoTimestamp}}"
              },
              {
                "key": "Request-ID",
                "value": "{{$guid}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"merchant_order_reference\": \"refund-{{$randomInt}}\",\n  \"order_amount\": {\n    \"value\": 10000,\n    \"currency\": \"INR\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/pay/v1/refunds/{{order_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "pay",
                "v1",
                "refunds",
                "{{order_id}}"
              ]
            },
            "description": "Create a full or partial refund for a processed order."
          },
          "response": []
        },
        {
          "name": "Tool 76: create_brand_wallet_refund",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Request-Timestamp",
                "value": "{{$isoTimestamp}}"
              },
              {
                "key": "Request-ID",
                "value": "{{$guid}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"merchant_order_reference\": \"bw-refund-{{$randomInt}}\",\n  \"order_amount\": {\n    \"value\": 25000,\n    \"currency\": \"INR\"\n  },\n  \"destination\": \"WALLET\",\n  \"customer\": {\n    \"customer_id\": \"{{customer_id}}\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/pay/v1/refunds/{{order_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "pay",
                "v1",
                "refunds",
                "{{order_id}}"
              ]
            },
            "description": "Create a refund into a customer's Brand Wallet by setting destination to WALLET and providing customer.customer_id."
          },
          "response": []
        }
      ],
      "description": "Initiate refunds for processed orders, including refund-to-wallet flows (2 tools)"
    },
    {
      "name": "Settlements",
      "item": [
        {
          "name": "Tool 11: get_all_settlements",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/pay/v1/settlements?start_date=2025-01-01&end_date=2025-01-31&page=1&per_page=20",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "pay",
                "v1",
                "settlements"
              ],
              "query": [
                {
                  "key": "start_date",
                  "value": "2025-01-01",
                  "description": "Start date (YYYY-MM-DD)"
                },
                {
                  "key": "end_date",
                  "value": "2025-01-31",
                  "description": "End date (YYYY-MM-DD)"
                },
                {
                  "key": "page",
                  "value": "1"
                },
                {
                  "key": "per_page",
                  "value": "20"
                }
              ]
            },
            "description": "Get all settlements within a date range."
          },
          "response": []
        },
        {
          "name": "Tool 12: get_settlement_by_utr",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/pay/v1/settlements/{{utr}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "pay",
                "v1",
                "settlements",
                "{{utr}}"
              ]
            },
            "description": "Get settlement details by UTR (Unique Transaction Reference)."
          },
          "response": []
        }
      ],
      "description": "Retrieve settlement details (2 tools)"
    },
    {
      "name": "Order Payments",
      "item": [
        {
          "name": "Tool 13: fetch_order_payments",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/pay/v1/orders/{{order_id}}/payments",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "pay",
                "v1",
                "orders",
                "{{order_id}}",
                "payments"
              ]
            },
            "description": "Retrieve all payments associated with an order."
          },
          "response": []
        }
      ],
      "description": "Fetch payments for an order (1 tool)"
    },
    {
      "name": "Card Payments",
      "item": [
        {
          "name": "Tool 14: create_card_payment",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"card_number\": \"4111111111111111\",\n  \"expiry_month\": \"12\",\n  \"expiry_year\": \"2028\",\n  \"card_holder_name\": \"Test User\",\n  \"cvv\": \"123\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/pay/v1/orders/{{order_id}}/payments/card",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "pay",
                "v1",
                "orders",
                "{{order_id}}",
                "payments",
                "card"
              ]
            },
            "description": "Create a card payment for an existing order."
          },
          "response": []
        },
        {
          "name": "Tool 15: get_card_details",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"card_number\": \"411111\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/pay/v1/orders/{{order_id}}/payments/card/details",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "pay",
                "v1",
                "orders",
                "{{order_id}}",
                "payments",
                "card",
                "details"
              ]
            },
            "description": "Get card BIN details for validation."
          },
          "response": []
        },
        {
          "name": "Tool 16: generate_otp",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{base_url}}/pay/v1/orders/{{order_id}}/payments/{{payment_id}}/otp/generate",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "pay",
                "v1",
                "orders",
                "{{order_id}}",
                "payments",
                "{{payment_id}}",
                "otp",
                "generate"
              ]
            },
            "description": "Generate OTP for 3DS card payment authentication."
          },
          "response": []
        },
        {
          "name": "Tool 17: submit_otp",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"otp\": \"123456\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/pay/v1/orders/{{order_id}}/payments/{{payment_id}}/otp/submit",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "pay",
                "v1",
                "orders",
                "{{order_id}}",
                "payments",
                "{{payment_id}}",
                "otp",
                "submit"
              ]
            },
            "description": "Submit OTP to complete 3DS card payment."
          },
          "response": []
        },
        {
          "name": "Tool 18: resend_otp",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{base_url}}/pay/v1/orders/{{order_id}}/payments/{{payment_id}}/otp/resend",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "pay",
                "v1",
                "orders",
                "{{order_id}}",
                "payments",
                "{{payment_id}}",
                "otp",
                "resend"
              ]
            },
            "description": "Resend OTP for 3DS card payment authentication."
          },
          "response": []
        },
        {
          "name": "Tool 19: decoupled_authz",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Request-Timestamp",
                "value": "{{$isoTimestamp}}"
              },
              {
                "key": "Request-ID",
                "value": "{{$guid}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"decrypted_card_details\": {\n    \"pan\": \"4111111111111111\",\n    \"cvv\": \"321\",\n    \"card_holder_name\": \"Adrien\",\n    \"expiration_month\": \"12\",\n    \"expiration_year\": \"2031\",\n    \"cryptogram\": \"AceY+igABPs3jdwNaDg3MAACAAA=\",\n    \"cavv\": \"AceY+igABPs3jdwNaDg3MAACAAA=\",\n    \"eci\": \"05\"\n  },\n  \"acquirer_payment_details\": {\n    \"directory_server_transaction_id\": \"dir-txn-123\",\n    \"acs_transaction_id\": \"acs-txn-123\",\n    \"three_ds_server_transaction_id\": \"3ds-server-txn-123\",\n    \"three_ds_version\": \"2.2.0\"\n  },\n  \"authentication_type\": \"3ds\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/pay/v1/orders/{{order_id}}/payments/{{payment_id}}/authorize",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "pay",
                "v1",
                "orders",
                "{{order_id}}",
                "payments",
                "{{payment_id}}",
                "authorize"
              ]
            },
            "description": "Perform decoupled authorization for an already authenticated transaction."
          },
          "response": []
        }
      ],
      "description": "Card payment creation, card details, and OTP flows (5 tools)"
    },
    {
      "name": "UPI Payments",
      "item": [
        {
          "name": "Tool 20: create_upi_intent_payment_with_qr",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{base_url}}/pay/v1/orders/{{order_id}}/payments/upi/intent/qr",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "pay",
                "v1",
                "orders",
                "{{order_id}}",
                "payments",
                "upi",
                "intent",
                "qr"
              ]
            },
            "description": "Create a UPI intent payment with QR code. The MCP tool first creates an order, then calls this endpoint."
          },
          "response": []
        }
      ],
      "description": "UPI intent payment with QR code (1 tool)"
    },
    {
      "name": "Payouts",
      "item": [
        {
          "name": "Tool 21: create_payout",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"amount\": {\n    \"value\": 100000,\n    \"currency\": \"INR\"\n  },\n  \"beneficiary\": {\n    \"name\": \"Test Beneficiary\",\n    \"account_number\": \"1234567890\",\n    \"ifsc\": \"SBIN0001234\"\n  },\n  \"merchant_payout_reference\": \"payout-{{$randomInt}}\",\n  \"payout_mode\": \"IMPS\",\n  \"narration\": \"Test payout\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/pay/v1/payouts",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "pay",
                "v1",
                "payouts"
              ]
            },
            "description": "Create a bank payout (IMPS/NEFT/RTGS/UPI)."
          },
          "response": []
        },
        {
          "name": "Tool 22: cancel_payout",
          "request": {
            "method": "PUT",
            "header": [],
            "url": {
              "raw": "{{base_url}}/pay/v1/payouts/{{payout_id}}/cancel",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "pay",
                "v1",
                "payouts",
                "{{payout_id}}",
                "cancel"
              ]
            },
            "description": "Cancel a scheduled payout."
          },
          "response": []
        },
        {
          "name": "Tool 23: update_payout",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"scheduled_date\": \"2025-12-31\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/pay/v1/payouts/{{payout_id}}/update",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "pay",
                "v1",
                "payouts",
                "{{payout_id}}",
                "update"
              ]
            },
            "description": "Update the scheduled date of a payout."
          },
          "response": []
        },
        {
          "name": "Tool 24: get_payout_details",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/pay/v1/payouts?start_date=2025-01-01&end_date=2025-01-31&page=1&per_page=20",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "pay",
                "v1",
                "payouts"
              ],
              "query": [
                {
                  "key": "start_date",
                  "value": "2025-01-01"
                },
                {
                  "key": "end_date",
                  "value": "2025-01-31"
                },
                {
                  "key": "page",
                  "value": "1"
                },
                {
                  "key": "per_page",
                  "value": "20"
                }
              ]
            },
            "description": "Get payout details within a date range."
          },
          "response": []
        },
        {
          "name": "Tool 25: get_payout_balance",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/pay/v1/payouts/balance",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "pay",
                "v1",
                "payouts",
                "balance"
              ]
            },
            "description": "Retrieve the current payout account balance."
          },
          "response": []
        },
        {
          "name": "Tool 26: get_payout_payments",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/pay/v1/payouts/payments?start_date=2025-01-01&end_date=2025-01-31&page=1&per_page=20",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "pay",
                "v1",
                "payouts",
                "payments"
              ],
              "query": [
                {
                  "key": "start_date",
                  "value": "2025-01-01"
                },
                {
                  "key": "end_date",
                  "value": "2025-01-31"
                },
                {
                  "key": "status",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "page",
                  "value": "1"
                },
                {
                  "key": "per_page",
                  "value": "20"
                }
              ]
            },
            "description": "List and filter payout records."
          },
          "response": []
        }
      ],
      "description": "Create and manage payouts (6 tools)"
    },
    {
      "name": "Subscriptions — Plans",
      "item": [
        {
          "name": "Tool 27: create_plan",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"plan_name\": \"Monthly Plan\",\n  \"frequency\": \"MONTHLY\",\n  \"amount\": {\n    \"value\": 99900,\n    \"currency\": \"INR\"\n  },\n  \"max_limit_amount\": {\n    \"value\": 999900,\n    \"currency\": \"INR\"\n  },\n  \"end_date\": \"2026-12-31T23:59:59Z\",\n  \"merchant_plan_reference\": \"plan-{{$randomInt}}\",\n  \"plan_description\": \"Monthly subscription plan\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/v1/public/plans",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "v1",
                "public",
                "plans"
              ]
            },
            "description": "Create a new subscription plan."
          },
          "response": []
        },
        {
          "name": "Tool 28: update_plan",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"plan_name\": \"Updated Plan Name\",\n  \"plan_description\": \"Updated description\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/v1/public/plans/{{plan_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "v1",
                "public",
                "plans",
                "{{plan_id}}"
              ]
            },
            "description": "Update a subscription plan."
          },
          "response": []
        },
        {
          "name": "Tool 29: delete_plan",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{base_url}}/v1/public/plans/{{plan_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "v1",
                "public",
                "plans",
                "{{plan_id}}"
              ]
            },
            "description": "Delete a subscription plan."
          },
          "response": []
        },
        {
          "name": "Tool 30: get_plans",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/v1/public/plans?page=1&size=20",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "v1",
                "public",
                "plans"
              ],
              "query": [
                {
                  "key": "plan_id",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "start_date",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "end_date",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "frequency",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "page",
                  "value": "1"
                },
                {
                  "key": "size",
                  "value": "20"
                },
                {
                  "key": "sort",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "List subscription plans with optional filters."
          },
          "response": []
        },
        {
          "name": "Tool 31: get_plan_by_id",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/v1/public/plans/{{plan_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "v1",
                "public",
                "plans",
                "{{plan_id}}"
              ]
            },
            "description": "Retrieve a subscription plan by plan ID."
          },
          "response": []
        },
        {
          "name": "Tool 32: get_plan_by_merchant_reference",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/v1/public/plans/reference/:merchant_plan_reference",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "v1",
                "public",
                "plans",
                "reference",
                ":merchant_plan_reference"
              ],
              "variable": [
                {
                  "key": "merchant_plan_reference",
                  "value": "",
                  "description": "Merchant plan reference"
                }
              ]
            },
            "description": "Retrieve a plan by merchant plan reference."
          },
          "response": []
        }
      ],
      "description": "Create, update, delete, and retrieve subscription plans (6 tools)"
    },
    {
      "name": "Subscriptions — Management",
      "item": [
        {
          "name": "Tool 33: create_subscription",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"merchant_subscription_reference\": \"sub-{{$randomInt}}\",\n  \"plan_id\": \"{{plan_id}}\",\n  \"start_date\": \"2025-06-01T00:00:00Z\",\n  \"end_date\": \"2026-06-01T00:00:00Z\",\n  \"customer_id\": \"cust-123\",\n  \"integration_mode\": \"REDIRECT\",\n  \"callback_url\": \"https://example.com/callback\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/v1/public/subscriptions",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "v1",
                "public",
                "subscriptions"
              ]
            },
            "description": "Create a new subscription linked to a plan."
          },
          "response": []
        },
        {
          "name": "Tool 34: update_subscription",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"reason\": \"Plan upgrade\",\n  \"new_plan_id\": \"new-plan-id\",\n  \"new_end_date\": \"2027-01-01T00:00:00Z\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/v1/public/subscriptions/{{subscription_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "v1",
                "public",
                "subscriptions",
                "{{subscription_id}}"
              ]
            },
            "description": "Update a subscription's plan or end date."
          },
          "response": []
        },
        {
          "name": "Tool 35: pause_subscription",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{base_url}}/v1/public/subscriptions/{{subscription_id}}/pause",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "v1",
                "public",
                "subscriptions",
                "{{subscription_id}}",
                "pause"
              ]
            },
            "description": "Pause an active subscription."
          },
          "response": []
        },
        {
          "name": "Tool 36: resume_subscription",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{base_url}}/v1/public/subscriptions/{{subscription_id}}/resume",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "v1",
                "public",
                "subscriptions",
                "{{subscription_id}}",
                "resume"
              ]
            },
            "description": "Resume a paused subscription."
          },
          "response": []
        },
        {
          "name": "Tool 37: cancel_subscription",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{base_url}}/v1/public/subscriptions/{{subscription_id}}/cancel",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "v1",
                "public",
                "subscriptions",
                "{{subscription_id}}",
                "cancel"
              ]
            },
            "description": "Cancel an active or paused subscription."
          },
          "response": []
        },
        {
          "name": "Tool 38: get_subscriptions",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/v1/public/subscriptions?page=1&size=20",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "v1",
                "public",
                "subscriptions"
              ],
              "query": [
                {
                  "key": "plan_id",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "status",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "start_date",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "end_date",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "frequency",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "page",
                  "value": "1"
                },
                {
                  "key": "size",
                  "value": "20"
                },
                {
                  "key": "sort",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "List subscriptions with optional filters."
          },
          "response": []
        },
        {
          "name": "Tool 39: get_subscription_by_id",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/v1/public/subscriptions/{{subscription_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "v1",
                "public",
                "subscriptions",
                "{{subscription_id}}"
              ]
            },
            "description": "Retrieve a subscription by ID."
          },
          "response": []
        },
        {
          "name": "Tool 40: get_subscription_by_merchant_reference",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/v1/public/subscriptions/reference/:merchant_subscription_reference",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "v1",
                "public",
                "subscriptions",
                "reference",
                ":merchant_subscription_reference"
              ],
              "variable": [
                {
                  "key": "merchant_subscription_reference",
                  "value": "",
                  "description": "Merchant subscription reference"
                }
              ]
            },
            "description": "Retrieve a subscription by merchant reference."
          },
          "response": []
        }
      ],
      "description": "Create, pause, resume, cancel, update, and retrieve subscriptions (8 tools)"
    },
    {
      "name": "Subscriptions — Presentations",
      "item": [
        {
          "name": "Tool 41: create_presentation",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"due_date\": \"2025-07-01T00:00:00Z\",\n  \"amount\": {\n    \"value\": 99900,\n    \"currency\": \"INR\"\n  },\n  \"merchant_presentation_reference\": \"pres-{{$randomInt}}\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/v1/public/subscriptions/{{subscription_id}}/presentations",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "v1",
                "public",
                "subscriptions",
                "{{subscription_id}}",
                "presentations"
              ]
            },
            "description": "Submit a mandate debit request (presentation)."
          },
          "response": []
        },
        {
          "name": "Tool 42: delete_presentation",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{base_url}}/v1/public/presentations/{{presentation_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "v1",
                "public",
                "presentations",
                "{{presentation_id}}"
              ]
            },
            "description": "Delete a presentation."
          },
          "response": []
        },
        {
          "name": "Tool 43: get_presentation",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/v1/public/presentations/{{presentation_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "v1",
                "public",
                "presentations",
                "{{presentation_id}}"
              ]
            },
            "description": "Retrieve presentation details by ID."
          },
          "response": []
        },
        {
          "name": "Tool 44: get_presentations_by_subscription_id",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/v1/public/subscriptions/{{subscription_id}}/presentations?page=1&size=20",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "v1",
                "public",
                "subscriptions",
                "{{subscription_id}}",
                "presentations"
              ],
              "query": [
                {
                  "key": "page",
                  "value": "1"
                },
                {
                  "key": "size",
                  "value": "20"
                },
                {
                  "key": "sort",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "List all presentations for a subscription."
          },
          "response": []
        },
        {
          "name": "Tool 45: get_presentation_by_merchant_reference",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/v1/public/presentations/reference/:merchant_presentation_reference",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "v1",
                "public",
                "presentations",
                "reference",
                ":merchant_presentation_reference"
              ],
              "variable": [
                {
                  "key": "merchant_presentation_reference",
                  "value": "",
                  "description": "Merchant presentation reference"
                }
              ]
            },
            "description": "Retrieve presentation by merchant reference."
          },
          "response": []
        }
      ],
      "description": "Manage presentation (debit) requests for subscriptions (5 tools)"
    },
    {
      "name": "Subscriptions — Debits & Notifications",
      "item": [
        {
          "name": "Tool 46: send_subscription_notification",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"subscription_id\": \"{{subscription_id}}\",\n  \"due_date\": \"2025-07-01T00:00:00Z\",\n  \"amount\": {\n    \"value\": 99900,\n    \"currency\": \"INR\"\n  },\n  \"merchant_presentation_reference\": \"notif-{{$randomInt}}\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/v1/public/subscriptions/notify",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "v1",
                "public",
                "subscriptions",
                "notify"
              ]
            },
            "description": "Send a pre-debit notification for a subscription."
          },
          "response": []
        },
        {
          "name": "Tool 47: create_debit",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"presentation_id\": \"{{presentation_id}}\",\n  \"merchant_presentation_reference\": \"debit-{{$randomInt}}\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/v1/public/subscriptions/execute",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "v1",
                "public",
                "subscriptions",
                "execute"
              ]
            },
            "description": "Execute a mandate debit against a subscription."
          },
          "response": []
        },
        {
          "name": "Tool 48: create_merchant_retry",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"presentation_id\": \"{{presentation_id}}\",\n  \"merchant_presentation_reference\": \"retry-{{$randomInt}}\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/v1/mandate/merchant-retry",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "v1",
                "mandate",
                "merchant-retry"
              ]
            },
            "description": "Retry mandate execution. Max 3 retries."
          },
          "response": []
        }
      ],
      "description": "Notifications, debits, and merchant retries (3 tools)"
    },
    {
      "name": "MCP Reporting",
      "item": [
        {
          "name": "Tool 49: get_payment_link_details",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "merchant-id",
                "value": "{{merchant_id}}"
              }
            ],
            "url": {
              "raw": "{{base_url}}/mcp/v1/payment-link/details?start_date=2025-01-01T00:00:00Z&end_date=2025-01-31T23:59:59Z&page=1&per_page=20",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "mcp",
                "v1",
                "payment-link",
                "details"
              ],
              "query": [
                {
                  "key": "start_date",
                  "value": "2025-01-01T00:00:00Z"
                },
                {
                  "key": "end_date",
                  "value": "2025-01-31T23:59:59Z"
                },
                {
                  "key": "page",
                  "value": "1"
                },
                {
                  "key": "per_page",
                  "value": "20"
                }
              ]
            },
            "description": "Fetch payment link details report. Max 60-day range. Requires merchant-id header."
          },
          "response": []
        },
        {
          "name": "Tool 50: get_order_details",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "merchant-id",
                "value": "{{merchant_id}}"
              }
            ],
            "url": {
              "raw": "{{base_url}}/mcp/v1/order/details?start_date=2025-01-01T00:00:00Z&end_date=2025-01-31T23:59:59Z&page=1&per_page=20",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "mcp",
                "v1",
                "order",
                "details"
              ],
              "query": [
                {
                  "key": "start_date",
                  "value": "2025-01-01T00:00:00Z"
                },
                {
                  "key": "end_date",
                  "value": "2025-01-31T23:59:59Z"
                },
                {
                  "key": "page",
                  "value": "1"
                },
                {
                  "key": "per_page",
                  "value": "20"
                }
              ]
            },
            "description": "Fetch order details report. Max 60-day range. Requires merchant-id header."
          },
          "response": []
        },
        {
          "name": "Tool 51: get_refund_order_details",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "merchant-id",
                "value": "{{merchant_id}}"
              }
            ],
            "url": {
              "raw": "{{base_url}}/mcp/v1/refund/order/details?start_date=2025-01-01T00:00:00Z&end_date=2025-01-31T23:59:59Z&page=1&per_page=20",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "mcp",
                "v1",
                "refund",
                "order",
                "details"
              ],
              "query": [
                {
                  "key": "start_date",
                  "value": "2025-01-01T00:00:00Z"
                },
                {
                  "key": "end_date",
                  "value": "2025-01-31T23:59:59Z"
                },
                {
                  "key": "page",
                  "value": "1"
                },
                {
                  "key": "per_page",
                  "value": "20"
                }
              ]
            },
            "description": "Fetch refund order details report. Max 60-day range. Requires merchant-id header."
          },
          "response": []
        },
        {
          "name": "Tool 52: search_transaction",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "merchant-id",
                "value": "{{merchant_id}}"
              }
            ],
            "url": {
              "raw": "{{base_url}}/mcp/v1/search/transaction/{{transaction_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "mcp",
                "v1",
                "search",
                "transaction",
                "{{transaction_id}}"
              ]
            },
            "description": "Search for a transaction by transaction ID. Requires merchant-id header."
          },
          "response": []
        }
      ],
      "description": "Date-range reports for payment links, orders, refunds, and transaction search (4 tools)"
    },
    {
      "name": "Analytics",
      "item": [
        {
          "name": "Tool 53: get_merchant_success_rate",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/mcp/v1/merchant/transactions/success-rate?start_date=5 hours ago&end_date=now",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "mcp",
                "v1",
                "merchant",
                "transactions",
                "success-rate"
              ],
              "query": [
                {
                  "key": "start_date",
                  "value": "5 hours ago",
                  "description": "Natural language or YYYY-MM-DD HH:MM:SS"
                },
                {
                  "key": "end_date",
                  "value": "now",
                  "description": "Natural language or YYYY-MM-DD HH:MM:SS. Default: now"
                }
              ]
            },
            "description": "Fetch transaction success rate. Max 7-day range. Supports natural-language dates."
          },
          "response": []
        }
      ],
      "description": "Merchant transaction success rate (1 tool)"
    },
    {
      "name": "MCP Utility",
      "item": [
        {
          "name": "Tool 54: get_api_documentation",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"api_name\": \"payment-link-create\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/mcp/internal/get-api-documentation",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "mcp",
                "internal",
                "get-api-documentation"
              ]
            },
            "description": "Fetch Pine Labs API documentation for a specific API. MCP-internal tool."
          },
          "response": []
        },
        {
          "name": "Tool 55: list_pinelabs_apis",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/mcp/internal/list-pinelabs-apis",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "mcp",
                "internal",
                "list-pinelabs-apis"
              ]
            },
            "description": "List all available Pine Labs APIs. MCP-internal tool."
          },
          "response": []
        },
        {
          "name": "Tool 56: detect_stack",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"project_path\": \"/path/to/project\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/mcp/internal/detect-stack",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "mcp",
                "internal",
                "detect-stack"
              ]
            },
            "description": "Detect the technology stack of a project. MCP-internal tool."
          },
          "response": []
        },
        {
          "name": "Tool 57: integrate_pinelabs_checkout",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"stack\": \"React\",\n  \"integration_mode\": \"REDIRECT\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/mcp/internal/integrate-pinelabs-checkout",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "mcp",
                "internal",
                "integrate-pinelabs-checkout"
              ]
            },
            "description": "Generate checkout integration code tailored to your tech stack. MCP-internal tool."
          },
          "response": []
        }
      ],
      "description": "Documentation, API listing, stack detection, and checkout integration (4 tools). These are MCP-internal tools."
    },
    {
      "name": "Reserve Pay APIs",
      "item": [
        {
          "name": "Tool 58: fetch_sbmd_subscription_status",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Merchant-ID",
                "value": "{{merchant_id}}",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{root_url}}/ps/api/v1/subscriptions/sbmd/{{subscription_id}}",
              "host": [
                "{{root_url}}"
              ],
              "path": [
                "ps",
                "api",
                "v1",
                "subscriptions",
                "sbmd",
                "{{subscription_id}}"
              ]
            },
            "description": "Fetch Reserve Pay SBMD subscription status by subscription ID."
          },
          "response": []
        },
        {
          "name": "Tool 59: create_debit",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Merchant-ID",
                "value": "{{merchant_id}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"subscription_id\": \"{{subscription_id}}\",\n  \"amount\": {\n    \"value\": 100,\n    \"currency\": \"INR\"\n  },\n  \"merchant_presentation_reference\" : \"{{merchant_debit_reference}}\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{root_url}}/ps/api/v1/public/presentations",
              "host": [
                "{{root_url}}"
              ],
              "path": [
                "ps",
                "api",
                "v1",
                "public",
                "presentations"
              ]
            },
            "description": "Create a Reserve Pay debit presentation for an existing subscription. Amount is in paisa for INR."
          },
          "response": []
        },
        {
          "name": "Tool 60: Create_sbmd",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Merchant-ID",
                "value": "{{merchant_id}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"merchant_subscription_reference\": \"sbmd-{{$randomInt}}\",\n  \"customer_id\": \"{{customer_id}}\",\n  \"plan_details\": {\n    \"reserve_amount\": 500,\n    \"currency\": \"INR\",\n    \"validity_days\": 40,\n    \"description\": \"Test SBMD\"\n  },\n  \"callback_url\": \"https://example.com/callback\",\n  \"expire_after\": 30,\n  \"terms_accepted\": false\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{root_url}}/ps/api/v1/subscriptions/sbmd",
              "host": [
                "{{root_url}}"
              ],
              "path": [
                "ps",
                "api",
                "v1",
                "subscriptions",
                "sbmd"
              ]
            },
            "description": "Create a Reserve Pay SBMD subscription using merchant and customer placeholders."
          },
          "response": []
        },
        {
          "name": "Tool 61: Fetch_debit_by_merchant_reference",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{root_url}}/ps/api/v1/public/presentations/reference/{{merchant_debit_reference}}",
              "host": [
                "{{root_url}}"
              ],
              "path": [
                "ps",
                "api",
                "v1",
                "public",
                "presentations",
                "reference",
                "{{merchant_debit_reference}}"
              ]
            },
            "description": "Fetch a Reserve Pay debit presentation by merchant presentation reference."
          },
          "response": []
        }
      ],
      "description": "Reserve Pay SBMD subscription and debit presentation APIs (4 tools)"
    },
    {
      "name": "Brand Wallet",
      "item": [
        {
          "name": "Tool 62: create_brand_wallet",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Request-Timestamp",
                "value": "{{$isoTimestamp}}"
              },
              {
                "key": "Request-ID",
                "value": "{{$guid}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"currency_code\": \"INR\",\n  \"customers\": [\n    {\n      \"customer_id\": \"{{customer_id}}\",\n      \"first_name\": \"Test\",\n      \"last_name\": \"User\",\n      \"country_code\": \"91\",\n      \"mobile_number\": \"9876543210\",\n      \"email_id\": \"test@example.com\"\n    }\n  ],\n  \"notes\": \"Onboarding wallet\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{root_url}}/payment-option/create/wallet",
              "host": [
                "{{root_url}}"
              ],
              "path": [
                "payment-option",
                "create",
                "wallet"
              ]
            },
            "description": "Create Brand Wallets for one or more customers. Activate the wallet before it is used for transactions."
          },
          "response": []
        },
        {
          "name": "Tool 63: validate_brand_wallet",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Request-Timestamp",
                "value": "{{$isoTimestamp}}"
              },
              {
                "key": "Request-ID",
                "value": "{{$guid}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"notes\": \"POS checkout\",\n  \"amount\": {\n    \"value\": 50000,\n    \"currency\": \"INR\"\n  },\n  \"customers\": {\n    \"customer_id\": \"{{customer_id}}\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{root_url}}/payment-option/wallet/validate",
              "host": [
                "{{root_url}}"
              ],
              "path": [
                "payment-option",
                "wallet",
                "validate"
              ]
            },
            "description": "Validate whether the customer's Brand Wallet can cover the requested amount before creating an order."
          },
          "response": []
        },
        {
          "name": "Tool 64: get_brand_wallet_balance",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Request-Timestamp",
                "value": "{{$isoTimestamp}}"
              },
              {
                "key": "Request-ID",
                "value": "{{$guid}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"notes\": \"Balance check\",\n  \"customers\": {\n    \"customer_id\": \"{{customer_id}}\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{root_url}}/payment-option/wallet/balance",
              "host": [
                "{{root_url}}"
              ],
              "path": [
                "payment-option",
                "wallet",
                "balance"
              ]
            },
            "description": "Retrieve the current Brand Wallet balance and bucket breakdown for a customer."
          },
          "response": []
        },
        {
          "name": "Tool 65: activate_brand_wallet",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Request-Timestamp",
                "value": "{{$isoTimestamp}}"
              },
              {
                "key": "Request-ID",
                "value": "{{$guid}}"
              }
            ],
            "url": {
              "raw": "{{root_url}}/payment-option/wallet/customer/{{customer_id}}/activate",
              "host": [
                "{{root_url}}"
              ],
              "path": [
                "payment-option",
                "wallet",
                "customer",
                "{{customer_id}}",
                "activate"
              ]
            },
            "description": "Activate a previously created or deactivated Brand Wallet for the customer."
          },
          "response": []
        },
        {
          "name": "Tool 66: deactivate_brand_wallet",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Request-Timestamp",
                "value": "{{$isoTimestamp}}"
              },
              {
                "key": "Request-ID",
                "value": "{{$guid}}"
              }
            ],
            "url": {
              "raw": "{{root_url}}/payment-option/wallet/customer/{{customer_id}}/deactivate",
              "host": [
                "{{root_url}}"
              ],
              "path": [
                "payment-option",
                "wallet",
                "customer",
                "{{customer_id}}",
                "deactivate"
              ]
            },
            "description": "Deactivate a customer's Brand Wallet to prevent further transactions until reactivated."
          },
          "response": []
        },
        {
          "name": "Tool 67: reset_brand_wallet_pin",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Request-Timestamp",
                "value": "{{$isoTimestamp}}"
              },
              {
                "key": "Request-ID",
                "value": "{{$guid}}"
              }
            ],
            "url": {
              "raw": "{{root_url}}/payment-option/wallet/customer/{{customer_id}}/reset",
              "host": [
                "{{root_url}}"
              ],
              "path": [
                "payment-option",
                "wallet",
                "customer",
                "{{customer_id}}",
                "reset"
              ]
            },
            "description": "Reset the PIN for a customer's Brand Wallet when it is locked or forgotten."
          },
          "response": []
        },
        {
          "name": "Tool 68: load_brand_wallet",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Request-Timestamp",
                "value": "{{$isoTimestamp}}"
              },
              {
                "key": "Request-ID",
                "value": "{{$guid}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"amount\": {\n    \"value\": 100000,\n    \"currency\": \"INR\"\n  },\n  \"customer\": {\n    \"customer_id\": \"{{customer_id}}\"\n  },\n  \"bucket\": \"CASH\",\n  \"notes\": \"Manual load\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{root_url}}/payment-option/wallet/load",
              "host": [
                "{{root_url}}"
              ],
              "path": [
                "payment-option",
                "wallet",
                "load"
              ]
            },
            "description": "Load money directly into a customer's Brand Wallet bucket. Amount is in paisa for INR."
          },
          "response": []
        },
        {
          "name": "Tool 69: get_brand_wallet_history",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Request-Timestamp",
                "value": "{{$isoTimestamp}}"
              },
              {
                "key": "Request-ID",
                "value": "{{$guid}}"
              }
            ],
            "url": {
              "raw": "{{root_url}}/payment-option/wallet/customer/{{customer_id}}/history?start_date=2026-01-01&end_date=2026-01-31&page=1&transaction_type=CREDIT",
              "host": [
                "{{root_url}}"
              ],
              "path": [
                "payment-option",
                "wallet",
                "customer",
                "{{customer_id}}",
                "history"
              ],
              "query": [
                {
                  "key": "start_date",
                  "value": "2026-01-01"
                },
                {
                  "key": "end_date",
                  "value": "2026-01-31"
                },
                {
                  "key": "page",
                  "value": "1"
                },
                {
                  "key": "transaction_type",
                  "value": "CREDIT"
                }
              ]
            },
            "description": "Retrieve Brand Wallet transaction history for a customer with optional filters by date range, page, and transaction type."
          },
          "response": []
        }
      ],
      "description": "Create, validate, activate/deactivate, reset PIN, check balance, load money, and view transaction history for Brand Wallets (8 tools)"
    },
    {
      "name": "Brand Wallet Payments",
      "item": [
        {
          "name": "Tool 70: create_brand_wallet_order",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Request-Timestamp",
                "value": "{{$isoTimestamp}}"
              },
              {
                "key": "Request-ID",
                "value": "{{$guid}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"merchant_order_reference\": \"bw-order-{{$randomInt}}\",\n  \"order_amount\": {\n    \"value\": 50000,\n    \"currency\": \"INR\"\n  },\n  \"pre_auth\": false,\n  \"allowed_payment_methods\": [\"BRAND_WALLET\"],\n  \"notes\": \"Brand Wallet order\",\n  \"callback_url\": \"https://example.com/callback\",\n  \"purchase_details\": {\n    \"customer\": {\n      \"customer_id\": \"{{customer_id}}\",\n      \"email_id\": \"test@example.com\",\n      \"first_name\": \"Test\",\n      \"last_name\": \"User\",\n      \"mobile_number\": \"9876543210\",\n      \"country_code\": \"91\"\n    }\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/pay/v1/orders",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "pay",
                "v1",
                "orders"
              ]
            },
            "description": "Create an order for Brand Wallet payment. Use the returned order_id in the create_brand_wallet_payment request."
          },
          "response": []
        },
        {
          "name": "Tool 71: create_brand_wallet_payment",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Request-Timestamp",
                "value": "{{$isoTimestamp}}"
              },
              {
                "key": "Request-ID",
                "value": "{{$guid}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"payments\": [\n    {\n      \"merchant_payment_reference\": \"pay-ref-bw-{{$randomInt}}\",\n      \"payment_amount\": {\n        \"value\": 50000,\n        \"currency\": \"INR\"\n      },\n      \"payment_method\": \"BRAND_WALLET\",\n      \"payment_option\": {\n        \"wallet_details\": {\n          \"customer_id\": \"{{customer_id}}\"\n        }\n      }\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/pay/v1/orders/{{order_id}}/payments",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "pay",
                "v1",
                "orders",
                "{{order_id}}",
                "payments"
              ]
            },
            "description": "Create a Brand Wallet payment for an existing order. The payment enters PENDING status and an OTP is sent to the customer."
          },
          "response": []
        },
        {
          "name": "Tool 72: submit_brand_wallet_otp",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Request-Timestamp",
                "value": "{{$isoTimestamp}}"
              },
              {
                "key": "Request-ID",
                "value": "{{$guid}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"payment_id\": \"{{payment_id}}\",\n  \"otp\": \"123456\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/pay/v1/otp/submit",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "pay",
                "v1",
                "otp",
                "submit"
              ]
            },
            "description": "Submit the OTP received by the customer to authenticate and complete a pending Brand Wallet payment."
          },
          "response": []
        },
        {
          "name": "Tool 73: resend_brand_wallet_otp",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Request-Timestamp",
                "value": "{{$isoTimestamp}}"
              },
              {
                "key": "Request-ID",
                "value": "{{$guid}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"payment_id\": \"{{payment_id}}\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/pay/v1/otp/resend",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "pay",
                "v1",
                "otp",
                "resend"
              ]
            },
            "description": "Resend the OTP to the customer's registered mobile number for Brand Wallet payment verification."
          },
          "response": []
        },
        {
          "name": "Tool 74: add_money_to_brand_wallet_cash",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Request-Timestamp",
                "value": "{{$isoTimestamp}}"
              },
              {
                "key": "Request-ID",
                "value": "{{$guid}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"merchant_order_reference\": \"ADD-CASH-{{$randomInt}}\",\n  \"mode\": \"CASH\",\n  \"amount\": {\n    \"value\": 50000,\n    \"currency\": \"INR\"\n  },\n  \"payment_option\": {\n    \"upi_details\": {\n      \"txn_mode\": \"COLLECT\",\n      \"payer\": {\n        \"vpa\": \"customer@upi\"\n      }\n    }\n  },\n  \"customer\": {\n    \"customer_id\": \"{{customer_id}}\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/pay/v1/add_money",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "pay",
                "v1",
                "add_money"
              ]
            },
            "description": "Add money to a Brand Wallet via cash (UPI). Creates a parent ADD_MONEY order and child CHARGE order for UPI payment."
          },
          "response": []
        },
        {
          "name": "Tool 75: add_money_to_brand_wallet_gift_card",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Request-Timestamp",
                "value": "{{$isoTimestamp}}"
              },
              {
                "key": "Request-ID",
                "value": "{{$guid}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"merchant_order_reference\": \"ADD-GC-{{$randomInt}}\",\n  \"mode\": \"GIFT_CARD\",\n  \"payment_option\": {\n    \"gift_card_details\": {\n      \"gift_card_number\": \"GC1234567890\",\n      \"pin\": \"123456\"\n    }\n  },\n  \"customer\": {\n    \"customer_id\": \"{{customer_id}}\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/pay/v1/add_money",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "pay",
                "v1",
                "add_money"
              ]
            },
            "description": "Add money to a Brand Wallet using gift card details. Gift card mode uses payment_option.gift_card_details with gift_card_number and a 6-digit pin."
          },
          "response": []
        }
      ],
      "description": "Create Brand Wallet orders and payments, submit/resend OTP, and add money to Brand Wallets via cash or gift card (6 tools)"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{access_token}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "base_url",
      "value": "https://pluraluat.v2.pinepg.in/api",
      "type": "string",
      "description": "Base URL. UAT: https://pluraluat.v2.pinepg.in/api | PROD: https://api.pluralpay.in/api"
    },
    {
      "key": "root_url",
      "value": "https://pluraluat.v2.pinepg.in",
      "type": "string",
      "description": "Root URL for APIs that do not include the /api prefix. UAT: https://pluraluat.v2.pinepg.in | PROD: https://api.pluralpay.in"
    },
    {
      "key": "access_token",
      "value": "",
      "type": "string",
      "description": "Bearer token from Generate Token API"
    },
    {
      "key": "merchant_id",
      "value": "",
      "type": "string",
      "description": "Merchant ID for MCP reporting APIs"
    },
    {
      "key": "order_id",
      "value": "",
      "type": "string"
    },
    {
      "key": "payment_link_id",
      "value": "",
      "type": "string"
    },
    {
      "key": "payment_id",
      "value": "",
      "type": "string"
    },
    {
      "key": "customer_id",
      "value": "cust-bw-001",
      "type": "string"
    },
    {
      "key": "payout_id",
      "value": "",
      "type": "string"
    },
    {
      "key": "plan_id",
      "value": "",
      "type": "string"
    },
    {
      "key": "subscription_id",
      "value": "",
      "type": "string"
    },
    {
      "key": "presentation_id",
      "value": "",
      "type": "string"
    },
    {
      "key": "transaction_id",
      "value": "",
      "type": "string"
    },
    {
      "key": "merchant_debit_reference",
      "value": "debit-{{$randomInt}}",
      "type": "string"
    },
    {
      "key": "utr",
      "value": "",
      "type": "string"
    }
  ]
}
