v1

latestOpenAPI 3.0.02026-07-242035712.0 MB
Card V2

Get Card History V2

This web service gets the full audit history of a card (load card, get balance, set/get status) over a specified time period. Note : List Endpoint does not support's Idempotency.

post/pws/v2/pws_card_history/

Request body

api_call_unique_identifierstring required

Unique number that must be passed at each API request. Identifier to make each API request unique

client_idinteger required

Unique identifier for the client which Paymentology will provide at outset

date_fromstring required

From Date,accepted format yyyy-mm-dd hh:mm:ss.

date_tostring required

To Date,accepted format yyyy-mm-dd hh:mm:ss

page_limitinteger required

No of rows to return

page_nointeger required

Page Number

tokeninteger required

Public token

user_idstring

User Id of the Customer who triggered the API request.

remarksstring

Remarks for API request

http_filterstring
<ul> <li class="docBullet">g or G ==&gt; For retrieve actions like (pws_get_balance)</li> <li class="docBullet">p or P ==&gt; For insert,update, delete actions like (pws_load_balance)</li> <li class="docBullet">If not send or its value is null, then retrieves data for both </ul>
text_searchstring

Wild card search

card_accountstring
<ul> <li class="docBullet">a or A = retrieves account related only</li> <li class="docBullet">c or C =retrieves card related only</li> <li class="docBullet">b or B =retrieves both card and account related</li> </ul>

Example request

{
  "api_call_unique_identifier": "438574845790657485",
  "client_id": 760131,
  "date_from": "2020-10-24 13:13:08",
  "date_to": "2021-12-31 23:59:59",
  "page_limit": 250,
  "page_no": 1,
  "token": 311012081,
  "card_account": "b"
}

Response

Successful Response

Example response

{
  "header": {
    "error_desc": "success"
  },
  "body": {
    "total_records": 500,
    "data": [
      {
        "api_call_unique_identifier": "438574857485",
        "request_body": "{\"api_call_unique_identifier\":\"32153auaia64i78\",\"client_id\":123456,\"token\":571295607}",
        "response_body": "{\"header\":{\"error_id\":0,\"error_desc\":\"success\"},\"body\":{\"status_nwk\":1000}}",
        "request_date_time": "2019-12-24T13:13:08",
        "status": "s",
        "api_desc": "This Api returns card status",
        "client_id": 1234567,
        "api_name": "pws_get_card_status"
      }
    ]
  }
}