StarPay SGH

Making Requests

Request format

Send request bodies as JSON with a Content-Type: application/json header.

Response format

Successful responses follow a consistent envelope:

{
  "status": true,
  "data": { ... }
}

Rate limits

API requests are limited to 60 requests per minute per API key. Exceeding this returns a 429 Too Many Requests response.

Idempotency

Each call to initialize creates a new transaction with a unique reference. Idempotency keys aren't supported yet — avoid retrying an initialize call with the same intent without checking whether the first one already succeeded.