Skip to main content

Query VAM Order

Overview

The queryVamOrder interface enables merchants to query VAM (Virtual Account Management) orders, helping them retrieve order information based on various filter criteria such as reference number, IBAN, and date range.

API URL

Request

Http Header

Attributes
  • Content-Language String

    Language preference for response messages.

    Example value: en

    Maximum length: 10

  • sign String Required

    Signature value for request authentication and security verification.

  • Partner-Id String Required

    Unique merchant identifier assigned by Botim Money.

    Maximum length: 12

Http Body

  • requestTime Timestamp Required

    • If the request time is more than 15 minutes away from the current time, the request will be rejected. This parameter is used to prevent repeated requests for orders that should have been cancelled due to timeouts.
    • Example value: 1581493898000
  • bizContent Object Required

    Contains the main query parameters for filtering VAM orders.

    • merchantId String Required

      • Merchant identifier for the VAM account.
      • Example value: 200000030906
      • Maximum length: 64
    • referenceNo String

      • Bank reference number for the transaction.
      • Example value: UFOC0DI060
      • Maximum length: 64
    • collectIBAN String

      • IBAN of the receiving account.
      • Example value: AE070357414000600001603
      • Maximum length: 32
    • startDate String

      • Query start date and time. Must be used together with endDate. Maximum time range is 24 hours.
      • Format: yyyy-MM-dd HH:mm:ss
      • Example value: 2026-01-29 00:00:00
      • Maximum length: 32
    • endDate String

      • Query end date and time. Must be used together with startDate. Maximum time range is 24 hours.
      • Format: yyyy-MM-dd HH:mm:ss
      • Example value: 2026-01-30 23:59:59
      • Maximum length: 32
    • pageNum Integer Required

      • Page number for pagination, starting from 1.
      • Default value: 1
      • Example value: 1
    • pageSize Integer Required

      • Number of records per page.
      • Default value: 10
      • Example value: 10

Request Sample

//Http Header
{
"Content-Language": "en",
"Content-Type": "application/json",
"sign": "aMs582GhLeRv4fL3xqw7nN4dlzWS+ZVzdsNXT6rKwPpj7qOM4Y7qZBP3Yl6HogILy4IyX1tp8M7D92rK37hUgJg814odd1INIuy4l+KTRPA1Y3F8y0hVGXak0ddeVcOM3XNN+YEhvPClBx4EpmfWVqY3A2qNJTo3ugwr6uZiVGA38OjHRLZthGa+5nea0DtLaZYQnOGWaCI6fPIBZ7qr9HTiVkIsAp3N4m4cHR+3Rvpdbzu2TZoScA358D9wGmF5UOkbHCjwNV03I3O8HzaKUqMe4jnXZ+lJ0TMmxmqLrcMyMztJjZMQB9S4lXMW2+TqMrdNgLQv3GLiQ9IFvhUVEg==",
"Partner-Id": "200000030906"
}

//Http Body
{
"requestTime": 1581405399656,
"bizContent": {
"merchantId": "200000030906",
"startDate": "2024-09-20 00:00:00",
"endDate": "2024-09-20 23:59:59",
"referenceNo": "UFOC0DI060",
"collectIBAN": "AE070357414000600001603",
"pageNum": 1,
"pageSize": 10
}
}

Response

Http Header

sign String Required

When Botim Money sends response, Botim Money will use its own private key to sign the message, and the merchant uses Botim Money's public key to verify the signature. If the verification is passed, it proves that the response was sent by Botim Money and not faked by others.

Http Body

head

Attributes

applyStatus String Required

The request apply status.

Valid values:

  • SUCCESS - Apply successfully
  • FAIL - Apply failed
  • ERROR - Apply exception

Example value: SUCCESS

Maximum length: 16

code String Required

The response code.

Example value: 0

Maximum length: 10

msg String

The response message.

Maximum length: 200

body

Notice

Body is returned only when applystatus = success, and code = 0. If applystatus = error or failed; or applystatus = success, code !=0 , that indicates an error.again.

  • orders List Required

    • Array of VAM order records.

    • amount Money Required

      • Transaction amount with currency.

      • amount Decimal Required

        • Example value: 12.74
      • currency String Required

        • Example value: AED
    • transactionTime Timestamp Required

      • Timestamp when the transaction occurred.
      • Example value: 1726814520000
    • orderNo String Required

      • The Botim Money's unique identify number of the order.
      • Example value: 131726814520094547
    • status String Required

      • Transaction status.
      • Possible values: SUCCESS, FAILED, PENDING
      • Example value: SUCCESS
    • referenceNo String Required

      • Bank reference number for the transaction.
      • Example value: UFOC0DI060
    • remitterInfo String Required

      • Name of the person sending the funds.
      • Example value: MR CAN WANG
    • senderBankCode String Required

      • SWIFT code of the sender's bank.
      • Example value: BBMEAEADXXX
    • depositDetails String Required

      • Additional deposit details or memo.
      • Example value: REF AEV180448I9Z7400 GDS
    • collectIBAN String Required

      • IBAN of the receiving account.
      • Example value: AE070357414000600001603
  • totalCount Integer Required

    • Total number of records found in the query.
    • Example value: 1
  • pageNum Integer Required

    • Current page number.
    • Example value: 1
  • pageSize Integer Required

    • Number of records per page.
    • Example value: 10
  • totalPages Integer Required

    • Total number of pages available.
    • Example value: 1

Response Sample

//Http Header
{
"sign": "nDdClX1tAyV3qcX/Epay6AXFNRGSsWd8ysWO9SgwPrNTetSePLA9C39mGp6qRbjJeqXLEnYLwSkBu5eKdtyVX3tflGLiV2kvRjVfYpTCjXdVL2Pcnv2w+ghjHe2jL988iklk7q5AjAgdtXNphpHcTes9pk6W3bVCbvijH6at0fExUtZ91L1LrnPGELT1IJm/lFW3w4KLh0Gxs7FzDPI9RDfUemObNlRzV8kCtkWahwPgs/hBnS69GyYDKN7ihQX2UiLuP239wl6IA+VG/ZZKHPhLs8bbuOS+LKWORIp6jRt+JsAx7c/Ot1RNyOnHKxPRKJ8bVTohEp39yUz/HwG8oA=="
}

//Http Body
{
"head": {
"applyStatus": "SUCCESS",
"code": "0",
"msg": "SUCCESS"
},
"body": {
"orders": [
{
"amount": {
"amount": 12.74,
"currency": "AED"
},
"transactionTime": 1726814520000,
"orderNo": "131726814520094547",
"status": "SUCCESS",
"referenceNo": "UFOC0DI060",
"remitterInfo": "MR CAN WANG",
"senderBankCode": "BBMEAEADXXX",
"depositDetails": "REF AEV180448I9Z7400 GDS",
"collectIBAN": "AE070357414000600001603"
}
],
"totalCount": 1,
"pageNum": 1,
"pageSize": 10,
"totalPages": 1
}
}