Get All Mobile Services

Retrieve a list of all available mobile payment services with their current status and configuration.

Endpoint

GET /api/services-mobile/status

Example Request

GET /api/services-mobile/status
X-API-Key: sk_test_your_api_key_here

Response

Response Body Example

[
  {

    "name": "MTN Cameroun",
    "country": "Cameroun",
    "code_prefix": "MTN-CM",
    "isActive": true,
    "createdAt": "2024-01-01T00:00:00Z",
    "updatedAt": "2024-01-15T10:00:00Z"
  },
  {

    "name": "Orange Cameroun",
    "country": "Cameroun",
    "code_prefix": "OM-CM",
    "isActive": true,
    "createdAt": "2024-01-01T00:00:00Z",
    "updatedAt": "2024-01-15T10:00:00Z"
  }
]

Response Fields

idstring
Unique identifier for the mobile service
namestring
Display name of the mobile service provider
countrystring
Country where the service operates
code_prefixstring
Phone number prefix for the country
api_endpointstring
API endpoint URL for the service
isActiveboolean
Whether the service is currently active
createdAtstring
Service creation timestamp (ISO 8601)
updatedAtstring
Last update timestamp (ISO 8601)

Error Responses

500 Error Example

{
  "statusCode": 500,
  "message": "Internal server error",
  "error": "Internal Server Error"
}