---
title: Accepting Payments
description: Create a payment and redirect your customer to complete it.
---

:::note
This is dummy placeholder content for scaffolding purposes.
:::

Create a payment with `POST /payments`, then redirect your customer to complete it with their chosen method.

```bash
curl https://api.apipay.id/v1/payments \
  -H "Authorization: Bearer sk_live_..." \
  -d amount=150000 -d currency=IDR -d method=qris
```

See [Create a payment](/api/payments/create-payment) in the API reference.
