# Payment Accounts

A payment account holds money for one of your customers. You own it, and Glomo holds the funds. Create the customer to open the account, add funds to it with a card, read its balances and statement, and send money from it to the customer's beneficiaries. Every call names the account in its path, so it reads and changes that account only. See [Payment accounts](/payment-accounts) for the full flow.

 - [PaymentAccountSummary](https://docs.glomo.one/api-reference/openapi/payment_account/paymentaccountsummary.md): Schema: #/components/schemas/PaymentAccountSummary
 - [PaymentAccountOrder](https://docs.glomo.one/api-reference/openapi/payment_account/paymentaccountorder.md): Schema: #/components/schemas/PaymentAccountOrder
 - [PaymentAccountTransaction](https://docs.glomo.one/api-reference/openapi/payment_account/paymentaccounttransaction.md): Schema: #/components/schemas/PaymentAccountTransaction
 - [PaymentAccountBeneficiary](https://docs.glomo.one/api-reference/openapi/payment_account/paymentaccountbeneficiary.md): Schema: #/components/schemas/PaymentAccountBeneficiary
 - [GET /payment-accounts](https://docs.glomo.one/api-reference/openapi/payment_account/listpaymentaccounts.md): Lists the payment accounts you own, newest first. Pass `customer_id` to find the account that Create a customer (`POST /v1/customer`) opened for that customer. This list takes `page` and `per_page`. I
 - [GET /payment-accounts/{id}](https://docs.glomo.one/api-reference/openapi/payment_account/getpaymentaccount.md): Returns the status and the balances of a payment account. Call it to show the customer their balance, and to check that the account is `active` before you offer to add funds or send money.
 - [POST /payment-accounts/{payment_account_id}/orders](https://docs.glomo.one/api-reference/openapi/payment_account/createpaymentaccountorder.md): Creates an order that adds funds to the payment account with a card payment. The account is credited the order amount. When a card fee applies, the card is charged the order amount plus the fee. The c
 - [GET /payment-accounts/{payment_account_id}/orders/{id}](https://docs.glomo.one/api-reference/openapi/payment_account/getpaymentaccountorder.md): Returns an add-funds order of this payment account, with a new `checkout_url`. Call it from your server after the checkout reports a result, and use its `status` as the result. Do not credit the custo
 - [GET /payment-accounts/{payment_account_id}/transactions](https://docs.glomo.one/api-reference/openapi/payment_account/listpaymentaccounttransactions.md): Returns the statement of a payment account: credits and debits, newest first by `processed_at`. A line is written when money moves on the account. A card payment adds a credit when it succeeds. A payo
 - [GET /payment-accounts/{payment_account_id}/transactions/{id}](https://docs.glomo.one/api-reference/openapi/payment_account/getpaymentaccounttransaction.md): Returns one statement line with the details a receipt screen needs: the status of the movement behind it, its status history, the fees the customer paid, the beneficiary and the conversion of a payout
 - [GET /payment-accounts/{payment_account_id}/beneficiaries](https://docs.glomo.one/api-reference/openapi/payment_account/listpaymentaccountbeneficiaries.md): Lists the beneficiaries of this payment account, newest first. This list takes `page` and `per_page`. It has no status filter, so filter on `status` in your app.
 - [POST /payment-accounts/{payment_account_id}/beneficiaries](https://docs.glomo.one/api-reference/openapi/payment_account/createpaymentaccountbeneficiary.md): Adds a bank account or UPI ID that the customer can send money to. The beneficiary belongs to this payment account and receives payouts only from it. The body is the same as Create a beneficiary (`POS
 - [GET /payment-accounts/{payment_account_id}/beneficiaries/{id}](https://docs.glomo.one/api-reference/openapi/payment_account/getpaymentaccountbeneficiary.md): Returns a beneficiary of this payment account.
 - [DELETE /payment-accounts/{payment_account_id}/beneficiaries/{id}](https://docs.glomo.one/api-reference/openapi/payment_account/deletepaymentaccountbeneficiary.md): Removes a beneficiary from this payment account. The beneficiary no longer shows in the list, and a payout to it returns `404`.
 - [POST /payment-accounts/{payment_account_id}/quotes/preview](https://docs.glomo.one/api-reference/openapi/payment_account/previewpaymentaccountquote.md): Returns the exchange rate, the fees and the amount the beneficiary receives, and saves nothing. A preview has no `id` and no `expires_at`. Call it each time the customer changes the amount. A `local_t
 - [POST /payment-accounts/{payment_account_id}/quotes](https://docs.glomo.one/api-reference/openapi/payment_account/createpaymentaccountquote.md): Locks the price when the customer confirms the payout. The body is the same as Preview a payout price. The response has one quote for each rail. Pick the quote for the rail you want, and send its `id`
 - [POST /payment-accounts/{payment_account_id}/payouts](https://docs.glomo.one/api-reference/openapi/payment_account/createpaymentaccountpayout.md): Sends money from the payment account balance to one of its beneficiaries, at the price of a locked quote. Pick a quote whose rail the beneficiary supports: a `upi` quote needs a beneficiary with a UPI
