âī¸Order a gift card
Order a gift card
POST
https://sandbox.pgecom.com/api/v1/giftcards
Request Body
Name | Type | Description |
---|---|---|
fullName* | String | The full name of the recipient |
email* | String | The recipient email. Please note that the gift card will be sent to this email. Make sure that it's correct |
id | Number | The gift card id from the list of gift cards |
amount | Number | The amount in usd that you'd like to send to the user |
delivery | String | How fast you want the gift cards. Most giftCards are instant but you can also choose how you want to send them (ex: standard, regular, express, urgent, or instant) |
phone | String | The phone number of the recipient |
quantity | String | The quantity of gift cards that you'd like to order |
webhookUrl | String | This will receive post a request with the following values when the gift card is complete - orderId - status - transactionId - currency - token
|
metadata | Object | An object of additional values that you'd like to retrieve on the order |
Last updated