Webhook Definition

Webhooks are used to notify your system the moment an end-user completes a payment. Instead of polling for updates, your server will receive an HTTP POST request with the transaction details automatically.

Please remember that the nature of webhooks is asynchronous, no payload is expected as a result of sending you the event, only a 200 Status Code. Any code different from 200 will be interpreted as a failed attempt to inform you and will enter into a repetition cycle, please read the next section to acknowledge the amount of repetitions and spacing between them. Set up your callbackUrl through /v2/merchants/{merchantId}/webhook endpoint.

Data Structure

FieldDataTypeDescriptionLength
authorizationIdstringBlokko's authorization Id8
transactionUuidstringBlokko's unique identifier for the transaction36
merchantIdstringThe id you created for the transaction36
merchantReferencestringYour internal purchase reference36
transactionStatusstring"P" for pending "E" for Executed (finished)1
createdAtstringThe date time UTC when the transaction was created19
completedAtstringThe date time UTC when the payment was completed19

Repetitions Pattern

Upon failure of the Webhook interface of the Customer (different from SC 200) Blokko will follow a repetition pattern to inform the customer of an event.

AttemptSeconds
10
230
360
490