---
title: "View payment account"
method: GET
path: "/v1/PaymentAccounts/{id}"
tags: ["PaymentAccounts"]
---

# View payment account

`GET /v1/PaymentAccounts/{id}`

Find a single payment account by ID.

## Path parameters

- `id` integer, required

## Response `200`

OK

- RevWebAPIModelsGetOrSearchOfRevAppModelsPaymentAccountsPaymentAccountModel
  - `ok` boolean
  - `payment_account_id` integer — Primary identifier for this payment account.
  - `address_id` integer — Foreign identifier for the address used for the billing address.
  - `method` 'CC' | 'ACH' — The method used by this account to electronically process a payment.
  - `last_used` string, date-time — Date and time this account was last used to make a payment.
  - `last_process_result` 'NONE' | 'DECLINED' | 'APPROVED' | 'ERROR' — Result of the last attempted payment using this payment account.
  - `created_date` string, date-time — Date and time that this payment account was created.
  - `created_by` integer — Foreign identifier indicating the user who created this payment account.
  - `last_4` string — The last four digits of the credit card or bank account, depending on the method.
  - `token` string — The token assigned by the payment gateway and used for secure payment transacting.
  - `merchant_profile_id` integer — Foreign identifier indicating the merchant profile associated with this payment account.
  - `bank_account` RevAppModelsPaymentAccountsBankModel
    - `account_name` string — The name on the bank account.
    - `account_type` 'CHECKING' | 'SAVINGS' — Indicates the type of bank account.
    - `bank_name` string — Name of the bank at which this account resides.
    - `routing_number` string — The bank routing number.
    - `links` RevAppComponentsLink[]
      - `rel` string
      - `href` string
  - `credit_card` RevAppModelsPaymentAccountsCardModel
    - `expiration_date` string, date-time — A short description of the payment method.
    - `name_first` string — First name of the card holder.
    - `name_last` string — Last name of the card holder.
    - `brand` 'AMEX' | 'DISCOVER' | 'DINERS' | 'CC' | 'VISA' | 'MASTERCARD' — Indicates the brand of card recorded in this payment account.
  - `links` RevAppComponentsLink[]
    - `rel` string
    - `href` string

## Other responses

- `404` — NotFound
- `500` — InternalServerError

---

[API](https://skmtc.net/rev-io/apis/rev-io-api.md) · [All operations](https://skmtc.net/rev-io/apis/rev-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rev-io/rev-io-api/versions/135571434f6c/schema)
