{ "opencollection": "1.0.0", "info": { "name": "Cashfree Payment Gateway APIs Authorize Payment Links API", "version": "2025-01-01" }, "items": [ { "info": { "name": "Payment Links", "type": "folder" }, "items": [ { "info": { "name": "Create Payment Link", "type": "http" }, "http": { "method": "POST", "url": "https://sandbox.cashfree.com/pg/links", "headers": [ { "name": "x-api-version", "value": "2025-01-01" }, { "name": "x-request-id", "value": "4dfb9780-46fe-11ee-be56-0242ac120002" }, { "name": "x-idempotency-key", "value": "47bf8872-46fe-11ee-be56-0242ac120002" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "x-client-id", "value": "{{x-client-id}}", "placement": "header" } }, "docs": "Use this API to create a new payment link. The created payment link url will be available in the API response parameter link_url. Please pass non required fields only if user passed that are critical like phone" }, { "info": { "name": "Fetch Payment Link Details", "type": "http" }, "http": { "method": "GET", "url": "https://sandbox.cashfree.com/pg/links/:link_id", "headers": [ { "name": "x-api-version", "value": "2025-01-01" }, { "name": "x-request-id", "value": "4dfb9780-46fe-11ee-be56-0242ac120002" }, { "name": "x-idempotency-key", "value": "47bf8872-46fe-11ee-be56-0242ac120002" } ], "params": [ { "name": "link_id", "value": "your-link-id", "type": "path", "description": "The payment link ID for which you want to view the details." } ], "auth": { "type": "apikey", "key": "x-client-id", "value": "{{x-client-id}}", "placement": "header" } }, "docs": "Use this API to view all details and status of a payment link." }, { "info": { "name": "Cancel Payment Link", "type": "http" }, "http": { "method": "POST", "url": "https://sandbox.cashfree.com/pg/links/:link_id/cancel", "headers": [ { "name": "x-api-version", "value": "2025-01-01" }, { "name": "x-request-id", "value": "4dfb9780-46fe-11ee-be56-0242ac120002" }, { "name": "x-idempotency-key", "value": "47bf8872-46fe-11ee-be56-0242ac120002" } ], "params": [ { "name": "link_id", "value": "your-link-id", "type": "path", "description": "The payment link ID for which you want to view the details." } ], "auth": { "type": "apikey", "key": "x-client-id", "value": "{{x-client-id}}", "placement": "header" } }, "docs": "Use this API to cancel a payment link. No further payments can be done against a cancelled link. Only a link in ACTIVE status can be cancelled." }, { "info": { "name": "Get Orders for a Payment Link", "type": "http" }, "http": { "method": "GET", "url": "https://sandbox.cashfree.com/pg/links/:link_id/orders", "headers": [ { "name": "x-api-version", "value": "2025-01-01" }, { "name": "x-request-id", "value": "4dfb9780-46fe-11ee-be56-0242ac120002" }, { "name": "x-idempotency-key", "value": "47bf8872-46fe-11ee-be56-0242ac120002" } ], "params": [ { "name": "link_id", "value": "your-link-id", "type": "path", "description": "The payment link ID for which you want to view the details." }, { "name": "status", "value": "ALL", "type": "query", "description": "Mention What is status of orders you want to fetch, default is PAID. Possible value: ALL, PAID" } ], "auth": { "type": "apikey", "key": "x-client-id", "value": "{{x-client-id}}", "placement": "header" } }, "docs": "Use this API to view all order details for a payment link." } ] } ], "bundled": true }