English
Help & Support
Check our Knowledge Base.
cURL
curl --request GET \ --url https://sandbox.fapshi.com/transaction/{userId} \ --header 'apikey: <api-key>' \ --header 'apiuser: <api-key>'
[ { "transId": "<string>", "status": "CREATED", "medium": "mobile money", "serviceName": "<string>", "amount": 123, "revenue": 123, "payerName": "<string>", "email": "jsmith@example.com", "redirectUrl": "<string>", "externalId": "<string>", "userId": "<string>", "webhook": "<string>", "financialTransId": "<string>", "dateInitiated": "2023-12-25", "dateConfirmed": "2023-12-25" } ]
Retrieve all transactions associated with a specific user ID.
GET /transaction/:userId
User ID to retrieve transactions for.
List of transactions
The response is of type object[].
object[]