Skip to main content
GET
/
api
/
v1.0
/
va-transactions
/
{account_id}
/
{transaction_id}
Show
curl --request GET \
  --url https://sandbox-payment-b2b.singapay.id/api/v1.0/va-transactions/{account_id}/{transaction_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'X-PARTNER-ID: <api-key>'
{
  "status": 200,
  "success": true,
  "data": {
    "transaction_id": "VA-20251024-0001H9X8ZK",
    "merchant_reff_no": "INV/2025/10/0001",
    "va_number": "88810012345678",
    "account": {
      "id": "01H9X8ZK3M7QF4N2VTB6RYJWPC",
      "name": "Toko Sumber Rejeki",
      "email": "finance@sumberrejeki.co.id",
      "phone": "081234567890"
    },
    "bank": {
      "short_name": "BRI",
      "number": "002",
      "swift_code": "BRINIDJA",
      "bank_code": "BRI"
    },
    "notes": "Pembayaran order #1024",
    "status": "paid",
    "fees": {
      "name": "BRI Virtual Account",
      "amount": 4500,
      "currency": "IDR"
    },
    "amount": {
      "value": "1234.56",
      "currency": "IDR"
    },
    "post_timestamp": "1729748679474",
    "processed_timestamp": "1729748707000",
    "has_settle": true,
    "settle_at": 1729753200000
  }
}

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

ULID of the account that owns the Virtual Account. Must belong to the authenticated merchant. Account ULID

Example:

"01H9X8ZK3M7QF4N2VTB6RYJWPC"

transaction_id
string
required

Business transaction id of the VA transaction to retrieve (the transaction_id value from the List response). VA transaction business id

Example:

"VA-20251024-0001H9X8ZK"

Response

Success

Standard success envelope wrapping a single VA transaction.

status
integer
required

HTTP status code of the response.

Example:

200

success
boolean
required

Always true for successful responses.

Example:

true

data
object
required

The requested VA transaction.