Documentation
Feedback
Guides
API Reference

API Reference
Filter By
Post
Get
Put
Delete
Patch

Giftcard Hub API

Check the new Payments onboarding guide. 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 Hub API allows interactions with all Gift card providers registered to a store from a single point.

Gift card providers are systems capable of providing cards to be used in the buying process.

The following is the sequence diagram that represents calls in the purchase closing process.

Checkout + Gateway: Systems responsible for the sale and for processing orders and payments.

Gift Card Hub: System responsible for managing multiple registered Gift card providers for a store.

Gift Card Provider: System responsible for providing the Gift cards available to the user not closing a purchase. This system can be implemented by third parties.

Gift card Hub API Index

Provider

Transaction

Endpoints

Provider

SummaryMethodPath
List all gift card providersGET/api/giftcardproviders
Get a gift card provider by IDGET/api/giftcardproviders/{giftCardProviderId}
Create or update a gift card provider by IDPUT/api/giftcardproviders/{giftCardProviderId}
Delete a gift card provider by IDDELETE/api/giftcardproviders/{giftCardProviderId}

Transaction

SummaryMethodPath
Create a gift card at a gift card providerPOST/api/giftcardproviders/{giftCardProviderId}/giftcards
Get a gift card from a gift card providerPOST/api/giftcardproviders/{giftCardProviderId}/giftcards/_search
Get a gift card from a gift card provider by IDGET/api/giftcardproviders/{giftCardProviderId}/giftcards/{giftCardId}
List all gift card transactionsGET/api/giftcardproviders/{giftCardProviderId}/giftcards/{giftCardId}/transactions
Create a gift card transactionPOST/api/giftcardproviders/{giftCardProviderId}/giftcards/{giftCardId}/transactions
Get a gift card transaction by IDGET/api/giftcardproviders/{giftCardProviderId}/giftcards/{giftCardId}/transactions/{transactionId}
Get a gift card transaction authorizationGET/api/giftcardproviders/{giftCardProviderId}/giftcards/{giftCardId}/transactions/{tId}/authorization
List all gift card transactions settlementsGET/api/giftcardproviders/{giftCardProviderId}/giftcards/{giftCardId}/transactions/{tId}/settlements
Settle a gift card transactionPOST/api/giftcardproviders/{giftCardProviderId}/giftcards/{giftCardId}/transactions/{tId}/settlements
List all gift card transactions cancellationsGET/api/giftcardproviders/{giftCardProviderId}/giftcards/{giftCardId}/transactions/{tId}/cancellations
Cancel a gift card transactionPOST/api/giftcardproviders/{giftCardProviderId}/giftcards/{giftCardId}/transactions/{tId}/cancellations

Loading API specification...