Completing Payment

Service Provider's Callback URL

After the charging has been completed, AOC Gateway will redirect users back to the Service Provider’s Callback URL. (this callback URL is provided by Service Provider when requesting the AOC Token in (Initiate Payment Section).

Service Providers need to prepare the callback URL which accepts the HTTP GET command.



Service Provider’s callback URL is

AOC Gateway will redirect users back to URL below with request parameter, aocTransID.
URL example:

Upon receiving this request, the Service Provider will need to invoke the “Request Charging Status” API (Request Charging Status) to get the status of the charging transaction.

Then the Service Provider needs to display a success or failed page to the user/payer.



aocTransID is the unique transaction id generated by AOC Gateway. This id will be used for any future reconciliation purposes. This is the same transaction ID when the Service Provider invokes the Request for AOC Token API.