v1

latestOpenAPI 3.0.32026-07-24190128.9 KB

Get transactions history (JSON data)

Returns list of all the transactions in JSON format

get/backend/{gatewayname}/v1/loan/{unityuserid}/transactionhistory/{lid}

Path parameters

gatewaynamestring required
unityuseridstring required
lidstring required

Headers

x-gateway-secretstring required

Required | apiSecret shared for authentication

x-gateway-authtokenstring required

Required | JWT created with payload {"iss":"<your_gateway_name>"}, and signed with the shared secret

Response

200

codeinteger
messagestring

Example response

{
  "data": {
    "transactionHistory": [
      {
        "amount": 1000,
        "date": "2023-05-04T00:00:00Z",
        "description": "Cash Withdrawal",
        "status": "SUCCESS"
      }
    ]
  },
  "message": "SUCCESS"
}