Transaction
Get transaction details for long-lived consent
Unique resource name : ais.v2.transaction.get
Important!:
The permissions below are required on the consent:
- ReadTransactionsBasic
- ReadTransactionsDetail
- ReadTransactionsDebits
- ReadTransactionsCredits
get/api/v2.0/ais/Transaction/Get
Request
- Base URL: https://sandbox.sparefinancial.sa
- URL: https://sandbox.sparefinancial.sa/api/v2.0/ais/Transaction/Get
- Auth: API key in header Authorization
Query parameters
idstring uuid required
Transaction id
Response
Example response
{
"data": {
"account": {
"id": "00000000-0000-0000-0000-000000000000",
"currency": {
"id": "00000000-0000-0000-0000-000000000000"
},
"servicer": {
"id": "00000000-0000-0000-0000-000000000000",
"address": {
"country": "SA"
}
},
"accounts": [
{
"id": "00000000-0000-0000-0000-000000000000"
}
],
"statusUpdatedDateTime": "2025-01-01T00:00:00Z",
"openingDate": "2025-01-01T00:00:00Z",
"maturityDate": "2025-01-01T00:00:00Z"
},
"balance": {
"currency": {
"id": "00000000-0000-0000-0000-000000000000"
}
},
"creditorAgent": {
"address": {
"country": "SA"
}
},
"debtorAgent": {
"address": {
"country": "SA"
}
},
"deborAccount": {
"id": "00000000-0000-0000-0000-000000000000"
},
"creditorAccount": {
"id": "00000000-0000-0000-0000-000000000000"
},
"id": "00000000-0000-0000-0000-000000000000",
"transactionDateTime": "2025-01-01T00:00:00Z",
"bookingDateTime": "2025-01-01",
"valueDateTime": "2025-01-01",
"amount": {
"currency": {
"id": "00000000-0000-0000-0000-000000000000"
},
"localExchange": {
"sourceCurrency": "SAR",
"targetCurrency": "SAR",
"date": "2025-01-01"
}
},
"chargeAmount": {
"currency": {
"id": "00000000-0000-0000-0000-000000000000"
}
},
"currencyExchange": {
"sourceCurrency": {
"id": "00000000-0000-0000-0000-000000000000"
},
"targetCurrency": {
"id": "00000000-0000-0000-0000-000000000000"
},
"unitCurrency": {
"id": "00000000-0000-0000-0000-000000000000"
},
"quotationDate": "2025-01-01",
"instructedAmount": {
"currency": {
"id": "00000000-0000-0000-0000-000000000000"
}
}
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.