Kyzpay
  1. JeudiMerci
Kyzpay
  • JeudiMerci
    • Generate E-Cards
      POST
    • Synchronize offers with partner API
      POST
    • Receive webhook events
      POST
    • List E-Cards
      GET
    • Get E-Card Details
      GET
    • Delete E-Card
      DELETE
  • Stats
    • Extract JDM Accounts
      POST
    • Download Export File
      GET
    • Ticket Statistics
      POST
  • Schemas
    • Schemas
      • AnotherEventTypeResource
      • ECardPurchaseRequest
      • ECardPurchaseResponse
      • Account
      • GiftCardPurchaseCompletedResource
      • ECardResponseTicket
      • AccountContact
      • HTTPValidationError
      • AccountCurrency
      • KyzPayCodeType
      • AccountsExtractResponse
      • KyzPayOfferDto
      • AccountsFilter
      • KyzPayOfferType
      • KyzPayUsageLocation
      • ValidationError
      • WebhookPayload
      • ExportFormat
      • GiftCardPurchaseFailedResource
      • MandateType
      • TicketFilter
      • TicketStatisticsResponse
  1. JeudiMerci

Generate E-Cards

POST
/jdm/ecards/generate
Generate electronic gift cards from your partner wallet and associate them with your gift campaign

Request

Authorization
API Key
Add parameter in header
x-api-key
Example:
x-api-key: ********************
or
Body Params application/jsonRequired

Example
{
    "numCards": 1,
    "price": 0.01
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
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

🟢200OK
application/json
Successful Response
Body

Example
{
    "eCards": [
        {
            "Code": "string",
            "ECardCost": 0,
            "PurchaseDate": "string",
            "ShortenedURL": "string",
            "IsFullyConsumed": true
        }
    ],
    "status": "string"
}
🟠422Parameter Error
Modified at 2025-09-01 15:20:09
Previous
JeudiMerci
Next
Synchronize offers with partner API
Built with