Webhooks
Webhooks allow your application to listen to the following events from Bumper:
Applied
The customer has applied for PayLater
Signed
The customer has added card details and been accepted
Updated
The application has been updated
Cancelled
The application has been cancelled
Event Header
Event Header Parameters
Param
Type
Description
X-Signature
String
A signature is created by using a sorted string of all parameters in the event body with the format “{PARAMETER}={value}&” . Parameter key should be upper-cased and value is provided as is.
The sorted string is then hashed (HMAC-SHA256) to form the signature.
Event Body
Event Body Parameters
Param
Type
Description
event_timestamp
String
timestamp: yyyy-mm-dd hh:mm:ss
event_id
String
This is the event ID
event_value
String
APPLIED
SIGNED
UPDATED
CANCELLED
payment_type
String
paynow
paylater
payment_status
String
Payment Type: paynow
pending – Waiting on customer action
completed – Payment made
failed – Payment Failed
cancelled – Payment cancelled
error – Unknown reason, error returned
Payment Type: paylater
pending - Application not started
inprogress - Application in progress, customer has applied
completed - Payment complete
failed - Customer failed application
cancelled - Application has been cancelled
error - Error has occurred
payment_token
String
Application / Payment token returned in response
payment_reference
String
This is order_reference sent with request
amount
String
This is the amount sent with request for customer to pay
min_amount_allowed
String
The min amount allowed by customer
max_amount_allowed
String
The max amount allowed by customer
additional_data
Object
Optional object that can contain keys and values set by supplier. These are sent to Bumper in creation API endpoint.
If additional_data
is not provided during application/payment creation key will not be returned in payload.
min_amount_allowed, max_amount_allowed should be ignored if payment_type is paynow.
Last updated