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.
POST /v1/payments/recurring/init/{terminal_friendly_id}
Initializing a recurring agreement creates a billing series and processes the first payment. SmartRetry returns a recurring_id that identifies the series for all subsequent operations - store it alongside your subscription record.
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 6-character terminal identifier. Scopes the request to your merchant account configuration.
Request body
Charge amount in major currency units (e.g.,
19.99 for $19.99). Minimum 1, maximum 999999999.ISO 4217 currency code (e.g.,
USD, EUR, GBP).Configuration for the recurring billing series.
Card details for the payment. Mutually exclusive with
token.Payer identity. Required unless you provide
payer_fingerprint.An 88-character stored payer fingerprint. Mutually exclusive with
payer - provide one or the other, not both.An 88-character stored payment token. Use this instead of
payment_instrument when charging a saved card.Card verification value. Optional, but may be required depending on your terminal configuration.
Response
Unique identifier for the initial transaction in this series (8 characters).
Order identifier associated with the initial transaction (8 characters).
Unique identifier for the recurring series (8 characters). Store this value - you need it for all subsequent recurring operations.
true if the initial payment was authorized and the series was created. false if the payment was declined. A 200 response with accepted: false means the request was valid but the transaction did not go through.Example response