Pricing

Orders


Index:

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

Call: admin.paydro.com/[event-id]/orders/page:1.json.

Call: admin.paydro.com/[event-id]/orders/page:2.json.

The order index is paginated by 100 orders.


View:

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

Event ID and Order ID have to match.


Edit:

Call: admin.paydro.com/[event-id]/orders/edit/[order-id].json.

Method: POST.

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

Validation checks:.

Valid Email address
County code in Alpha-2 According to ISO 3166 http://en.wikipedia.org/wiki/ISO_3166

POST data.

data[Order][id]:4eb3ec79-881c-4459-aa4a-39c5d5453078
data[Order][ponumber]:
data[Order][firstname]:Paydro
data[Order][lastname]:paydro
data[Order][email]:email@test.net
data[Order][phone]:
data[Order][company]:Company
data[Order][vatNumber]:
data[Order][address]:Address 17
data[Order][zipcode]:1018XV
data[Order][city]:Amsterdam
data[Order][state]:NH
data[Order][country]:NL

Response OK.

    true

Actions for invoice payments:

Call: admin.paydro.com/[event-id]/orders/[action]/[order-id].json.

resend: resend invoice to customer.

download: download the invoice.

pay: set invoice as paid.

cancel: cancel order, send credit invoice.

Response Error.

no_valid_id action_failed

Response OK.

true

Actions for online payments:

Call: admin.paydro.com/[event-id]/orders/[action]/[order-id].json.

resend: resend invoice to customer.

download: download the invoice.

refund: cancel and refund order.

Response Error.

no_valid_id
action_failed
no_valid_operation
cannot_cancel_or_refund

Response OK.

true

Reservations:

Call: admin.paydro.com/[event-id]/orders/index/reservation.json.

Get a list of all reservations..