Giftcard Hub API
Check the Payments onboarding guide for a journey-based overview of the Payments documentation available in the Developer Portal.
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.
Endpoints
Provider
| Summary | Method | Path |
|---|---|---|
| List all gift card providers | GET | /api/giftcardproviders |
| Get a gift card provider by ID | GET | /api/giftcardproviders/{giftCardProviderId} |
| Create or update a gift card provider by ID | PUT | /api/giftcardproviders/{giftCardProviderId} |
| Delete a gift card provider by ID | DELETE | /api/giftcardproviders/{giftCardProviderId} |
Transaction
| Summary | Method | Path |
|---|---|---|
| Create a gift card at a gift card provider | POST | /api/giftcardproviders/{giftCardProviderId}/giftcards |
| Get a gift card from a gift card provider | POST | /api/giftcardproviders/{giftCardProviderId}/giftcards/_search |
| Get a gift card from a gift card provider by ID | GET | /api/giftcardproviders/{giftCardProviderId}/giftcards/{giftCardId} |
| List all gift card transactions | GET | /api/giftcardproviders/{giftCardProviderId}/giftcards/{giftCardId}/transactions |
| Create a gift card transaction | POST | /api/giftcardproviders/{giftCardProviderId}/giftcards/{giftCardId}/transactions |
| Get a gift card transaction by ID | GET | /api/giftcardproviders/{giftCardProviderId}/giftcards/{giftCardId}/transactions/{transactionId} |
| Get a gift card transaction authorization | GET | /api/giftcardproviders/{giftCardProviderId}/giftcards/{giftCardId}/transactions/{tId}/authorization |
| List all gift card transactions settlements | GET | /api/giftcardproviders/{giftCardProviderId}/giftcards/{giftCardId}/transactions/{tId}/settlements |
| Settle a gift card transaction | POST | /api/giftcardproviders/{giftCardProviderId}/giftcards/{giftCardId}/transactions/{tId}/settlements |
| List all gift card transactions cancellations | GET | /api/giftcardproviders/{giftCardProviderId}/giftcards/{giftCardId}/transactions/{tId}/cancellations |
| Cancel a gift card transaction | POST | /api/giftcardproviders/{giftCardProviderId}/giftcards/{giftCardId}/transactions/{tId}/cancellations |