> ## Documentation Index
> Fetch the complete documentation index at: https://developers.paysum.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Add balance

> Credits a customer’s store balance. Customers that do not exist yet are created.

`POST /api/customer-balance-api/customers/add-balance`

Credits a customer’s store balance. Customers that do not exist yet are created.

Permission: `customer_balance_api`

| Name | In | Type | Required | Description |
| - | - | - | - | - |
| `email` | body | string | yes | Customer email address. |
| `amount` | body | number | yes | Positive amount to add. |
| `reason` | body | string | no | Shown in the customer’s transaction history. |
| `metadata` | body | object | no | Stored with the transaction. |

```json theme={null}
{
  "email": "jane@example.com",
  "amount": 10,
  "reason": "Referral reward"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.