Redirection to AOC Page
-
After Service Provider successfully retrieves AOC Token, Service Provider needs to redirect the user to AOC Page for user confirmation in order to invoke the charging.
-
The user will be displayed on the Advice Of Charge page asking for his/ her confirmation to proceed with the purchase.
-
Once the user agrees to proceed, AOC Gateway will proceed to charge the user and invoke the Service Provider Callback URL (as provided by the Service Provider: Request AOC Token For Charging).
Request
HTTP Method |
---|
REDIRECT - GET |
Redirect user to URL below with aocToken parameter;
GET <AOC_SERVER>/api/aoc?aocToken=SVpzSWk2SERiQjVlOFZLZFpBblVp
{
"aocToken":"SVpzSWk2SERiQjVlOFZLZFpBblVp"
}
Request Parameter
Parameter Name | Description | Usage |
---|---|---|
aocToken | This is a unique token generated by AOC Gateway to identify each AOC transaction. | (STRING) Mandatory |
Response
Not Applicable.
Response Parameter
Not Applicable.
Request AOC Token
Refer to Request AOC Token for Charging for more details.
Updated about 2 years ago