Skip to content

Webhook API

jeffsb edited this page Mar 27, 2013 · 3 revisions

#(THIS API IS IN DEVELOPMENT)

#Synchronous Order System

When a user completed a transaction, we will POST to a url of your choice (Order URL) with

{
    order_id: string, //ScoreBig order Id
    ticket_id: string, //your ticket id)
    section: string,
    row: string,
    quantity: number,
    bid: number //Price per ticket paid
}

Your system must return with the following:

{
    seat_numbers: string, //Comma-separated list of seat numbers
    show_now: boolean, //true if you can ship the tickets immediately
    ship_date: string, //Ship date in the case where ShipNow is false
    eticket_files: string //comma-separated list of base64 PDF files
}

Our system will then HTTP POST to your system (Confirmation URL) with the following information:

{
    order_id: string, //Our order Id
    ticket_id: string, //Your ticketblock id
    success: boolean, //true if your confirmation was valid
    tracking_number: string //Airbill number if applicable
}

Clone this wiki locally