Stax
Quick Start
- Sign up at staxpayments.com and obtain API credentials
- Create a terminal in the Admin Console with the parameters below
- Start processing — the adapter is pre-built and ready to use
Overview
Payment processor with multi-step flow: customer→payment_method→charge, refund only if charged
| Provider ID | stax |
| Category | Card Processors |
| Website | staxpayments.com |
Supported operations: start_tx capture_tx refund_tx status
Authentication
API Key in Authorization header
Payment Flow
Payment Flow
Multi-step process:
-
Create customer (if not exists)
- POST to
/customers - Store customer_id
- POST to
-
Create payment method
- POST to
/payment_methods - Link to customer_id
- Card details tokenized
- Store payment_method_id
- POST to
-
start_tx - Create charge (one-phase)
- POST to
/charges - Use customer_id and payment_method_id
capture=truefor immediate charge- Returns charge_id
- POST to
Two-phase:
- start_tx - Authorization
- POST to
/chargeswithcapture=false - Status
authorized→authorized
- POST to
- capture_tx - Capture
- POST to
/charges/{id}/capture
- POST to
Refund:
- refund_tx - Refund charge
- POST to
/charges/{id}/refund - Only works if charge is captured
- Authorized-only charges cannot be refunded (use void in other systems)
- POST to