Merchant can provide the capability for users to unlink the account outside of checkout page by sending DELETE request for a specific user_id.
Endpoints: /api/v1/checkout/users/{USER_ID}/gopay
HTTP Method: DELETE
Response Body
{
"account_status": "DISABLED",
"phone_number": "****3424"
}{
"error_messages": [
"account not found"
],
"locale": "en"
}| JSON Attribute | Description | Type |
|---|---|---|
| account_status | Status of the account. Possible values are DISABLED. | String |
| phone_number | The masked phone number that is linked to the user_id. | String |