Webhooks
To receive notifications about various events that occur while a ticket is being processed, you will need to set up an endpoint that accepts payloads sent by TapSNDR. Your endpoint will receive POST requests with content-type application/json.
Configuring the webhook endpoint
The webhook endpoint can be set up on Ticket Portal -> Webhooks -> Webhook URL.
Events
The following events are available:
Be sure to click on each event to see the respective return data.
Ticket Complete Event
{
"type": "ticket_completed",
"ticket": {
"id": 1,
"ticket_id": "ABCD-EFGH-IJKL",
"amount": 100,
"game": "Golden Dragon",
"game_id": "M-123-456-789",
"facebook_name": "John Doe",
"payment_method": "Cash App",
"payment_tag": "$johndoe",
"account_name": "John Doe",
"payment_images": [
"https://example.com/payment1.jpg",
"https://example.com/payment2.jpg"
]
}
}Ticket Reported Event
{
"type": "ticket_reported",
"ticket": {
"id": 1,
"ticket_id": "ABCD-EFGH-IJKL",
"amount": 100,
"game": "Golden Dragon",
"game_id": "M-123-456-789",
"facebook_name": "John Doe",
"payment_method": "Cash App",
"payment_tag": "$johndoe",
"account_name": "John Doe"
}
}Updated 20 days ago
Did this page help you?
