List all available payment methods
Returns all payment methods (such as Visa, Master, among others) that can be used in your store.
Permissions
Any user or API key must have at least one of the appropriate License Manager resources to be able to successfully run this request. Otherwise they will receive a status code 403 error. These are the applicable resources for this endpoint:
| Product | Category | Resource |
|---|---|---|
| PCI Gateway | Payment-Make Payments | View Payment Data |
There are no applicable predefined roles for this resource list. You must create a custom role and add at least one of the resources above in order to use this endpoint. To learn more about machine authentication at VTEX, see Authentication overview.
❗ To prevent integrations from having excessive permissions, consider the best practices for managing API keys when assigning License Manager roles to integrations.
Query parameters
Sales channel (trade policy) identification. This parameter must be filled in if you wish to obtain information on payment methods available in a specific store sales channel.
Headers
Type of the content being sent.
HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.
Response
OK
Changes
Changed in 3 of the 52 revisions of this API.13
- ○
added the new optional
queryrequest parametersalesChannelnew-optional-request-parameter
- ○
- ○
the endpoint scheme security
VtexIdclientAutCookiewas added to the APIapi-security-added
- ○
the endpoint scheme security
appKey AND appTokenwas added to the APIapi-security-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
the
items/idresponse's property type/format changed fromstring/tonumber/for status200response-property-type-changed
- ▲