Transaction

Transaction History

PostmanTest on Postman

Retrieve a list of transactions based on various filters.

Try it in Postman

Retrieve a list of transactions based on various filters.

Endpoint

URL: {{baseUrl}}/api/v2/history Method: POST

Request Headers

KeyValueDescription
Content-Typeapplication/json
signature{{signature}}Generated signature. See Signature Generation.
va{{va}}Your Virtual Account Number.
timestamp{{timestamp}}Current timestamp.

Request Body

ParameterTypeRequiredDescription
statusstringNoFilter by status code (e.g., 1 for success).
datestringNoFilter type: created_at or indate (paid date).
startdatestringNoStart date (YYYY-MM-DD).
enddatestringNoEnd date (YYYY-MM-DD).
pagenumberNoPage number (default 1).
limitnumberNoLimit per page (max 20).
orderBystringNoid, created_at, or indate.
orderstringNoASC or DESC.
langstringNoen or id.

Example Request

{
  "status": "1",
  "orderBy": "id",
  "order": "DESC",
  "limit": "10"
}

Example Response

{
  "Status": 200,
  "Success": true,
  "Message": "Success",
  "Data": {
    "Total": 150,
    "Per_Page": 10,
    "Current_Page": 1,
    "Total_Page": 15,
    "Results": [
      {
        "TransactionId": 341189,
        "ReferenceId": "INV-001",
        "Amount": 10000,
        "Fee": 4000,
        "Status": 1,
        "StatusDesc": "Berhasil",
        "Type": 11,
        "TypeDesc": "Convenience Store",
        "CreatedDate": "2023-11-23 10:00:00"
      }
      // ... more transactions
    ]
  }
}

On this page