Skip to content

Royal Network API

The Royal Network API allows users to perform transactions related to the Royal Network service.

Type: Single Step API

Endpoint

  • URL: {{base_url}}/api/use/royal-network
  • Method: POST

Service Parameters

The request must include the following parameters:


{
    "token": "token",
    "username": "Username, eg: khaltiUser",
    "mobile_number": "9818766122",
    "amount": 100, // Minimum Amount 100
    "reference": "royalnetwork1"
}

Validation

  • Username Pattern: ([a-zA-Z0-9_]+)
  • Error Message: "Invalid Username"

Response

Upon successful request, the API will return a response in the following format:


{
    "status": true,
    "id": 1268,
    "credits_available": 9000.0,
    "message": "Your operation is in queue.",
    "state": "Queued",
    "credits_consumed": 100.0
}