Skip to main content
Version: Lastest

API Unlink

EndPoint

POST /api/v1/users/app/destroy

Header Params

ParametersRequirementData typeDescriptionNote
Content-TyperequiredStringValue: application/json
{
"Content-Type": "application/json"
}

Request Params

ParametersRequirementData typeDescriptionNote
client_keyrequiredStringThe API KEY provided by AppotaPay
access_tokenrequiredStringUser Access Token

Example Request

{
"client_key": "1VXlZjO7vY7BJokQyaGbA5b3C9eT040pEdQq",
"access_token": "R3cIrn81uYHgNLPOeqrFoCtG8UzJ1VXlZjO7vY7"
}

Response Params

{
"code": 200,
"success": true
}

Success

Http Status Code 200 - OK

ParametersData typeDescriptionNote
codeIntegerError code
successBoolean

Thất bại

HTTP Status Code != 200

ParametersData typeDescriptionNote
codeIntegerError code
messageStringDescription of the error

Code Examples

curl -X POST "https://ewallet.dev.appotapay.com/api/v1/users/app/destroy" \
-H "Content-Type: application/json" \
-d '{
"client_key": "1VXlZjO7vY7BJokQyaGbA5b3C9eT040pEdQq",
"access_token": "R3cIrn81uYHgNLPOeqrFoCtG8UzJ1VXlZjO7vY7"
}'

Request

REQUEST

Development server
Example (from schema)