Squad API Documentation
Search…
Home
Payments
Webhook
Virtual Accounts
Test Cards
Powered By
GitBook
Webhook
Webhooks are used so that anytime an event occurs on your account, your application can be notified with instant, real-time notifications by Squad.
Squad webhooks are HTTP calls that are triggered by specific events. It is necessary only for behind-the-scenes transactions.
This can be set up on your Squad Dashboard by specifying a URL we would send POST requests to whenever a successful transaction occurs.
To process notifications, you need to:
Paste your
Callback/Webhook URL
in the space provided on your dashboard.
Login to your Squad dashboard.
Go to Profile > API & Webhook.
In the Webhook URL field, enter your Notification URL.
Enter a redirect URL for your customers to be redirected after they complete payment. Note: The Redirect URL is optional.
To configure webhook notifications: go to
dashboard > profile > Api & Webhooks.
Sample POST request to be sent via webhook upon successful transaction
1
{
2
"Event": "Charge.Successful",
3
"TransactionRef": "SQCHIZ451029107631",
4
"Body": {
5
"amount": 10000,
6
"transaction_ref": "SQCHIZ451029107631",
7
"transaction_status": "Success",
8
"email": "
[email protected]
",
9
"currency": "NGN",
10
"transaction_type": "Card",
11
"created_at": "2022-06-24T09:38:44.31",
12
"customer_mobile": null
13
}
14
}
Copied!
Previous
Squad Payment Modal
Last modified
1d ago
Copy link