Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Top-ups, booking charges, refunds and adjustments, newest first. A negative amount is money out.
cURL
curl --request GET \ --url https://api.flyskye.ai/v1/wallet/transactions \ --header 'Authorization: Bearer <token>'
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}}; fetch('https://api.flyskye.ai/v1/wallet/transactions', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
import requests url = "https://api.flyskye.ai/v1/wallet/transactions" headers = {"Authorization": "Bearer <token>"} response = requests.get(url, headers=headers) print(response.text)
{ "mode": "test", "currency": "INR", "transactions": [ { "id": 123, "kind": "topup", "amount": -8200, "sessionId": "<string>", "note": "BLR to DEL · PNR ABC123", "createdAt": "2023-11-07T05:31:56Z" } ], "nextBefore": 123 }
{ "error": { "code": "invalid_request", "message": "departDate cannot be in the past", "field": "departDate" } }
An access token (sat_...) from POST /token. In test mode you can send your test key (pk_test_...) here instead.
sat_...
POST /token
pk_test_...
1 <= x <= 100
The nextBefore of the previous page.
The statement.
test
live
"INR"
Show child attributes