{ "opencollection": "1.0.0", "info": { "name": "VTex Anti-fraud Provider Account Configuration API", "version": "1.0" }, "items": [ { "info": { "name": "Configuration", "type": "folder" }, "items": [ { "info": { "name": "VTex Get orderForm configuration", "type": "http" }, "http": { "method": "GET", "url": "https://{providerApiEndpoint}/api/checkout/pvt/configuration/orderForm", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Accept", "value": "" } ] }, "docs": "Retrieves the settings that are currently applied to every orderForm in the account.\n\r\n\rThese settings are defined by the request [Update orderForm configuration](https://developers.vtex.com/docs/api-reference/checkout-api#post-/api/checkout/pvt/configuration/orderForm).\n\r\n\rAlways use this request to retrieve the current configuration before performing an update. By doing so you ensure that you are modifying only the properties you want.\r\n\r\n## Permissions\r\n\r\nAny user or [application key](https:/" }, { "info": { "name": "VTex Update orderForm configuration", "type": "http" }, "http": { "method": "POST", "url": "https://{providerApiEndpoint}/api/checkout/pvt/configuration/orderForm", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Accept", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Determines settings that will apply to every orderForm in the account.\n\r\n\rFor example, if you create an app using this request, every orderForm of this account will have the custom fields created though it.\n\r\n\r>ℹ️ Always retrieve the current configuration before performing an update to ensure that you are modifying only the properties you want. Otherwise, old values can be overwritten. To retrieve the current configuration, use the request [Get orderForm configuration](https://developers.vtex.co" }, { "info": { "name": "VTex Get window to change seller", "type": "http" }, "http": { "method": "GET", "url": "https://{providerApiEndpoint}/api/checkout/pvt/configuration/window-to-change-seller", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Accept", "value": "" } ] }, "docs": "Retrieves a marketplace's window to change seller, that is, the period when it is possible to choose another seller to fulfill a given order after the original seller has canceled it.\n\r\n\r> The default period for this window is of 2 days, but it can be configured by the request Update window to change seller.\r\n\r\n## Permissions\r\n\r\nAny user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-keys) must have at least one of the appropriate [License Manag" }, { "info": { "name": "VTex Update window to change seller", "type": "http" }, "http": { "method": "POST", "url": "https://{providerApiEndpoint}/api/checkout/pvt/configuration/window-to-change-seller", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Accept", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates a marketplace's window to change seller, that is, the period when it is possible to choose another seller to fulfill a given order after the original seller has canceled it.\n\r\n\r> It is possible to check the current window using the request Get window to change seller.\r\n\r\n## Permissions\r\n\r\nAny user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-keys) must have at least one of the appropriate [License Manager resources](https://help.vtex.c" }, { "info": { "name": "VTex Clear orderForm messages", "type": "http" }, "http": { "method": "POST", "url": "https://{providerApiEndpoint}/api/checkout/pub/orderForm/:orderFormId/messages/clear", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Accept", "value": "" } ], "params": [ { "name": "orderFormId", "value": "", "type": "path", "description": "ID of the orderForm corresponding to the cart whose messages you want to remove." } ], "body": { "type": "json", "data": "{}" } }, "docs": "This request removes all messages from the `messages` field of the orderForm , leaving it empty.\r\n\r\nYou must send an empty JSON in the body of the request.\r\n\r\nThe [orderForm](https://developers.vtex.com/docs/guides/orderform-fields) is the data structure which represents a shopping cart and contains all information pertaining to it. Hence, the `orderFormId` is the identification code of a given cart.\r\n\r\n**Important**: **Request Body** must always be sent with empty value \"{ }\" in this endpoint.\r" }, { "info": { "name": "VTex List all affiliations", "type": "http" }, "http": { "method": "GET", "url": "https://{providerApiEndpoint}/api/pvt/affiliations", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Accept", "value": "" } ] }, "docs": "Returns all affiliations (payment and anti-fraud providers) that are already configured in your store.\r\n\r\n## Permissions\r\n\r\nAny user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-keys) must have at least one of the appropriate [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3) to be able to successfully run this request. Otherwise they will receive a status code `403` error. These ar" }, { "info": { "name": "VTex Insert new affiliation", "type": "http" }, "http": { "method": "POST", "url": "https://{providerApiEndpoint}/api/pvt/affiliations", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Accept", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Registers a new affiliation (payment or anti-fraud provider) in your store.\r\n\r\n## Permissions\r\n\r\nAny user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-keys) must have at least one of the appropriate [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3) to be able to successfully run this request. Otherwise they will receive a status code `403` error. These are the applicable resources " }, { "info": { "name": "VTex Get affiliation by ID", "type": "http" }, "http": { "method": "GET", "url": "https://{providerApiEndpoint}/api/pvt/affiliations/:affiliationId", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Accept", "value": "" } ], "params": [ { "name": "affiliationId", "value": "", "type": "path", "description": "Affiliation (payment or anti-fraud provider) identification." } ] }, "docs": "Returns data for a specific affiliation (payment or anti-fraud provider).\r\n\r\n## Permissions\r\n\r\nAny user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-keys) must have at least one of the appropriate [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3) to be able to successfully run this request. Otherwise they will receive a status code `403` error. These are the applicable resources fo" }, { "info": { "name": "VTex Update affiliation by ID", "type": "http" }, "http": { "method": "PUT", "url": "https://{providerApiEndpoint}/api/pvt/affiliations/:affiliationId", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Accept", "value": "" } ], "params": [ { "name": "affiliationId", "value": "", "type": "path", "description": "Affiliation (payment or anti-fraud provider) identification." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates information about an affiliation (payment or anti-fraud provider) configured in your store.\r\n\r\n## Permissions\r\n\r\nAny user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-keys) must have at least one of the appropriate [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3) to be able to successfully run this request. Otherwise they will receive a status code `403` error. These are t" }, { "info": { "name": "VTex List all payment rules", "type": "http" }, "http": { "method": "GET", "url": "https://{providerApiEndpoint}/api/pvt/rules", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Accept", "value": "" } ] }, "docs": "Returns all payment rules applied to the payment providers configured in your store.\r\n\r\n## Permissions\r\n\r\nAny user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-keys) must have at least one of the appropriate [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3) to be able to successfully run this request. Otherwise they will receive a status code `403` error. These are the applicable r" }, { "info": { "name": "VTex Insert a new payment rule", "type": "http" }, "http": { "method": "POST", "url": "https://{providerApiEndpoint}/api/pvt/rules", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Accept", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new payment rule to be applied to the payment providers configured in your store.\r\n\r\n## Permissions\r\n\r\nAny user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-keys) must have at least one of the appropriate [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3) to be able to successfully run this request. Otherwise they will receive a status code `403` error. These are the appli" }, { "info": { "name": "VTex Get payment rule by ID", "type": "http" }, "http": { "method": "GET", "url": "https://{providerApiEndpoint}/api/pvt/rules/:ruleId", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Accept", "value": "" } ], "params": [ { "name": "ruleId", "value": "", "type": "path", "description": "Rule identification." } ] }, "docs": "Returns data for a specific payment rule applied to the payment providers configured in your store.\r\n\r\n## Permissions\r\n\r\nAny user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-keys) must have at least one of the appropriate [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3) to be able to successfully run this request. Otherwise they will receive a status code `403` error. These are t" }, { "info": { "name": "VTex Update payment rule by ID", "type": "http" }, "http": { "method": "PUT", "url": "https://{providerApiEndpoint}/api/pvt/rules/:ruleId", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Accept", "value": "" } ], "params": [ { "name": "ruleId", "value": "", "type": "path", "description": "Rule identification." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates information about a specific payment rule applied to the payment providers configured in your store.\r\n\r\n## Permissions\r\n\r\nAny user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-keys) must have at least one of the appropriate [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3) to be able to successfully run this request. Otherwise they will receive a status code `403` error. Th" }, { "info": { "name": "VTex Delete payment rule by ID", "type": "http" }, "http": { "method": "DELETE", "url": "https://{providerApiEndpoint}/api/pvt/rules/:ruleId", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Accept", "value": "" } ], "params": [ { "name": "ruleId", "value": "", "type": "path", "description": "Rule identification." } ] }, "docs": "Deletes a specific payment rule applied to the payment providers configured in your store.\r\n\r\n## Permissions\r\n\r\nAny user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-keys) must have at least one of the appropriate [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3) to be able to successfully run this request. Otherwise they will receive a status code `403` error. These are the applic" }, { "info": { "name": "VTex List all available payment methods", "type": "http" }, "http": { "method": "GET", "url": "https://{providerApiEndpoint}/api/pvt/merchants/payment-systems", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Accept", "value": "" } ] }, "docs": "Returns all payment methods (such as Visa, Master, among others) that can be used in your store.\r\n\r\n## Permissions\r\n\r\nAny user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-keys) must have at least one of the appropriate [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3) to be able to successfully run this request. Otherwise they will receive a status code `403` error. These are the " } ] } ], "bundled": true }