[Omise] An example of the «refund.create» event (being sent to a webhook)

webhook
payment
refund
omise
omise-webhook-event
webhook-event-refund

(Dmitry Fedyuk) #1
{
	"object": "event",
	"id": "evnt_test_56p1c9obq5fr6dlkhge",
	"livemode": false,
	"location": "/events/evnt_test_56p1c9obq5fr6dlkhge",
	"key": "refund.create",
	"created": "2017-01-17T13:07:24Z",
	"data": {
		"object": "refund",
		"id": "rfnd_test_56p1c9mjwmxaaxm4lbg",
		"location": "/charges/chrg_test_56p1bh0a41rrhvbl3ob/refunds/rfnd_test_56p1c9mjwmxaaxm4lbg",
		"amount": 305660,
		"currency": "thb",
		"voided": true,
		"charge": "chrg_test_56p1bh0a41rrhvbl3ob",
		"transaction": "trxn_test_56p1c9n3dt48q7t83bk",
		"created": "2017-01-17T20:07:24+07:00"
	}
}

(Dmitry Fedyuk) #2

See also: