Kyzpay
  1. Stats
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. Stats

Ticket Statistics

POST
/jdm/tickets/statistics
Generate detailed statistics on JDM tickets with export capability

Request

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

Example
{
    "start_date": "2019-08-24T14:15:22Z",
    "end_date": "2019-08-24T14:15:22Z",
    "mandate_type": "coupon",
    "export_format": "string"
}

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/tickets/statistics' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "start_date": "2019-08-24T14:15:22Z",
    "end_date": "2019-08-24T14:15:22Z",
    "mandate_type": "coupon",
    "export_format": "string"
}'

Responses

🟢200OK
application/json
Successful Response
Body

Example
{
    "total_count": 0,
    "coupon_count": 0,
    "gift_count": 0,
    "consumed_count": 0,
    "active_count": 0,
    "expired_count": 0,
    "total_value": 0,
    "average_value": 0,
    "tickets_by_date": {
        "property1": 0,
        "property2": 0
    },
    "mandate_distribution": {
        "property1": 0,
        "property2": 0
    },
    "export_path": "string"
}
🟠422Parameter Error
Modified at 2025-09-01 15:20:10
Previous
Download Export File
Next
AnotherEventTypeResource
Built with