Skip to main content
POST
cURL
Submit a future transaction for processing using its future_transaction_id and recurring_id. Provide amount to override its scheduled amount for this charge.
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.

Authorizations

x-signature
string
header
required

Lowercase hex HMAC-SHA256 of {x-timestamp}.{METHOD}.{path_with_query}.{raw_body} keyed with your API secret. See https://www.smartretry.com/docs/authentication.

x-timestamp
string
header
required

Current Unix time in seconds; must be within 5 minutes of server time and match the value used in the signature.

Headers

idempotency-key
string

Optional idempotency key, scoped to terminal + matched route pattern. A replayed request returns the cached response with Idempotency-Replayed: true. Send it exactly once (a repeated header is rejected); 1-255 characters, letters, digits, _ and - only.

Required string length: 1 - 255
Pattern: ^[\w-]+$

Path Parameters

terminal_friendly_id
string
required

The unique identifier of the terminal.

Required string length: 6
Pattern: ^[\dA-Za-z]{6}$

Body

application/json
future_transaction_id
string
required

The future transaction identifier to charge immediately.

Required string length: 8
Pattern: ^[\dA-Za-z]{8}$
recurring_id
string
required

The recurring subscription identifier this future transaction belongs to.

Required string length: 8
Pattern: ^[\dA-Za-z]{8}$
amount
number

Override amount in major currency units (e.g. 10.00 for $10.00 USD). Uses the scheduled amount if omitted.

Required range: 0.01 <= x <= 999999.99

Response

Default Response

transaction_id
string
required
Required string length: 8
Pattern: ^[\dA-Za-z]{8}$
recurring_id
string
required
Required string length: 8
Pattern: ^[\dA-Za-z]{8}$
future_transaction_id
string
required
Required string length: 8
Pattern: ^[\dA-Za-z]{8}$
accepted
boolean
required
order_id
string
required
Required string length: 8
Pattern: ^[\dA-Za-z]{8}$