Skip to main content

Stax

Quick Start
  1. Sign up at staxpayments.com and obtain API credentials
  2. Create a terminal in the Admin Console with the parameters below
  3. Start processing — the adapter is pre-built and ready to use

Go to Stax →

Overview

Payment processor with multi-step flow: customer→payment_method→charge, refund only if charged

Provider IDstax
CategoryCard Processors
Websitestaxpayments.com

Supported operations: start_tx capture_tx refund_tx status


Authentication

API Key in Authorization header


Payment Flow

Payment Flow

Multi-step process:

  1. Create customer (if not exists)

    • POST to /customers
    • Store customer_id
  2. Create payment method

    • POST to /payment_methods
    • Link to customer_id
    • Card details tokenized
    • Store payment_method_id
  3. start_tx - Create charge (one-phase)

    • POST to /charges
    • Use customer_id and payment_method_id
    • capture=true for immediate charge
    • Returns charge_id

Two-phase:

  1. start_tx - Authorization
    • POST to /charges with capture=false
    • Status authorizedauthorized
  2. capture_tx - Capture
    • POST to /charges/{id}/capture

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)

Resources