Skip to content
Esc
↑↓navigate↵open⌘Jpreview
On this page

Accepting Payments

Create a payment and redirect your customer to complete it.

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

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 in the API reference.