Sendexa LogoDocs

Response Format

Your server must respond with a specific JSON structure to control the user's USSD experience.

RESPONSE
application/json

Structure

Prompt the user for more input. The session remains open.

JSON
{
"message": "Welcome to Sendexa Bank.\n1. Check Balance\n2. Transfer Funds",
"shouldClose": false
}

Best Practices

  • Keep messages under 160 characters to ensure they fit on a single screen.
  • Use \\n for line breaks to format your menus clearly.
  • Avoid special characters or emojis as they might not render on older handsets.