# Retrieving a list of transactions Endpoint: GET /sms/{serviceId}/transactions Version: 1.0.0 Security: bearerAuth ## Path parameters: - `serviceId` (string, required) Service ID ## Response 200 fields (application/json): - `success` (boolean, required) Request status Example: true - `data` (array, required) Example: [{"id":1,"from":48123123123,"code":"ABC1D6","used":false,"send_number":7055,"value":0.5,"send_at":"2021-11-14T19:00:36+01:00"}] - `data.id` (integer, required) SMS transaction ID - `data.from` (integer, required) Number from which the SMS was sent - `data.code` (string, required) SMS code - `data.used` (boolean, required) Information on whether the code has been used - `data.send_number` (integer, required) Number to send SMS messages to Enum: 7055, 7155, 7255, 7355, 7455, 7555, 7636, 77464, 78464, 7936, 91055, 91155, 91455, 91664, 91955, 92055, 92555 - `data.value` (number, required) Net amount of the SMS - `data.send_at` (string, required) Creation date in format: ISO 8601 - `pagination` (object, required) - `pagination.total` (integer, required) Total number of records Example: 1 - `pagination.count` (integer, required) Number of records on the current page Example: 1 - `pagination.per_page` (integer, required) Maximum number of records per page Example: 15 - `pagination.current_page` (integer, required) Current page Example: 1 - `pagination.total_pages` (integer, required) Total number of pages Example: 1 - `pagination.links` (object, required) URLs to pages - `pagination.links.next_page` (string,null, required) URL to the next page - `pagination.links.prev_page` (string,null, required) URL to the previous page ## Response 401 fields (application/json): - `success` (boolean, required) Request status - `errorCode` (string, required) Error status code Enum: "UNAUTHORIZED" ## Response 403 fields (application/json): - `success` (boolean, required) Request status - `errorCode` (string, required) Error status code Enum: "INVALID_ABILITY_PROVIDED", "IP_ADDRESS_NOT_WHITELISTED" ## Response 404 fields (application/json): - `success` (boolean, required) Request status - `errorCode` (string, required) Error status code Enum: "SERVICE_NOT_FOUND", "TRANSACTION_NOT_FOUND", "ROUTE_NOT_FOUND"