{ "opencollection": "1.0.0", "info": { "name": "Earnipay Invoicing App Payment Details API", "version": "1.0" }, "items": [ { "info": { "name": "Payment Details", "type": "folder" }, "items": [ { "info": { "name": "List payment details", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/payment-details", "params": [ { "name": "businessId", "value": "", "type": "query" }, { "name": "page", "value": "", "type": "query" }, { "name": "limit", "value": "", "type": "query" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "List all payment details for a business with pagination." }, { "info": { "name": "Create payment detail", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/payment-details", "params": [ { "name": "businessId", "value": "", "type": "query" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create a reusable payment detail for a business." }, { "info": { "name": "Get payment detail", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/payment-details/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Payment Detail ID" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get payment detail" }, { "info": { "name": "Update payment detail", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/v1/payment-details/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Payment Detail ID" }, { "name": "businessId", "value": "", "type": "query" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update payment detail" }, { "info": { "name": "Delete payment detail", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/v1/payment-details/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Payment Detail ID" }, { "name": "businessId", "value": "", "type": "query" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete payment detail" } ] } ], "bundled": true }