You can create and issue a gift card
Request
Body Params application/json
{
"templateId": "string",
"amount": 0,
"currencyCode": 36,
"notificationOptions": [
{
"notificationChannel": 0,
"sendDateTime": "2019-08-24T14:15:22Z",
"textContent": "string",
"phone": "string",
"email": "string"
}
]
}
Request Code Samples
curl --location --request POST 'https://sandbox.api.confirmapay.com//v1/gift-card/payment-channel/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"templateId": "string",
"amount": 0,
"currencyCode": 36,
"notificationOptions": [
{
"notificationChannel": 0,
"sendDateTime": "2019-08-24T14:15:22Z",
"textContent": "string",
"phone": "string",
"email": "string"
}
]
}'
Responses
{
"data": {
"id": "string",
"balance": 0,
"issuedAt": "2019-08-24T14:15:22Z",
"expiresAt": "2019-08-24T14:15:22Z",
"currencyCode": 36,
"status": 100,
"reloadable": true,
"loadable": true,
"pin": "string",
"pinRequired": true
},
"description": {
"code": "string",
"message": "string"
},
"narrative": {
"code": "string",
"message": "string"
}
}
Modified at 2025-11-24 05:00:19