Skip to main content
Version: Lastest

Introduction

Introduction

Chat with AI▼

The document provides for partners with information on technical connection to the Mobile Topup Service.

Diagram connection​

Image Diagram connection Mobile Topup

AppotaPay provides 2 flexible integration mechanisms for the topup service, helping to optimize the user experience and ensure the highest success rate.

Synchronous topup flow​

When the Partner calls the topup API, the system processes the request directly with the telco and returns the final result (SUCCESS/FAILED/ PENDING) right in the API response

Flow payment Mobile Topup

Asynchronous topup flow​

When the Partner calls the topup API, the system records the request and immediately returns a successfully-accepted status.

After the topup succeeds or fails with the telco, AppotaPay actively sends a transaction result notification through the IPN/Webhook that the Partner has registered on the AppotaPay system.

Flow asynchronous topup Mobile Topup

Choosing a topup flow​

AppotaPay supports 2 topup flows. Partners choose one of the two depending on their system model:

CriteriaSynchronous (Sync)Asynchronous (Async)
Topup API/api/v2/service/topup/charging/api/v2/service/topup/charging-async
Response timeWaits until the telco returns a resultResponds immediately, does not wait for the telco
Where the final result is returnedIn the response of the topup APIThrough the IPN AppotaPay sends to the partner
Partner prerequisiteNoneMust have an IPN URL registered with AppotaPay
Partner timeoutNeeds a long timeout configurationNot affected by the telco processing time
Suitable forSystems using the traditional request/response modelHigh volume systems that need to release the processing thread quickly