LpCallbackService link
LP-implemented endpoint t-0 calls to bind the LP to a standing quote’s locked
rate for one authorized sale. Fiat mode only.
LpService link
t-0 endpoints the LP calls to push and withdraw standing quotes and to report
its self-initiated fiat settlements. Fiat mode only.
Requests And Response Types link
ExecuteQuoteRequest link
| Field | Type | Label | Description |
|---|
| execution_id | uint64 | | t-0’s id for this execution; idempotency key and the LP’s obligation handle. |
| quote_id | uint64 | | t-0’s id for the standing quote this execution is under. |
| quote_ref | string | | LP’s own identifier for that quote, echoed so the LP can attribute the execution. |
| acquirer_id | uint64 | | t-0’s stable id for the Acquirer; the LP resolves the registered bank destination from it. |
| local_currency | string | | ISO 4217 currency to deliver (e.g. COP). |
| local_amount | tzero.v1.common.Decimal | | Fiat amount owed to the Acquirer for this sale. |
| fx_rate | tzero.v1.common.Decimal | | Standing quote’s rate, locked for this sale at intent acceptance. |
| amount_usdt | tzero.v1.common.Decimal | | USDt the LP receives at settlement for this sale. |
| executed_at | google.protobuf.Timestamp | | |
ExecuteQuoteResponse link
This message has no fields defined.
FiatSettlementSentRequest link
| Field | Type | Label | Description |
|---|
| bank_transfer_ref | string | | Reference on the bank-rails transfer; idempotency key, unique per LP. |
| settled_execution_ids | uint64 | repeated | Executions this settlement clears, in the LP’s execution-space. |
| local_currency | string | | ISO 4217 currency delivered; matches the covered executions’ currency. |
| settlement_amount | tzero.v1.common.Decimal | | Local-fiat amount delivered; must equal the sum of the covered executions’ local amounts. |
| destination_account | string | | Acquirer’s registered bank destination the fiat was sent to. |
| settled_at | google.protobuf.Timestamp | | |
FiatSettlementSentResponse link
FiatSettlementSentResponse.Accepted link
This message has no fields defined.
FiatSettlementSentResponse.Rejected link
PublishQuoteRequest link
| Field | Type | Label | Description |
|---|
| quote_ref | string | | LP’s identifier for this quote; idempotency key, unique per LP. |
| local_currency | string | | ISO 4217 currency the quote prices (e.g. COP). |
| fx_rate | tzero.v1.common.Decimal | | Rate committed, in units of local_currency per 1 USDt. |
| min_amount_usdt | tzero.v1.common.Decimal | | Smallest single sale this quote may price, in USDt (domain rule: at least 0.01). |
| max_amount_usdt | tzero.v1.common.Decimal | | Largest single sale this quote may price, in USDt (domain rule: at least min_amount_usdt). |
| expires_at | google.protobuf.Timestamp | | Moment the quote stops standing, on t-0’s clock. |
PublishQuoteResponse link
PublishQuoteResponse.Failure link
PublishQuoteResponse.Success link
| Field | Type | Label | Description |
|---|
| quote_id | uint64 | | t-0’s id for the standing quote, used everywhere downstream. |
WithdrawQuoteRequest link
| Field | Type | Label | Description |
|---|
| quote_id | uint64 | | The standing quote to withdraw; must have been minted for this LP. |
WithdrawQuoteResponse link
WithdrawQuoteResponse.Failure link
WithdrawQuoteResponse.Success link
This message has no fields defined.
FiatSettlementSentResponse.Rejected.Reason link
| Name | Number | Description |
|---|
| REASON_UNSPECIFIED | 0 | |
| REASON_EXECUTION_UNKNOWN | 10 | A listed execution was never created for this LP. |
| REASON_EXECUTION_ALREADY_COVERED | 20 | A listed execution is already covered by an accepted settlement. |
| REASON_CURRENCY_MISMATCH | 30 | local_currency does not match the covered executions’ currency. |
| REASON_AMOUNT_MISMATCH | 40 | settlement_amount does not equal the covered executions’ sum. |
| REASON_DESTINATION_MISMATCH | 50 | destination_account is not the Acquirer’s registered bank destination. |
| REASON_ACQUIRER_MIXED | 60 | The covered executions span more than one Acquirer (one transfer credits one account). |
PublishQuoteResponse.Failure.Reason link
| Name | Number | Description |
|---|
| REASON_UNSPECIFIED | 0 | |
| REASON_CURRENCY_UNSUPPORTED | 10 | The quote’s currency is not supported. |
| REASON_LIMITS_INVALID | 20 | min/max bounds are not well-formed. |
| REASON_VALIDITY_INVALID | 30 | expires_at is in the past, too short to be usable, or beyond the max window. |
WithdrawQuoteResponse.Failure.Reason link
| Name | Number | Description |
|---|
| REASON_UNSPECIFIED | 0 | |
| REASON_QUOTE_UNKNOWN | 10 | quote_id is unknown or belongs to another LP. |