Generate electronic gift cards from your partner wallet and associate them with your gift campaign
Request
Add parameter in header x-api-key
Example:x-api-key: ********************
or
Body Params application/jsonRequired
{
"numCards": 1,
"price": 0.01
}
Request Code Samples
curl --location --request POST 'https://jdm-616556849502.europe-west1.run.app/jdm/ecards/generate' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"numCards": 1,
"price": 0.01
}'
Responses
{
"eCards": [
{
"Code": "string",
"ECardCost": 0,
"PurchaseDate": "string",
"ShortenedURL": "string",
"IsFullyConsumed": true
}
],
"status": "string"
}
Modified at 2025-09-01 15:20:09