Skip to main content

Transactions

GET ALL TRANSACTIONS

Description: Get all customer transactions

REQUEST PARAMETERS

Required:

ParameterTypeDescriptionRequired
productCode StringProduct making the request Yes
customerID StringProduct customer ID. e.g PocketMoni customer IDYes
tranStatus IntegerTransaction status, where 00 = success & 03 = failedNo
walletStatus StringSwitchIT wallet funding statusNo
tranDateStart StringTransaction date start filterNo
tranDateEnd StringTransaction date end filterNo
GET / transaction/all?productCode=PKM&customerID=080833388383&tranStatus=00& walletStatus=&tranDateStart=& tranDateEnd=
curl https://{base_url}/transaction/all?productCode=PKM&customerID=080833388383&tranStatus=00& walletStatus=&tranDateStart=& tranDateEnd=
-H "Authorization: Bearer YOUR_SECRET_KEY"
-X GET

VERIFY TRANSACTION

Description: Verify funding transaction

REQUEST PARAMETERS

ParameterTypeDescriptionRequired
tranSessionID StringUnique transaction session IDYes
GET / transaction/verify?tranSessionID=204210202000000500001
curl https://{base_url}/transaction/verify?tranSessionID=204210202000000500001
-H "Authorization: Bearer YOUR_SECRET_KEY"
-X GET

GET TRANSACTION BY SESSION

Description: Get transaction details by session ID

REQUEST PARAMETERS

ParameterTypeDescriptionRequired
tranSessionID StringUnique transaction session IDYes
GET / transaction/session? tranSessionID=8849480833388383
curl https://{base_url}/transaction/session? tranSessionID=8849480833388383
-H "Authorization: Bearer YOUR_SECRET_KEY"
-X GET