Skip to main content
GET
/
api
/
v1.0
/
accounts
/
{id}
Get account
curl --request GET \
  --url https://sandbox-payment-b2b.singapay.id/api/v1.0/accounts/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'X-PARTNER-ID: <api-key>'
{
  "status": 200,
  "success": true,
  "data": {
    "id": "01K946KF851RK7FX075GJHBVKF",
    "name": "John Doe",
    "status": "active",
    "account_number": "000000000123",
    "account_type": "owned",
    "kyb_status": "kyb_in_review",
    "invite_members": [
      "john@example.com"
    ]
  }
}

Authorizations

Authorization
string
header
required

JWT issued by POST /api/v1.1/access-token/b2b. Send Authorization: Bearer <token>.

X-PARTNER-ID
string
header
required

Merchant API key (Credential.api_key). Required on every request.

Path Parameters

id
string
required

Account ULID

Response

Success

status
integer
required
Example:

200

success
boolean
required
Example:

true

data
object
required