Skip to navigation

Get a trade breakdown

Get a trade breakdown.

Credential: Customer session

Before you call

  • A customer session for the same partner, integration, customer, wallet and chain.
  • An active saved account matching the catalog payment method.
  • A registered customer wallet and supported chain.

Reads a breakdown that belongs to the authenticated customer’s partner, integration, wallet and chain. The response contains the stored pricing and status. It never reprices a breakdown or extends its deadline.

Funding status is independent of transaction jobs. AWAITING_FUNDING can remain after the signing deadline while Sinbad catches up on confirmed blocks, and EXPIRED is reported only once Sinbad has checked the chain past that deadline. Poll this endpoint even if you never submitted a transaction hash.

A breakdown that a newer request replaced returns 409 CONFLICT, unless its escrow transaction funded anyway. In that case the call returns CONFIRMED with the original pricing and no escrowTransaction or approval transactions to sign.

Confirm with Sinbad that this endpoint is enabled in your environment.

Errors

StatusCodeWhat to do
400VALIDATION_ERRORCorrect the fields reported in details before retrying.
401UNAUTHENTICATEDCreate a new customer session or use a valid server credential.
403FORBIDDENCheck credential ownership, integration and the supplied Origin.
404NOT_FOUNDCheck the resource ID. A resource that belongs to someone else also returns 404.
409CONFLICTRead the current state again before you prepare or retry.
503UPSTREAM_ERRORRetry with backoff; preserve the same idempotency key for a repeated mutation.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

breakdownIdstringRequired

Response

Financial breakdown, prepared escrow call, approval state and current submission status.
merchantobject

Offer values are current observations; breakdown POST, GET and retries return the same creation snapshot.

breakdownIdstring
createdAtdatetime
expiresAtdatetime
Fresh breakdown creation plus 300 seconds.
serverTimedatetime
sideenum
Allowed values:
statusenum
Confirmed escrow outcome, independent of optional transaction tracking.
Allowed values:
tradeIdstring or null
tradeDetailsobject

Send exactly one of: YouPay, or YouReceive.

merchantRateDetailsobject
fiatCurrencyobject
paymentMethodobject
submissionobject or null
escrowTransactionobject or map from strings to anyOptional

Use this escrow call after approvals confirm. Nonce/gas/fees are populated by the signer, not pinned before approval.

approvalRequiredbooleanOptional
Allowance when the breakdown was created. Sinbad rechecks it when you submit.
approvalobject or map from strings to anyOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
503
Service Unavailable Error