vtex.local – Giftcard-API
ℹ️ Onboarding guide
Check the new . We created this guide to improve the onboarding experience for developers at VTEX. It assembles all documentation on our Developer Portal about Payments and is organized by focusing on the developer's journey.
The Gift Card is a payment method configured as a cash value associated with a client. It is used to grant a discount on the value of the order at the store.
⚠ A Gift Card works as a payment method, not a promotion.
- Homepage
- https://api.apis.guru/v2/specs/vtex.local:Giftcard-API/1.0.json
- Provider
- vtex.local:Giftcard-API / Giftcard-API
- OpenAPI version
- 3.0.0
- Spec (JSON)
- https://api.apis.guru/v2/specs/vtex.local/Giftcard-API/1.0/openapi.json
- Spec (YAML)
- https://api.apis.guru/v2/specs/vtex.local/Giftcard-API/1.0/openapi.yaml
Tools (13)
Extracted live via the executor SDK.
-
giftCard.createGiftCardCreates a GiftCard for a specific user
-
giftCard.getGiftCardbyIdReturns associated data for a specified giftcardId.
-
giftCard.getGiftCardusingJsonReturns the giftcards based on the cart data.
-
transaction.cancelGiftCardTransactionCreates a cancellation in the transaction. Cancel a item reservation or create a refund.
-
transaction.createGiftCardTransactionRegister a new giftcard transaction and authorize the item reservation.
-
transaction.getGiftCardTransactionbyId -
transaction.getGiftCardTransactionsReturns all transaction of a giftcard.
-
transaction.getTransactionAuthorizationsReturns the giftcard transaction authorizations.
-
transaction.getTransactionCancellationsReturns the giftcard transaction cancellations.
-
transaction.getTransactionSettlementsReturns the giftcard transaction settlements.
-
transaction.settleGiftCardTransactionCreates a giftcard transaction settlement.
-
openapi.previewSpecPreview an OpenAPI document before adding it as a source
-
openapi.addSourceAdd an OpenAPI source and register its operations as tools