Authentication Link
Authentication Link
Chat with AI▼
The backend system of the Partner returns this Authentication Link to open the login form. Customers enter information on the login form to link their AppotaPay wallet account
EndPoint
GET /oauth/login
Request Params
| Parameters | Requirement | Data type | Description | Note |
|---|---|---|---|---|
| client_key | required | String | The API_KEY information on Application | |
| scope | required | String | Scope of permissions. Please refer to Scope | Value: "user.info,user.apoint_payment,user.wallet_payment" |
| response_type | required | String | The data type returned | Value: "code" |
| redirect_uri | required | String | After successful linking, the system will call this URI with AUTHORIZATION_CODE and state parameters | |
| state | optional | String | This information is often used to prevent request forgery |
Example Request
Response Params
- Success: Response login page
- Error: Redirect error page
Scope
| Permission name | Description |
|---|---|
| user.info | Retrieve basic information (fullname , apoint_balance,...) |
| user.apoint_payment | Using APoint balance to pay for services |
| user.wallet_payment | Using wallet balance to pay for services |