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

Information

MethodPathFormatAuthentication
GET/api/v1.0/virtual-accounts/{account_id}/{virtual_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
successBooleanMandatory12xx is true. 4xx-500 is false.true
dataObjectConditional---
> idStringMandatory-virtual account id01K9EH4HTX4921FCYE01RPVQ87
> numberStringMandatory-Virtual account number9090583126022726
> merchant_reff_noStringOptional255Merchant reference number for tracingINV-2026-001
> codeStringMandatory-Virtual account codeVA_BRI
> bankObjectMandatory-Bank details-
>> short_nameStringMandatory-Short name of the bankBRI
>> numberStringMandatory-Bank’s numeric code002
>> swift_codeStringMandatory-Bank’s SWIFT codeBRINIDJA
> amountObjectMandatory-Amount details-
>> valueStringMandatory-Balance amount100000.00
>> currencyStringMandatory3Currency codeIDR
> 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 virtual account. e.g. active or expiredactive
> kindStringMandatory-temporary or permanentpermanent
> current_usageNumericMandatory-Current number of times the VA has been used1

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