Skip to documentationDocumentation
On this page

conversion.source_restored

Manual conversion source released or returned.

Standalone manual conversion source was returned or released. Live-only. An inventory refusal before any debit also produces this outcome.

Money and processing#

Read source_returned_amount for the actual returned source. If inventory refused before reservation, all booked facts are "0", no attempt or ledger transfer exists, and the create response can still be a replayable 201 with source_restored. Zero returned source is correct because nothing was taken.

After an execution reservation is restored, source_returned_amount includes the unearned merchant-paid fee. credited_target_amount is zero. Read Get conversion with conversion_id; see ID reconciliation to find its financial operation, using include_unposted=true for refusal before debit.

Schema version 1#

Fields are taken from the public OpenAPI contract. Required nullable fields must be present and may contain null.

  • id · string · Required

    Stable event UUID for merchant-side idempotency. · Format: uuid

  • event_seq · integer · Required

    Global event sequence. Gaps are possible; it does not establish delivery or processing order. · Format: int64

  • type · "conversion.source_restored" · Required

    —

  • schema_version · 1 · Required

    —

  • environment · "live" · Required

    —

  • merchant_id · string · Required

    Format: uuid

  • subject_type · "manual_conversion" · Required

    —

  • subject_id · string · Required

    Format: uuid

  • occurred_at · string · Required

    Canonical business occurrence timestamp. · Format: date-time

  • data · object · Required

    Fired when standalone manual conversion source is restored, or inventory admission refuses the conversion before any debit. A refusal has source_returned_amount equal to 0 because no money was reserved. · Unknown properties are rejected

  • data.conversion_id · string · Required

    Standalone conversion ID; equals operation_id in the conversion API, not the finance operation ID. Read /v1/conversions/{conversion_id}. · Format: uuid

  • data.environment · "live" · Required

    —

  • data.source_amount · string · Required

    Requested gross source debit, including any merchant-paid fee. · Format: decimal · Pattern: ^\d+(.\d+)?$

  • data.source_currency · string · Required

    —

  • data.source_network · string · Required

    —

  • data.target_amount · string · Required

    Net execution result in the target asset; may differ from the merchant credit. · Format: decimal · Pattern: ^\d+(.\d+)?$

  • data.target_currency · string · Required

    —

  • data.target_network · string · Required

    —

  • data.status · "source_restored" · Required

    —

  • data.conversion_amount · string · Required

    Planned source principal after withholding any merchant-paid fee. · Format: decimal · Pattern: ^\d+(.\d+)?$

  • data.fee_amount · string · Required

    Planned source fee; zero when the platform pays. · Format: decimal · Pattern: ^\d+(.\d+)?$

  • data.fee_payer · "merchant" | "platform" · Required

    —

  • data.converted_amount · string · Required

    Source principal actually booked at settlement. · Format: decimal · Pattern: ^\d+(.\d+)?$

  • data.fee_charged_amount · string · Required

    Source fee actually booked at settlement. · Format: decimal · Pattern: ^\d+(.\d+)?$

  • data.source_returned_amount · string · Required

    Source actually returned; zero if nothing was reserved. · Format: decimal · Pattern: ^\d+(.\d+)?$

  • data.credited_target_amount · string · Required

    Target amount actually credited to the merchant. · Format: decimal · Pattern: ^\d+(.\d+)?$

Example — version 1#

json example
{
  "id": "00000000-0000-0000-0000-000000000012",
  "event_seq": 184206,
  "type": "conversion.source_restored",
  "schema_version": 1,
  "environment": "live",
  "merchant_id": "00000000-0000-0000-0000-000000000002",
  "subject_type": "manual_conversion",
  "subject_id": "00000000-0000-0000-0000-000000000003",
  "occurred_at": "2026-09-21T10:00:00Z",
  "data": {
    "conversion_id": "00000000-0000-0000-0000-000000000003",
    "environment": "live",
    "source_amount": "100",
    "source_currency": "USDT",
    "source_network": "tron",
    "target_amount": "0",
    "target_currency": "USDC",
    "target_network": "ethereum",
    "status": "source_restored",
    "conversion_amount": "99",
    "fee_amount": "1",
    "fee_payer": "merchant",
    "converted_amount": "0",
    "fee_charged_amount": "0",
    "source_returned_amount": "100",
    "credited_target_amount": "0"
  }
}

See delivery and envelope, signature verification, and business processes.