---
title: "Unbind Pay Account (GoPay Tokenizations)"
method: POST
path: "/v2/pay/account/{account_id}/unbind"
---

# Unbind Pay Account (GoPay Tokenizations)

`POST /v2/pay/account/{account_id}/unbind`

## Request

- Base URL: `https://api.sandbox.midtrans.com`
- URL: `https://api.sandbox.midtrans.com/v2/pay/account/{account_id}/unbind`
- Auth: HTTP basic

Remove linked GoPay account in GoPay Tokenizations.

## Path parameters

- `account_id` string, required

## Response `200`

200

- union
  - object
    - `status_code` string
    - `payment_type` string
    - `account_id` string
    - `account_status` string
    - `channel_response_code` string
    - `channel_response_message` string
  - object
    - `status_code` string
    - `payment_type` string
    - `account_id` string
    - `channel_response_code` string
    - `channel_response_message` string

## Other responses

- `401`: 401

---

[API](https://skmtc.dev/midtrans/apis/coreapi.md) - [All operations](https://skmtc.dev/midtrans/apis/coreapi/llms.txt) - [OpenAPI document](https://skmtc.dev/midtrans/apis/coreapi/revisions/bbf7d11a1f1f?raw)
