Skip to main content
GET
/
v1.0
/
accounts
List merchant accounts
curl --request GET \
  --url https://singa-payment-gateway.test/api/v1.0/accounts \
  --header 'Authorization: Bearer <token>'
{
  "status": 200,
  "success": true,
  "data": [
    {
      "id": "01HZ7N9K3R0F2QW3X4Y5Z6V7AB",
      "name": "Main Operating Account",
      "status": "active",
      "email": null,
      "phone": null
    }
  ],
  "pagination": {
    "total": 47,
    "count": 25,
    "perPage": 25,
    "currentPage": 1,
    "totalPages": 2,
    "links": {
      "next": "http://example.com/api/v1.0/accounts?page=2"
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.singapay.id/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Merchant access token obtained from POST /v1.0/access-token/b2b. Send as Authorization: Bearer <token>.

Query Parameters

page
integer
default:1

Page number (1-based).

Required range: x >= 1

Response

Paginated list of accounts.

Paginated list of accounts. Pagination metadata is appended at the top level by the responder package.

status
integer
required
Example:

200

success
boolean
required
Example:

true

data
Account · object[]
required
pagination
PaginationMeta · object

Pagination metadata appended by flugger/laravel-responder for paginated collections.