Get payment rule by ID
Returns data for a specific payment rule applied to the payment providers configured 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.
Path parameters
Rule identification.
Headers
Type of the content being sent.
HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.
Response
OK
Example response
{
"paymentSystem": {
"id": 1
},
"deadlines": [
{
"paymentOptions": [
{
"days": 30
}
]
}
]
}Changes
Changed in 9 of the 52 revisions of this API.142
- ○
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
deadlines/items/response's property type/format changed from/toobject/for status200response-property-type-changed
- ▲
the
salesChannels/items/response's property type/format changed from/toobject/for status200response-property-type-changed
- ▲
- ▲
the response property
installmentOptions/installments/items/interestTaxbecame nullable for the status200response-property-became-nullable
- ▲
- ▲
the response property
dateIntervalsbecame nullable for the status200response-property-became-nullable
- ▲
- ▲
the response property
countrybecame nullable for the status200response-property-became-nullable
- ▲
- ▲
the response property
conditionbecame nullable for the status200response-property-became-nullable
- ▲
the response property
connectorbecame nullable for the status200response-property-became-nullable
- ▲
- ▲
the
paymentSystem/idresponse's property type/format changed fromstring/tonumber/for status200response-property-type-changed
- ▲
- ▲
the response property
antifraudbecame nullable for the status200response-property-became-nullable
- ▲
the response property
installmentOptions/installments/items/ruleIdbecame nullable for the status200response-property-became-nullable
- ▲
the
paymentSystem/idresponse's property type/format changed fromnumber/tostring/for status200response-property-type-changed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the response's body type/format changed from
array/toobject/for status200response-body-type-changed
- ▲
the
country/isoCoderesponse's property type/format changed fromnumber/tostring/for status200response-property-type-changed
- ▲
the
dateIntervals/items/endresponse's property type/format changed fromnumber/tostring/for status200response-property-type-changed
- ▲