---
title: "Get Pay Account (GoPay Tokenizations)"
method: GET
path: "/v2/pay/account/{account_id}"
---

# Get Pay Account (GoPay Tokenizations)

`GET /v2/pay/account/{account_id}`

## Request

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

Get account's linked status for 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
  - object
    - `status_code` string
    - `payment_type` string
    - `account_id` string
    - `account_status` string
  - object
    - `status_code` string
    - `payment_type` string
    - `account_id` string
    - `account_status` string
    - `metadata` object
      - `payment_options` object[]
        - `name` string
        - `active` boolean
        - `balance` object
          - `value` string
          - `currency` string
        - `metadata` object
        - `token` string
  - object
    - `status_code` string
    - `payment_type` string
    - `account_id` string
    - `account_status` 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)
