Before you start
- A Flowlix Sandbox secret key.
curlor another server-side HTTP client.- A server endpoint that can receive the customer at
return_url. - Five minutes for one test payment.
Choose your path
Hosted Payment Page Quickstart
Choose HPP when you want Flowlix to collect card details on a hosted page.
Your server creates the Payment, redirects the customer, and retrieves the
final result.
Direct API Quickstart
Choose Direct API only when your checkout and backend are approved to
handle raw card data. Your server submits the card and handles any 3D
Secure redirect.
What both paths finish with
Each quickstart ends by retrievingGET /v1/payments/{id} until the Payment
reaches a terminal status:
SUCCEEDED— fulfil the order.FAILED— inspectfailure_codeand create a new Payment for another attempt when appropriate.EXPIRED— the customer did not complete the required browser action; create a new Payment if they try again.
After your first payment
Refunds
Return the full or partial refundable amount and track the Refund through
its parent Payment.
Payouts
Submit a card payout, retrieve it by ID, and reconcile payout lists.
Payment lifecycle
Handle every non-terminal and terminal Payment status.
Webhooks
Receive and verify Payment and Refund events on your server.
API errors
Branch safely on HTTP status,
error.code, and Request-Id.