# Payment accounts

Add the bank accounts and online payment gateways that receive your customers' money, then attach them to a Payment service.

Source: https://support.rework.com/article/commerce-payment-accounts

> **In plain words:** A **payment account** is a place your customers' money can land: either a **bank account** (the customer transfers money and you confirm it arrived) or an **online gateway** such as Stripe or PayPal (the customer pays by card or wallet and the provider tells Commerce automatically). You add accounts here, then attach them to a Payment service so quotes, orders and invoices can be paid. New to the terms used here? See [Commerce basics](https://support.rework.com/article/commerce-basics).

**Where to find it:** Commerce > left icon rail > **Settings** > **Accounts & integrations** > **Payment accounts**. **Who can use it:** workspace admins.

## How the pieces fit

1. A **payment account** holds the bank details or the gateway credentials.
   
2. A **Payment service** (see [Services](https://support.rework.com/article/commerce-services)) chooses which accounts customers can use.
   
3. Quote, Order and Invoice services point to a Payment service through their **Payment processor** or **Payment** setting.
   

If any link is missing, customers see no way to pay.

## Sandbox and live

The header tells you which mode the workspace is in, for example "Payment accounts · 3 · Live environment" or "Payment accounts · 3 · Sandbox environment". Sandbox is for practice, with test keys and no real money. Live moves real money, so use live keys only there.

## Add a bank account

1. Click **Settings** on the left icon rail, then **Payment accounts**.
   
2. Click **New account**. A dialog titled **New payment account** asks "Choose how you want to collect money."
   
3. Under **Bank transfer** ("Manual settlement, you verify the money arrived."), pick **Bank transfer**.
   
4. Fill in **Name** (required), then **Bank name**, **Account number** and **Account holder** (all required).
   
5. Optionally add **Payment QR** (click **Upload image**), **SWIFT / BIC** and **Transfer memo**. In the memo, `{code}` is replaced by the record code, so a payer sees a reference that matches your quote or invoice.
   
6. In **Owners**, add non-admin users who may manage this account. Admins always can.
   
7. Click **Create account**.
   

Customers who pay by bank transfer see these details at checkout and on the invoice, so check them twice.

![The New payment account dialog](https://storage.googleapis.com/reworkv3-public/success/261011/nnn5EsSKOZkgzS7l1rKtzLHeDnmOf2P1B5ivPgkfWJuNif7Eypa5xj9ik8epUbSG/img.VrD0HtmTdS9DDJ6XCVNY5bcNlq4xvGF4PDNrhXslvUkxAUHAcdcc53khNWOzAsON.png)

## Add an online gateway

1. Click **New account**, then choose a provider under **Payment gateways** ("Online payments settled automatically by the provider.").
   
2. Pick one of the providers listed:
   

| 
Provider

 | 

Typical use

 |
| --- | --- |
| 

[Stripe](https://support.rework.com/article/commerce-connect-stripe)

 | 

Cards and wallets worldwide

 |
| 

[PayPal](https://support.rework.com/article/commerce-connect-paypal)

 | 

PayPal balance and cards

 |
| 

[VNPay](https://support.rework.com/article/commerce-connect-vnpay), [Foxpay](https://support.rework.com/article/commerce-connect-foxpay), [MoMo](https://support.rework.com/article/commerce-connect-momo), [ZaloPay](https://support.rework.com/article/commerce-connect-zalopay), [Payoo](https://support.rework.com/article/commerce-connect-payoo)

 | 

Vietnam: bank cards, QR and e-wallets

 |
| 

[HitPay](https://support.rework.com/article/commerce-connect-hitpay)

 | 

Cards, PayNow and local wallets across Southeast Asia

 |
| 

[Billplz](https://support.rework.com/article/commerce-connect-billplz)

 | 

Online banking and e-wallets in Malaysia

 |

Each provider has its own guide, linked above, with where to find every key in the provider's dashboard.

1. Enter **Name**, then the provider's own fields (for Stripe: **Secret key** and **Webhook signing secret**, plus an optional **Publishable key**). Secrets are hidden after saving and show only the last four characters.
   
2. Click **View guideline** for step-by-step help. It lists where to find each key in the provider's dashboard, and a **Webhook URL** to copy into it. A webhook is how the provider tells Commerce a payment arrived.
   
3. Click **Create account**.
   

> **Tip:** When editing an account, leave a secret field blank to keep the stored value.

## Read the Payment accounts table

| 
Column

 | 

What it shows

 |
| --- | --- |
| 

**Instrument**

 | 

The name and provider

 |
| 

**Method**

 | 

**Bank transfer** or **Gateway**

 |
| 

**Credentials**

 | 

The bank number, the key names with last four characters, or **Missing** in red

 |
| 

**Status**

 | 

**Enabled** or **Disabled**

 |

The row icons let you edit, **Disable**, **Enable** or delete. Delete asks you to detach the account from services first.

![The Payment accounts table](https://storage.googleapis.com/reworkv3-public/success/261011/h2EcxVQiq5uocCUsUYEwm5Q2NApvir51NNVoko2wjtNkJXmkDR6Isw6I5ZpycdOD/img.TxIJPVAopr3u781l32qnkJqFt2uw6QcX8YeNtveBuKYvYXrFU3wTLYMvrhWpCz5M.png)

## Attach accounts to a Payment service

1. Go to **Settings** > **Services** and click your Payment service.
   
2. Open **Payment accounts** in the left menu.
   
3. Under **Bank transfer**, switch it on and tick the accounts to offer. The buyer sees the account details and confirms; an admin settles the checkout by hand.
   
4. Under **Online gateways**, switch it on and tick the gateways. The buyer is redirected to the provider and the checkout settles automatically.
   
5. Click **Save payment accounts**. Attach at least one, or the service cannot take a payment.
   

## Troubleshooting

| 
Problem

 | 

Why it happens

 | 

What to do

 |
| --- | --- | --- |
| 

**Credentials** shows **Missing**

 | 

A required key was never saved

 | 

Click the pencil icon and enter the key

 |
| 

A payment succeeds at the provider but Commerce does not update

 | 

The webhook is not set up, or the signing secret is wrong

 | 

Open **View guideline**, copy the **Webhook URL** into the provider and paste its signing secret

 |
| 

"No bank accounts yet" in a Payment service

 | 

No account was added

 | 

Add one here first

 |
| 

Cannot delete an account

 | 

It is still attached to a service

 | 

Remove it from the Payment service, then delete

 |
