Pricing

Events


Index:

Call: admin.paydro.com/events/index.json.


[id] Id of the event
[name] Name of event
[venue]
[start_date], [end_date] 
[currency] Supported are USD or EUR
[type] Always 'standard'
[status] 0 = closed, 1 = open, 3 = test
[created], [modified]
[online_event] Is the event online or not?
[background] The background/header image

Note: this call only shows the last 25 events.

Get the next 25 events: admin.paydro.com/events/index/page:2.json
Get 200 events in one request: admin.paydro.com/events/index/limit:200.json


View:

Call: admin.paydro.com/[event-id]/events/view.json.


Add:

Call: admin.paydro.com/events/add.json.

Method: POST.

Content-type: application/x-www-form-urlencoded.

Validation checks:.

[name] not empty
[type] (non-editable) Options: 'standard'
[start_date], [end_date]  valid date
[country] County code in Alpha-2 According to ISO 3166 http://en.wikipedia.org/wiki/ISO_3166
[shopLanguage] Options: 'dut', 'eng'
[currency] (non-editable) Options: 'EUR', 'USD' 
[email_name] Not empty
[email_mail] Valid email address
[footer_message] Not Empty
[site] valid URL

POST data.

data[Event][name]:'My event name'

data[Event][start_date]: YYYY-MM-DD HH:II
data[Event][end_date]: YYYY-MM-DD HH:II

data[Event][online_event]:0
  (Int, option) 0: not online, 1: Online event
if (data[Event][online_event] == 0) {
	data[Event][venue]:'standard'
	data[Event][address]:'standard'
	data[Event][zip]:'standard'
	data[Event][city]:'standard'
}
data[Event][country]:'NL' //country code

/*
 * shop settings
 */
data[Event][public]:'1'
  (int, option) 0: can only place an order with a promocode, 1: Default, anybody can place an order
data[Event][shopLanguage]:'dut'
  (option): dut, eng, eng_us
data[Event][currency]:'EUR'
  (option, non-editable) 'EUR', 'USD'
data[Event][show_promocode]:'1'
  (int, option) 0: Default, show input box on shop to enter promocode, 0: don't show it
data[Event][show_attendee_list]:'1' //depricated
  (int, option) 0: don't show list, 1: Default, show list of customers
data[Event][show_list_treshold]:'25' //depricated
  (int) Show list when N number of customers is reached
data[Event][show_availability]:'1'
  (int, option) 0: Default, don't show how many tickets are still available, 1: do show it
data[Event][show_email_list]:'1'
  (int, option) 0: Default, allow customers to sign up for a mailing list when the shop is sold out, 1: allow it
data[Event][anonymous_multiple_tickets]:'0' // register tickets by name 1 for multi ticket order on one name
  (int, option) 0: Default, all tickets require individual name registration, 1: the customer only needs to fill out the information for a ticket once
data[Event][nonpaidtickets]:'1'
  (int, options) 0: Default, tickets are sent to the customer once the order is paid, 1: always send tickets along with the email

/*
 * VAT settings
 */
data[Event][vat]:'21'
data[Event][incVAT]:'0' // show prices in shop with or without VAT included

/*
 * Payment settings
 */
data[Event][customer_pays_fee]:'0'
  (int, option) 0: Default, Transaction fees includes in price, 1: Transaction fee is added to the total amount
data[Event][onlyPayOnline]:'0' // 1 means invoice payments are disabled
data[Event][noCreditCard]:'0' // 1 means credit cards will be disabled, if you disable cc and invoice payments, a customer might not be able to pay at all

/*
 * Shop text settings
 */
data[Event][text_above_shop]:""

/*
 * Social invite settings
 */
data[Event][text_invite_page]:"" // motivation text to send invite;

/*
 * Contact information
 */
data[Event][email_name]:'name'
data[Event][email_mail]:'email@email.com'
data[Event][footer_message]:'0' // can be anything for contact info, tel number for instance etc
data[Event][site]:'http://site.com' // valid site address, to direct customer to for more information

data[Event][analytics]:'C0D3' // GA code, for statistics and e-commerce integration

Response OK.

OK:true
id:new_event_id

Edit:

Call: admin.paydro.net/[event_id]/events/edit.json.

Method: POST.

POST data.

Same as add, except for non-editable fields.

data[Event][type]: [non-editable]
data[Event][currency]: [non-editable]

Duplicate:

Call: admin.paydro.net/events/duplicate.json.

Method: POST.

POST data.

data[Event][origin_id]: event id you want to copy
data[Event][name]: new name
data[Event][start_date]: yyyy-mm-dd hh:ii
data[Event][end_date]: yyyy-mm-dd hh:ii

data[Product]: [product_id, ...] (optional, if not given, all tickets are copied)
data[Promocode]: [promocode_id, ...] (optional, if not given, all promocodes are copied)

Response OK.

OK:true
id:new_event_id

Delete:

Call: admin.paydro.com/[event-id]/delete.json.

Response Error.

no_valid_event_id

Response OK.

true

Edit payment information:

Call: admin.paydro.com/[event-id]/events/payment.json.

Method: POST.

Content-type: application/x-www-form-urlencoded.

Validation checks:.

[billing_incremental_start]: Integer
[vat_number]: Any value // is checked ad VIES
[bank_country]: County code in Alpha-2 According to ISO 3166 http://en.wikipedia.org/wiki/ISO_3166

POST data.

data[Event][billing_incremental_start]:'1000'
data[Event][reference]:'reference'
data[Event][account_number]:'123456'
data[Event][account_holder]:'account name'
data[Event][payment_address]:"address\nzip code"
data[Event][vat_number]:'NL123456' // is checked ad VIES

data[Event][swift]:'swift/bic'
data[Event][iban]:'IBAN'
data[Event][payment_bank]:'bank names'
data[Event][bank_address]:"bank\naddress"
data[Event][bank_country]:'NL'

data[Event][enableInvoicePayments]: '1=enabled; 0=disabled'

Response OK.

OK:true