Overview
Accept payments, send payouts and pay bills using the Saukipay REST API.
The Saukipay API lets you integrate payments, payouts and bill payments directly into your own application. Every request must be authenticated and sent over HTTPS.
Try it out
Send live requests from the interactive API playground, with ready-made samples in JavaScript, Python, Java, Go, PHP and cURL.
Accept a payment
Initialize a checkout, then verify the payment from your backend.
Base URL
https://server.saukipay.net/api/v1All endpoint paths in these docs are relative to this base URL.
Authentication
Every request is authenticated with your secret key as a bearer token:
Authorization: Bearer <SECRET_KEY>
Content-Type: application/jsonPayout and bill payment requests must also carry an HMAC-SHA512 signature of the request payload, signed with your API key. It lets Saukipay confirm the request came from you and was not altered in transit.
Keep your secret key on the server
Never ship your secret key in a browser or mobile app. Call the Saukipay API from your backend only.
Security
- IP whitelisting. Set your test and live server IPs on the Developer page of the merchant dashboard before making requests. Requests from any other address are rejected by the firewall.
- Request signatures. HMAC signatures on payouts and bill payments guarantee both the authenticity and the integrity of the payload.
- HTTPS only. Plain HTTP requests are not accepted.
Before you start
- Get your API keys from the Developer page of the merchant dashboard.
- Whitelist your server IPs for test and live mode.
- Add your webhook URL so you are notified when payments and payouts complete.
Responses
Every response has the same envelope. A statusCode of "00" means the
request succeeded.
{
"status": "success",
"message": "Human-readable message",
"data": {
"statusCode": "00"
}
}Endpoints
| Method | Path | Page |
|---|---|---|
POST | /transaction/init | Transactions |
GET | /transaction/verify/:reference | Transactions |
GET | /config/bank-list | Payouts |
POST | /config/account-name-verify | Payouts |
POST | /transaction/add-payout-recipient | Payouts |
POST | /transaction/init-payout | Payouts |
GET | /wallet/wallet-balance | Wallet |