{ "opencollection": "1.0.0", "info": { "name": "VTex Anti-fraud Provider Account Gift Cards API", "version": "1.0" }, "items": [ { "info": { "name": "Gift Cards", "type": "folder" }, "items": [ { "info": { "name": "VTex List all gift cards", "type": "http" }, "http": { "method": "POST", "url": "https://{providerApiEndpoint}/giftcards/_search", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Accept", "value": "" }, { "name": "REST-Range", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Returns a list of all gift cards available from a gift card provider for a specific customer's cart.\r\n\r\n> ℹ️ This request is made from VTEX to the gift card payment provider.\r\n\r\n## Permissions\r\n\r\nCheck with your service provider to know what permissions are needed." }, { "info": { "name": "VTex Get a gift card by ID", "type": "http" }, "http": { "method": "GET", "url": "https://{providerApiEndpoint}/giftcards/:giftCardId", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Accept", "value": "" } ], "params": [ { "name": "giftCardId", "value": "", "type": "path", "description": "Gift card identification." } ] }, "docs": "Returns information for a specific gift card from a gift card provider.\r\n\r\n> ℹ️ This request is made from VTEX to the gift card payment provider.\r\n\r\n## Permissions\r\n\r\nCheck with your service provider to know what permissions are needed." }, { "info": { "name": "VTex Create a gift card", "type": "http" }, "http": { "method": "POST", "url": "https://{providerApiEndpoint}/giftcards", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Accept", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a gift card for a specific user in a gift card provider.\r\n\r\n> ℹ️ This request is made from VTEX to the gift card payment provider.\r\n\r\n## Permissions\r\n\r\nCheck with your service provider to know what permissions are needed." } ] } ], "bundled": true }