Skip to navigation

List trades and history

List trades and history.

Credential: Customer session or partner secret

Before you call

  • A customer session, or an owning partner server credential without Origin.

Defaults to confirmed funded trades for the verified

partner, integration, customer, registered wallet and chain. Newest first,

up to 20 per page. includePending=true includes accepted pending trades and

definitive execution failures, ordered by stable createdAt and document ID.

Unsubmitted breakdowns/checkouts remain excluded. Summaries omit payment

instructions, proof contents and chat. Pass nextCursor as after to continue.

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.
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.

OR
AuthorizationBearer

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

Query parameters

integrationIdstringOptional

Required with a partner credential; must be authorized by that credential.

partnerUserIdstringOptional

Partner-only optional customer reference filter.

updatedSincedatetimeOptional

Partner-only lower bound on lifecycle updatedAt.

untildatetimeOptional

Partner-only upper watermark returned on page one; repeat on later pages.

limitintegerOptional1-100Defaults to 20
Partner list page size.
statusenumOptional
includePendingbooleanOptionalDefaults to false
afterstringOptional
Trade ID from nextCursor.

Response

Funded trade summaries and nextCursor.
tradeslist of objects
nextCursorstring or null
untildatetimeOptional

Returned for partner-server recovery; preserve across cursor pages.

Errors

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