Dashboard

Subscribe to Service on Pila Dashboard here Click on Subscribe Button

API

This endpoint allows you to Subscribe to Pila’s webhook service

Request

[POST]
{{baseUrl}}api/v1/webhook/subscribe

Headers

HeaderTypeDescription
AppIdstringCreate an app to get your app ID on dashboard here
Authorizationstringprivate secret key

Body Params

ParameterTypeDescriptionRequired
webhookstringwebhook is the webhook url that allows Pila to send (i.e β€œpush”) data to your application as soon as an event occurs, Create a Test webhook url on webhook.site. Example https://webhook.site/db8ad2b6-91b6-485b-9761-e546b540ccf6required
servicestringType of service to subscribe to (e.g. card, ngn_wallet)required

Response

Response
{
 "entity": "Webhook added successfully"
}

Wallet Service notification

wallet
{
  "event": "deposit",
  "status": "COMPLETED",
  "environment": "production",
  "data": {
    "wallet_id": "e10xxxxx-xxxx-xxxxx-a26e-xxxxxxxx",
    "transaction_id": "Dojah-20220103060847147",
    "transaction_remarks": "deposit",
    "event_type": "wallet:event:inter",
    "transaction_date": "2022-01-18 13:34:45.992363+00:00"
  }
}

An active webhook allows Pila to send (i.e β€œpush”) data to your application as soon as an event occurs.