Query airtime transactions
Returns information about each airtime transaction.
Request
- Base URL: https://api.telerivet.com
- URL: https://api.telerivet.com/v1/projects/{project_id}/airtime_transactions
- Auth: one of:
- HTTP basic
- OAuth 2 (authorization code, authorization URL https://telerivet.com/oauth/authorize, token URL https://api.telerivet.com/oauth/token)
Path parameters
ID of the Project
Query parameters
Unix timestamp in seconds
Filter transactions created on or after a particular time
Unix timestamp in seconds
Filter transactions created before a particular time
Filter transactions sent to a particular contact
Filter transactions sent to a particular phone number
Filter transactions sent by a particular service
Filter transactions by status
Sort the results in ascending or descending order
Number of results returned per page (max 500)
Number of items to skip from beginning of result set
'next_marker' property returned by a previous call to this API method, indicating where the next page of results should start.
If true, the API will return the count of items matching the filter, instead of the items themselves
Response
Successful response. When count=1 parameter is provided, returns {"count": N} instead.
Example response
{
"data": [
{
"id": "ATb11111211217d11f",
"to_number": "639123123123",
"operator_name": "Globe Philippines",
"country": "PH",
"time_created": 1390347812,
"transaction_time": 1390347813,
"status": "successful",
"status_text": "Transaction successful",
"value_currency": "PHP",
"price_currency": "USD",
"contact_id": "CTa01111211217d24e",
"service_id": "SVb12345211217d35f",
"project_id": "PJ012345211217c11a",
"external_id": "GLYV2R8GHY8LS17Y0S0G",
"user_id": "URba3e403e98f49735"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.