I created a gift card through the API and now I need to add a balance to this gift card. What is the required procedure and which endpoint should I use?
I found out how the procedure is done.
1- Make a POST request to this endpoint:
https://sualoja.myvtex.com/api/giftcards/{giftcardid}/transactions
2- In the body, send the following information:
{
“operation”: “Credit”,
“value”: 20,
“description”: “teste”,
“redemptionToken”: “token generated when we create a gift card”,
“redemptionCode”: “token generated when we create a gift card”
}