{ "opencollection": "1.0.0", "info": { "name": "Zendit Account Vouchers API", "version": "1.0.0" }, "items": [ { "info": { "name": "Vouchers", "type": "folder" }, "items": [ { "info": { "name": "Zendit List Voucher Offers", "type": "http" }, "http": { "method": "GET", "url": "https://api.zendit.io/v1/vouchers/offers", "params": [ { "name": "_limit", "value": "100", "type": "query", "description": "Items per page (1-1024)." }, { "name": "_offset", "value": "0", "type": "query", "description": "Pagination offset." }, { "name": "country", "value": "US", "type": "query", "description": "Two-letter ISO country code." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "List gift card and utility offers." }, { "info": { "name": "Zendit Get Voucher Offer", "type": "http" }, "http": { "method": "GET", "url": "https://api.zendit.io/v1/vouchers/offers/:offerId", "params": [ { "name": "offerId", "value": "offer-12345", "type": "path", "description": "Offer identifier." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get voucher offer details with required fields." }, { "info": { "name": "Zendit List Voucher Purchases", "type": "http" }, "http": { "method": "GET", "url": "https://api.zendit.io/v1/vouchers/purchases", "params": [ { "name": "_limit", "value": "100", "type": "query", "description": "Items per page (1-1024)." }, { "name": "_offset", "value": "0", "type": "query", "description": "Pagination offset." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Query voucher transactions." }, { "info": { "name": "Zendit Create Voucher Purchase", "type": "http" }, "http": { "method": "POST", "url": "https://api.zendit.io/v1/vouchers/purchases", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create gift card or utility payment transaction." }, { "info": { "name": "Zendit Get Voucher Purchase", "type": "http" }, "http": { "method": "GET", "url": "https://api.zendit.io/v1/vouchers/purchases/:transactionId", "params": [ { "name": "transactionId", "value": "txn-abc123", "type": "path", "description": "Transaction identifier." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Retrieve voucher transaction with receipt data." } ] } ], "bundled": true }