Transactions
List transactions pending acceptance
Changed onReturns transactions addressed to the calling application that are in AWAITING_ACCEPTANCE state. These require an explicit accept or reject action.
get/v1/transactions/pending
Request
- Base URLhttps://idaas.yourflexpay.com/api
- AuthHTTP bearer
- TypeScripthttps://skmtc.dev/reflexpay/apis/idaas-identity-as-a-service-api/docs/v1/transactions/pending/get.tsA function with typed inputs. Its response is checked against the schema.
Query parameters
Response
Paginated acceptance queue
Example response
{
"data": {
"content": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"reference": "TXN-16820000-AB1C2D3E",
"senderTag": "@alice",
"senderAppName": "WalletApp",
"receiverTag": "@bob",
"receiverAppName": "PaymentsApp",
"amount": 1500,
"currency": "NGN",
"status": "AWAITING_ACCEPTANCE",
"narration": "School fees payment",
"webhooks": [
{
"transactionReference": "TXN-16820000-AB1C2D3E",
"targetUrl": "https://app-b.example.com/webhooks/transactions",
"eventType": "TRANSACTION_INITIATED"
}
]
}
]
}
}Changes
- info
added the optional property
to the response with the status
- info