v50

latestOpenAPI 3.0.0raw.githubusercontent.com2026-04-202547455.8 KB
Transaction process

Authorize new transaction

This request authorizes the creation of a new transaction according to the data previously informed in the last requests.

This step is the trigger to process each of payments that were received in step 2.

Each payment will be sent to acquirer. If all payments are authorized, the transaction will be authorized. If one of the payments is denied, all payments in transaction will be cancelled.

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:

ProductCategoryResource
PCI GatewayPayment-Make PaymentsProcess payments

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.

post/api/pvt/transactions/{transactionId}/authorization-request

Path parameters

transactionIdstring required
Example:A3BDE325F76B4B758B398D900DF06150

Transaction identification.

Headers

Content-Typestring required
Example:application/json

Type of the content being sent.

Acceptstring required
Example:application/json

HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.

Request body

transactionIdstring required

Transaction identification.

softDescriptorstring nullable required

Custom field for a transaction that can be displayed on the customer's invoice.

prepareForRecurrencyboolean required

Indicates whether the transaction supports recurrence.

Example request

{
  "transactionId": "7ECE7DF3EEE14647B05DB904164923E8",
  "softDescriptor": "company_name_description_code"
}

Response

OK

idstring nullable required

Settle request identification.

tokenstring required

Token identification.

statusnumber required

Status code.

statusDetailstring required

Status detail information.

processingDatestring required

Settlement processing date.

refundedValueinteger required

Refunded value.

refundedTokenstring nullable required

Refund operation token.

messagestring nullable required

Custom message.

codestring nullable required

Custom code.

connectorRefundedValuenumber required

Refunded value by connector (provider).

cancelledValueinteger required

Cancelled value.