Transactions
Get a List of Transactions
This API will allow you to get list of the transactions created for a user with a userId or by a requestId or an extRequestId.
get/v1/payments/transactions
Request
- Base URLhttps://sandbox-api.spinwheel.io
- URLhttps://sandbox-api.spinwheel.io/v1/payments/transactions
- AuthAPI key in header Authorization
Query parameters
userIdstring
User Id of the user towards whom payment was scheduled
requestIdstring
Request Id received on creating the payment request
extRequestIdstring
External Request Id sent on creating a payment request
Response
Successful response
Example response
{
"status": {
"code": 200,
"desc": "success",
"messages": [
{
"desc": "Example description"
}
]
},
"data": [
{
"userId": "75d84539-78e7-492d-9394-8aa63beb7146",
"payerId": "33ab228a-5afc-4993-b976-de8f522062c0",
"requestId": "d35b822d-8bde-4d21-bbbe-d8f9c4f5b656",
"extRequestId": "800830ab-950a-4fbd-a8f1-2936680ed69b",
"statusComment": "Txn request successfully created",
"paymentStatusCode": "200",
"transactionId": "392683d5-108d-4610-94cf-88bbb46990c9",
"settlementAccountId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"useOfFunds": {
"homeLoanId": "435ed671-2800-4a7f-8e72-21aa7e65faf1",
"percentage": 50,
"liabilityType": "HOME_LOAN"
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.