Skip to main content
GET
/
api
/
v1.0
/
virtual-accounts
/
{account_id}
List
curl --request GET \
  --url https://sandbox-payment-b2b.singapay.id/api/v1.0/virtual-accounts/{account_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'X-PARTNER-ID: <api-key>'
{
  "status": 200,
  "success": true,
  "data": [
    {
      "id": "01K946KF851RK7FX075GJHBVKF",
      "number": "9090583126022726",
      "code": "VA_BNI",
      "bank": {
        "short_name": "BRI",
        "number": "002",
        "swift_code": "BRINIDJA"
      },
      "amount": {
        "value": "1234.56",
        "currency": "IDR"
      },
      "amount_type": "closed",
      "status": "active",
      "kind": "temporary",
      "current_usage": 0,
      "expired_at": 1774000000000,
      "name": "Bakso Enak- John Doe",
      "merchant_reff_no": "INV-2026-001",
      "min_amount": {
        "value": "1234.56",
        "currency": "IDR"
      },
      "max_amount": {
        "value": "1234.56",
        "currency": "IDR"
      }
    }
  ],
  "meta": {}
}

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

account_id
string
required

Account identifier in ULID format.

Query Parameters

merchant_reff_no
string

Filter by merchant reference number (partial/substring match).

Example:

"INV-2025-001"

Response

Success

status
integer
required

HTTP status code.

Example:

200

success
boolean
required

Indicates whether the request was successful.

Example:

true

data
object[]

Collection of virtual account resources.

meta
object

Pagination metadata for the collection response.