Card payments
Customers add a card on NETOPIA Payments' hosted page. Payware keeps only the token, so you can charge that card later, once or on a schedule, with a single API call.
You start an enrollment and send the customer to NETOPIA Payments' hosted page. A 0 RON verification stores the card; Payware never receives the card number.
Create a payment for any amount in RON, EUR or USD against the customer's stored card. Send an Idempotency-Key and a retry can never charge twice.
The outcome arrives as a payment.succeeded or payment.failed webhook. A payment that is still pending is settled when NETOPIA Payments confirms it.
curl https://your-payware-host/v1/payments \
-H "authorization: Bearer sk_test_..." \
-H "idempotency-key: order-1042" \
-H "content-type: application/json" \
-d '{"customer_id":"<customer>","amount":2500,"currency":"RON","description":"Setup fee"}'
See Payments and Instruments in the reference.
Everything on this page works in test mode first.