The Dintero wallet services support batch creation of gift cards. Use this when you need to pre-generate cards for printing before they are sold and activated. A typical example is a retail chain ordering a batch of physical gift cards from a card manufacturer. The cards are printed with the token and PIN, distributed to stores, and activated individually at the point of sale when a customer purchases one.Documentation Index
Fetch the complete documentation index at: https://docs.dintero.com/llms.txt
Use this file to discover all available pages before exploring further.
Create a batch of gift cards
Create 2 unactivated gift cards for printinginactive and carry no balance.
The
card_token and pin for each card are included in the response and will
not be retrievable again after this call. Store or forward them immediately
for printing.Activate a gift card
When a card is sold, activate it using:inactive to unused and sets the balance. All
fields are optional except amount and currency:
| Field | Description |
|---|---|
| amount / currency | Required. Initial balance loaded onto the card |
| customer_id | Associate the card with a customer at point of sale |
| active_from | Defaults to the time of activation if omitted |
| expires_at | Omit if the card should not expire |
| metadata | Recommended — include the transaction that sold the card |
Cards in
inactive status cannot be used for payment.