SaukiPayDocs
IntegrationsAPI Integration

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.

Base URL

https://server.saukipay.net/api/v1

All 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/json

Payout 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

  1. Get your API keys from the Developer page of the merchant dashboard.
  2. Whitelist your server IPs for test and live mode.
  3. 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

MethodPathPage
POST/transaction/initTransactions
GET/transaction/verify/:referenceTransactions
GET/config/bank-listPayouts
POST/config/account-name-verifyPayouts
POST/transaction/add-payout-recipientPayouts
POST/transaction/init-payoutPayouts
GET/wallet/wallet-balanceWallet

On this page