External API workflow

International Airtime Integration

A secure prepaid airtime flow with international phone validation, operator detection, amount handling, and transaction feedback.

PHP cURL OAuth 2.0 Reloadly API intl-tel-input JavaScript
Abstract interface preview for International Airtime Integration
RoleAPI integration developer
Product typeExternal API workflow
FocusPHP · API Integration · Payments

01 · The problem

Business and technical context

The application needed to accept international phone numbers reliably, detect the correct operator, authorize API requests, and perform top-ups without truncating or misformatting user input.

02 · The solution

Implementation approach

I implemented token acquisition, E.164 phone normalization, client and server validation, operator detection, top-up submission, and structured error feedback. Sensitive credentials were kept outside request data and production-facing output.

03 · Key functionality

What I delivered

01

OAuth token exchange and authenticated API requests.

02

International number validation and E.164 submission.

03

Operator auto-detection and supported amount handling.

04

Clear success, invalid, and provider-error states.

04 · Constraints

Important challenges

Preserving the full international number through formatted inputs.

Handling provider errors without exposing credentials or raw internals.

Keeping client-side convenience aligned with server-side validation.

05 · System view

High-level architecture

1 Validated phone form
2 PHP integration layer
3 OAuth provider
4 Operator and top-up APIs

06 · Interactive system motion

Explore how the layers influence one another.

This abstract simulation turns the architecture above into a small spring-and-collision system. Move or press inside the canvas to disturb it. It is a systems visualization, not customer footage or a product screenshot.

Delivery in motionLocal, lightweight abstract video—not client footage.
Abstract loop showing requests moving through application layers
Request-to-release loopProcedural visual explaining flow rather than implying a real interface.

07 · Result

Operational improvement

Reliable full-number submission across supported countries.
A simpler and safer top-up workflow for end users.
Maintainable configuration for sandbox and live environments.

Next case study

Explore more production-focused work.

Browse projects across marketplace systems, secure storage, SaaS payments, mobile backends, and external APIs.

All projects
Discuss a project