Sign in

Authorize transaction (VTEX callback)

POST /mdw/vtex/giftcards/{giftcards}/transactions

VTEX calls this to reserve part of the giftcard balance during checkout. Guper validates the amount, locks the reservation against the cashback wallet and returns an authorizationId that VTEX will use to confirm (settlement) or release (cancellation).

Try-it values populated from environment ACME (Demo)


Request body

Content-Type: application/json

{
    "value": 1500,
    "requestId": "vtex-req-123"
}

Responses

{"authorizationId": "guper-auth-abc", "value": 1500, "requestId": "vtex-req-123"}
Copied to clipboard