Notifications
ReceiptHero delivers webhook notifications on receipt and payment transaction arrival, as well as connection revoke events.
Last updated
POST <WEBHOOK_PATH> HTTP/1.1
Host: <WEBHOOK_HOST>
Authorization: Token <API_KEY>
Content-Type: application/json{
"notification_type":"receipt_notification",
"receipthero_id":"7350515d-0f15-4663-8430-cf4d7f4057a1",
"receipt_id":"93d22d66-f4bd-11e8-8eb2-f2801f1b9fd1",
"partner_metadata": {
"key1": "value1",
"key2": "value2"
}
}{
"notification_type":"transaction_notification",
"receipthero_id":"7350515d-0f15-4663-8430-cf4d7f4057a1",
"receipt_id":"93d22d66-f4bd-11e8-8eb2-f2801f1b9fd1",
"data": {
"merchant_name": "ReceiptHero Oy"
},
"partner_metadata": {
"key1": "value1",
"key2": "value2"
}
}{
"notification_type":"oauth_authorization_revoke",
"receipthero_id":"7350515d-0f15-4663-8430-cf4d7f4057a1",
"partner_metadata": {
"key1": "value1",
"key2": "value2"
}
}