---
title: "Create a bank account payment method from checkout token"
method: POST
path: "/checkout/v1/payment-methods/bank"
tags: ["Checkout"]
---

# Create a bank account payment method from checkout token

`POST /checkout/v1/payment-methods/bank`

Creates a new bank account payment method for the customer associated with the checkout token. Only one of USAccountData or CAAccountData must be sent, matching AccountDataType.

## Request body

- CheckoutCreateBankAccountInput — Create bank account payment method request body. Only one of USAccountData or CAAccountData must be sent, matching AccountDataType.
  - `account_data_type` 'us' | 'ca'
  - `ca_account_data` CheckoutCAAccountData — Canadian bank account data
    - `account_number` string
    - `institution_code` string
    - `transit_number` string
  - `custom_name` string
  - `institution_name` string
  - `receiver_name` string
  - `subtype` 'checkings' | 'savings'
  - `type` 'depository'
  - `us_account_data` CheckoutUSAccountData — US bank account data
    - `account_number` string
    - `routing_number` string

## Response `200`

OK

- CheckoutCreateBankAccountResponse — Create bank account response
  - `id` string

## Other responses

- `400` — Bad Request
- `422` — Unprocessable Entity

---

[API](https://skmtc.net/alternativepayments/apis/alternative-payments.md) · [All operations](https://skmtc.net/alternativepayments/apis/alternative-payments/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/alternativepayments/alternative-payments/revisions/730efda86cd1/schema)
