Skip to main content
GET
/
v1.0
/
accounts
/
{id}
Get a single account
curl --request GET \
  --url https://singa-payment-gateway.test/api/v1.0/accounts/{id} \
  --header 'Authorization: Bearer <token>'
{
  "status": 200,
  "success": true,
  "data": {
    "id": "01HZ7N9K3R0F2QW3X4Y5Z6V7AB",
    "name": "Main Operating Account",
    "status": "active",
    "email": null,
    "phone": null
  }
}

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>.

Path Parameters

id
string
required

Account ULID.

Example:

"01HZ7N9K3R0F2QW3X4Y5Z6V7AB"

Response

The requested account.

Standard success envelope wrapping a single Account.

status
integer
required
Example:

200

success
boolean
required
Example:

true

data
Account · object
required

Merchant sub-account. Mirrors the output of App\Transformers\AccountTransformer.