{
"order" : {
"number" : "wonder side unique id",
"reference_number" : "your side unique id",
...
"state" : "invoiced",
"correspondence_state" : "unpaid",
"line_items" : [
{
"uuid" : "wonder generated unique id",
"purchasable_type” : "Charge",
"price" : "your submitted charge_fee",
"quantity" : 1,
"total" : "price * quantity",
},
...
]
}
}
{"error_code" : "ET200002"}
{"error_code" : "ET200002"}
{"error_code" : "ET200002"}
{"error_code" : "ET200002"}
{"error_code" : "ET200002"}
{"error_code" : "ET200002"}
{"error_code" : "ET100309"}
{
"order" : {
...
"state" : "invoiced",
"correspondence_state" : "unpaid",
}
}
{
"order" : {
...
"state" : "invoiced",
"correspondence_state" : "paid",
"transactions: " [
{
"type" : "Sales",
"uuid": "transaction uuid",
"success" : true,
....
"payment_data" : {
"acquirer_type" : "follow acquier_type enum table",
...
}
}
]
}
}
{
"order" : {
...
"state" : "invoiced",
"correspondence_state" : "unpaid",
"transactions: " [
{
"type" : "Sales",
"uuid": "transaction uuid",
"success" : false,
....
}
]
}
}
{
"order" : {
...
"state" : "invoiced",
"correspondence_state" : "unpaid",
"transactions: " [
{
"type" : "Authorization",
"uuid": "transaction uuid",
"success" : true,
....
}
]
}
}
{
"order" : {
...
"state" : "invoiced",
"correspondence_state" : "paid",
"transactions: " [
{
"type" : "Capture",
"uuid" : "capture transaction uuid",
success: true,
...
},
{
"type" : "Sales",
"uuid": "transaction uuid",
"success" : true,
....
}
]
}
}
{
"order" : {
...
"state" : "invoiced",
"correspondence_state" : "unpaid",
"transactions: " [
{
"type" : "Sales",
"uuid": "transaction uuid",
"success" : true,
"voided" : true,
....
}
]
}
}
{
"order" : {
...
"state" : "invoiced",
"correspondence_state" : "refunded",
"transactions: " [
{
"type" : "Refund",
"uuid" : "capture transaction uuid",
success: true,
...
},
{
"type" : "Sales",
"uuid": "transaction uuid",
"success" : true,
....
}
]
}
}
{"error_code" : "ET100301"}
{"error_code" : "ET100301"}
{"error_code" : "ET100401"}
{"error_code" : "ET100301"}
{
"order" : {
...
"state" : "invoiced",
"correspondence_state" : "unpaid",
"transactions: " [
{
"type" : "Sales",
"uuid": "transaction uuid",
"success" : true,
"voided" : true,
....
}
]
}
}
{"error_code" : "EO100301"}
{"error_code" : "EO200005"}
{"error_code" : "EO200005"}
{"error_code" : "EO100301"}
{"error_code" : "EO200005"}
{"error_code" : "EO200005"}
{
"order" : {
...
"state" : "invoiced",
"correspondence_state" : "refunded",
"transactions: " [
{
"type" : "Refund",
"uuid" : "capture transaction uuid",
success: true,
...
},
{
"type" : "Sales",
"uuid": "transaction uuid",
"success" : true,
....
}
]
}
}
{"error_code" : "EO100301"}
{"error_code" : "EO100001"}
{"error_code" : "EO100001"}
{"error_code" : "EO100001"}
{"error_code" : "EO100401"}
{
"order" : {
...
"state" : "invoiced",
"correspondence_state" : "paid",
"transactions: " [
{
"type" : "Capture",
"uuid" : "capture transaction uuid",
success: true,
...
},
{
"type" : "Sales",
"uuid": "transaction uuid",
"success" : true,
....
}
]
}
}
{"error_code" : "EO100003"}
{"error_code" : "EO100003"}
{"error_code" : "EO100301"}
{"error_code" : "EO100301"}
{"error_code" : "ET200001"}
{"error_code" : "EO100401"}
{"error_code" : "ET200001"}
{"error_code" : "400001"}
{
"order" : {
...
"state" : "voided",
"correspondence_state" : "unpaid",
"transactions: " [
{
"type" : "Sales",
"uuid": "transaction uuid",
"success" : true,
"voided" : true
....
}
]
}
}
{"error_code" : "EO100307"}
{"error_code" : "EO100301"}
{"error_code" : "EO100301"}
{"error_code" : "EO200001"}
{"error_code" : "EO100307"}
Header X-Action: order.created, request body same as query Order
Header X-Action: order.paid, request body same as query Order
Header X-Action: order.payment_failure, request body same as query Order
Header X-Action: transaction.authorized, request body same as query Order
Header X-Action: transaction.voided, request body same as query Order
Header X-Action: order.refunded, request body same as query Order
Header X-Action: order.voided, request body same as query Order
The webhook server return 4xx http error
The webhook connected but processed over 60 seconds
{
"customer": {
"name": "customer.name",
"email": "customer.email",
"phone": "customer.phone",
"reference_number": "customer.reference_number",
"default_payment_method": "deflault_payment_method",
"default_payment_token":"default_payment_token"
}
}
{"error_code" : "EO200001"}
{"error_code" : "EO200001"}
{"error_code" : "EO200001"}