Improved
Payments Gateway API: Deprecation of payment information routes
February, 18

To improve payment information management in the VTEX Payments Gateway API, the following routes will be deprecated on April 1, 2025:

METHODROUTES
POSThttps://{accountName}.vtexcommercestable.com.br/api/payments/pub/transactions/{transactionId}/payments
POSThttps://{accountName}.vtexcommercestable.com.br/api/payments/pvt/transactions/{transactionId}/payments

What has changed?

Previously, merchants could use one of the following endpoints to forward payment information to VTEX:

METHODROUTES
POST2.1 Send payments information public https://{accountName}.vtexpayments.com.br/api/pub/transactions/{transactionId}/payments
POST2.2 Send payments with saved credit card https://{accountName}.vtexpayments.com.br/api/pvt/transactions/{transactionId}/payments
POSThttps://{accountName}.vtexcommercestable.com.br/api/payments/pub/transactions/{transactionId}/payments
POSThttps://{accountName}.vtexcommercestable.com.br/api/payments/pvt/transactions/{transactionId}/payments

From April 1, 2025, the VTEX Payments Gateway API will only accept requests made through the endpoints 2.1 Send payments information public and 2.2 Send payments with saved credit card.

Requests made via deprecated routes will be blocked, preventing the creation of the payment transaction and interrupting the purchase order flow. In this scenario, the message with status code 403 will be displayed.

What needs to be done?

Check whether any of your account's payment integrations are using the deprecated routes and make the following adjustments before April 1, 2025, if necessary:

FROMTO
https://{accountName}.vtexcommercestable.com.br/api/payments/pub/transactions/{transactionId}/payments2.1 Send payments information public https://{accountName}.vtexpayments.com.br/api/pub/transactions/{transactionId}/payments
https://{accountName}.vtexcommercestable.com.br/api/payments/pvt/transactions/{transactionId}/payments2.2 Send payments with saved credit card https://{accountName}.vtexpayments.com.br/api/pvt/transactions/{transactionId}/payments
Was this helpful?
Yes
No