Unlink Account

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 AttributeDescriptionType
account_statusStatus of the account.
Possible values are DISABLED.
String
phone_numberThe masked phone number that is linked to the user_id.String