Singapay Home Page
Logo Icon
  1. VA Transactions
  2. Get VA Transaction Details

Information

MethodPathFormatAuthentication
GET/api/v1.0/va-transactions/{account_id}/{transaction_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–5xx is false.true
dataObjectConditional-Transaction details-
> transaction_idStringMandatory-Unique ID for the transaction6411120251024133950078
> va_numberNumericMandatory-Virtual account bank number7872955175492119
> accountObjectMandatory-Account information-
>> idStringMandatory-Unique account ID01K8AESCCKYSD98Z3P9RSDA36W
>> nameAlphabeticMandatory-Account holder nameTravelan
>> emailString (Email)Optional-Account email addresstravelan@gmail.com
>> phoneNumeric/StringOptional-Account phone number085673574337633
> bankObjectMandatory-Bank details-
>> short_nameAlphabeticMandatory-Bank short nameMaybank
>> numberNumericMandatory-Bank number code016
>> swift_codeAlphanumericOptional-SWIFT code of the bankIBBKIDJA
>> bank_codeAlphabeticMandatory-Bank code (e.g., BRI, DANAMON, MAYBANK)MAYBANK
> notesString / NullOptional-Additional information or remarksnull
> statusAlphabeticMandatory-Transaction status (paid, unpaid)paid
> feesObjectOptional-Transaction fee details-
>> nameAlphabeticOptional-Name of the feeVA Maybank
>> amountDecimalOptional-Fee amount1500.00
>> currencyAlphabeticOptional3Fee currencyIDR
> amountObjectMandatory-Total transaction amount-
>> valueDecimalMandatory-Transaction amount value1000000.00
>> currencyAlphabeticMandatory3Currency of transaction amountIDR
> post_timestampTimestampMandatory-Date requested (Unix Timestamp in milliseconds)1761714866693
> processed_timestampTimestampMandatory-Date when transaction was processed (Unix Timestamp in ms)1761287991000
> has_settleBooleanMandatory-Indicates whether the transaction has been settledtrue
> settle_atTimestamp/NullOptional-Date when transaction was settled (Unix Timestamp in ms)1761288100000

Response Example

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

{
    "status": 200,
    "success": true,
    "data": {
        "transaction_id": "6411120251024133950078",
        "va_number": "7872955175492119",
        "account": {
            "id": "01K8AESCCKYSD98Z3P9RSDA36W",
            "name": "Travelan",
            "email": "travelan@gmail.com",
            "phone": "085673574337633"
        },
        "bank": {
            "short_name": "Maybank",
            "number": "016",
            "swift_code": "IBBKIDJA",
            "bank_code": "MAYBANK"
        },
        "notes": null,
        "status": "paid",
        "fees": {
            "name": "VA Maybank",
            "amount": "1500.00",
            "currency": "IDR"
        },
        "amount": {
            "value": "1000000.00",
            "currency": "IDR"
        },
        "post_timestamp": "1761714866693",
        "processed_timestamp": "1761287991000",
        "has_settle": true,
        "settle_at": "1761288100000"
    }
}