A sale authorizes and captures a payment in one request. Use this endpoint when you want to immediately charge the customer without a separate capture step.Documentation Index
Fetch the complete documentation index at: https://www.smartretry.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Safe retries for this POST endpoint use the
Idempotency-Key header. Reuse the same key only when retrying the exact same request body. See Idempotency.Path parameters
Your terminal identifier. Exactly 6 characters.
Request body
Your unique identifier for this transaction. Use this to correlate SmartRetry transactions with your own records. Maximum 100 characters.
Amount to charge in major currency units (e.g.,
49.99 for $49.99). Minimum 1, maximum 999999999.Order details, including payer identity and payment instrument.
Stored payment token (88 characters). Use this instead of
order.payment_instrument.card_number for repeat customers.Card verification value (CVV/CVC). Optional but recommended for card-not-present transactions.
Human-readable description of the transaction. Maximum 500 characters.
SmartRetry order ID (exactly 8 characters). Provide this to associate the transaction with an existing order.
IPv4 address of the payer making the request. Used for fraud detection.
Device and browser details for 3DS and fraud scoring.
Shipping indicator for 3DS authentication.
Indicates how long the shipping address has been associated with the customer. Used for 3DS.
Indicates the delivery timeframe for the order. Used for 3DS.
Shipping recipient details. Used for 3DS and fraud checks.
Response
SmartRetry’s unique identifier for the order. Exactly 8 characters.
The
merchant_transaction_id you provided in the request, echoed back for confirmation.true if the transaction was accepted for processing. A value of true does not guarantee approval - poll the status endpoint to confirm the final outcome.accepted: true means SmartRetry has accepted the transaction for processing. To confirm whether the payment was approved by the issuer, fetch the transaction status using the returned transaction_id.