Skip to main content

Payments vs transactions

A payment represents the merchant’s intent to collect funds. A transaction represents a single processing attempt against a provider. One payment can have multiple transactions when Yuno retries or cascades across providers.

Why multiple transactions

Yuno creates additional transactions in these scenarios:

Transaction types

Transaction statuses

Transaction statuses describe a single provider attempt. For the overall payment outcome (which rolls up across every transaction in a payment) see payment flow.

Transaction flows by type

Each transaction type can reach specific statuses. The table below shows every valid outcome per type.

How a purchase flows

The most common type. This shows every path a purchase can take.

How authorize and capture flow

Two step payment: authorize reserves funds, capture transfers them.

How chargebacks flow

View transactions

Retrieve every transaction for a payment.
Each transaction includes the provider used, the provider’s raw response code, and timing. The codes below are illustrative ISO 8583 values. Actual code sets vary by provider:
See the Transaction object for the full schema.
provider_response_code and provider_response_message contain the raw acquirer or issuer response. Useful for debugging declines, but they vary across providers.

Transaction vs payment status

The payment status reflects the final outcome across all transactions. If the first transaction is declined but a cascade succeeds, the payment status is SUCCEEDED even though one transaction was DECLINED.
Use payment status for business logic (order fulfillment, customer notifications). Use transaction level data only for debugging and analytics.

When to look at transaction-level data

Transaction records answer questions that payment records cannot: which provider approved the charge, which one declined and with what code, and how long each attempt took. Typical uses:
  • Debugging a cascade. A payment succeeds on the second try. The transactions list shows which provider failed, the decline reason (provider_response_message), and which provider recovered the sale.
  • Reconciling with a specific acquirer. Finance teams matching settlement reports to one provider filter by the provider field on transactions.
  • Analyzing retry health. Approval rate per provider and average cascade depth come from aggregating transactions, not payments.

What next

Payments

Create, capture, refund, and cancel with code.

Payment flow

The conceptual lifecycle and status state machine.

Providers

How Yuno picks which provider to run each transaction against.

Transaction object

The full transaction schema in the API reference.