Singapay Home Page
Logo Icon
  1. Virtual Account
  2. List

Information

MethodPathFormatAuthentication
GET/api/v1.0/virtual-accounts/{account_id}jsonOAuth 2.0 with Access Token

Request Details

Headers Structure

FieldValueTypeMandatoryLengthDescriptionExample
X-PARTNER-IDapi_keyAlphanumericMandatoryAPI key obtained from the merchant dashboard.b3ed7d4b-a96c-6c08-b3c7-12c3124242d9
Acceptapplication/jsonAlphabeticMandatorySpecifies JSON as the expected response format.application/json
AuthorizationBearer {bearerToken}AlphanumericMandatoryBearer token obtained from the get access token endpoint.Bearer eyJ0eXAiOiJKV1{…}

Response Details

Response Structure

FieldTypeMandatoryLengthDescriptionExample
statusNumericMandatory3HTTP Status Code200
successBooleanMandatory1true for success, false for failure.true
dataArray ObjectConditional-Array of virtual account objects.
> idStringMandatory-Unique identifier for the virtual account.01K9EH4HTX4921FCYE01RPVQ87
> numberStringMandatory-The virtual account number.9090583126022726
> merchant_reff_noStringOptional255Merchant reference number for tracing.INV-2026-001
> codeStringMandatory-Virtual account code.VA_BRI
> bankObjectMandatory-Object containing bank details.
>> short_nameStringMandatory-Short name of the bank.BRI
>> numberStringMandatory-Bank’s numeric code.002
>> swift_codeStringMandatory-Bank’s SWIFT code.BRINIDJA
> amountObjectMandatory-Object containing amount details.
>> valueStringMandatory-The amount value.100000.00
>> currencyStringMandatory3Currency code (e.g., IDR).IDR
> amount_typeEnumMandatory-Type of amount: open or closedclosed
> min_amountObject/NullConditional-Min amount details (only for open VA, null for closed)null
>> valueDecimalConditional-Min amount value10000.00
>> currencyAlphabeticConditional3Currency codeIDR
> max_amountObject/NullConditional-Max amount details (only for open VA, null for closed)null
>> valueDecimalConditional-Max amount value5000000.00
>> currencyAlphabeticConditional3Currency codeIDR
> statusStringMandatory-Status of the virtual account (e.g., active).active
> kindStringMandatory-Kind of virtual account (e.g., permanent).permanent
> current_usageNumericMandatory-The current usage count of the virtual account.1
paginationObjectConditional-Object containing pagination details.
> countNumericMandatory-Number of items on the current page.1
> totalNumericMandatory-Total number of items across all pages.1
> perPageNumericMandatory-Number of items per page.25
> currentPageNumericMandatory-The current page number.1
> totalPagesNumericMandatory-The total number of pages.1
> linksObjectMandatory-Object containing links for pagination (if any).

Response Example

Success: Here’s an example of a successful response.

{
    "status": 200,
    "success": true,
    "data": [
        {
            "id": "01K9EH4HTX4921FCYE01RPVQ87",
            "number": "9090583126022726",
            "merchant_reff_no": "INV-2026-001",
            "code": "VA_BRI",
            "bank": {
                "short_name": "BRI",
                "number": "002",
                "swift_code": "BRINIDJA"
            },
            "amount": {
                "value": "100000.00",
                "currency": "IDR"
            },
            "amount_type": "closed",
            "min_amount": null,
            "max_amount": null,
            "status": "active",
            "kind": "permanent",
            "current_usage": 1
        }
    ],
    "pagination": {
        "count": 1,
        "total": 1,
        "perPage": 25,
        "currentPage": 1,
        "totalPages": 1,
        "links": {}
    }
}