Skip to main content

Overview

Always validate phone numbers before submitting internet top-up orders. This prevents errors, reduces refunds, and improves user experience by catching format issues immediately.
Critical Step: Validation prevents 90% of order failures. Never skip this step.

API Reference

GET /v3/internet/check-number

Complete endpoint documentation

Phone Number Formats

Pattern: ^0[0-9]{8}$Description: 9 digits starting with 0Valid Examples:
  • 036362608
  • 031417237
  • 021123456
Invalid Examples:
  • 36362608 - Missing leading zero
  • 0363626081 - Too long (10 digits)
  • 213636362608 - Wrong format (has country code)
  • +213636362608 - Wrong format (has +)

Basic Validation

Client-Side Format Validation

Validate format client-side first for instant feedback:

Complete Validation Flow

Validation Caching

Cache successful validations briefly to reduce API calls:

User-Friendly Error Messages

Provide clear feedback based on error type:

Best Practices

Validate Early

Check format client-side before API call

Clear Messages

Show specific, helpful error messages

Cache Results

Cache valid numbers for 5 minutes

Visual Feedback

Show real-time validation status as user types

Testing Validation

Next Steps

Send Top-Ups

Submit validated orders

Track Status

Monitor order fulfillment

API Reference

Complete endpoint documentation

Load Products

Fetch available cards

Overview

Back to integration overview

Deliver Cards

Securely deliver card codes