API Documentation

Use this platform as a middleware without exposing your keys to end users.

Ztake Proxy (Vendor Auth Required)

Configure your Ztake payout credentials in /profile. Then call the proxy to forward any Ztake Payout API request.

POST /api/vendor/payout-proxy?path=/v2/transfers
Authorization: Bearer <jwt>
Content-Type: application/json

{ "transfer_id": "your-ref", "amount": 100.0 }

Query param path is appended to Ztake base URL based on your environment (sandbox/prod).

Response

Returns exactly what Ztake returns (status and body) so your integration remains unchanged.

Payout Logs

List your payout requests (created via your flows):

GET /api/vendor/payouts
Authorization: Bearer <jwt>

Create a payout request entry (optional if you track on your side):

POST /api/vendor/payouts
Authorization: Bearer <jwt>
Content-Type: application/json

{
  "amount": 100.0,
  "currency": "INR",
  "beneficiary_name": "Rahul",
  "beneficiary_account": "1234567890",
  "beneficiary_ifsc": "HDFC0001234",
  "beneficiary_upi": "rahul@upi",
  "reference_id": "REF-123",
  "remarks": "Vendor payout"
}

Transactions

Use existing endpoints for payments under /api/payments/* and vendor transactions under /api/vendor/payments.