v1

latestOpenAPI 3.0.02026-07-26103425558.9 KB
Canton Offers

Accept a Canton offer

Accept a Canton offer. The offer must be in RECEIVED status and not expired. Upon acceptance, the offer status will change to PENDING and a job will be created to process the acceptance.

post/v2/wallets/{walletId}/offers/{offerId}/accept

Path parameters

walletIdstring uuid required

ID of the wallet

offerIdstring uuid required

ID of the Canton offer

Response

Success

idstring uuid

Unique identifier for the Canton offer

status'RECEIVED' | 'PENDING' | 'ACCEPTED' | 'REJECTED' | 'WITHDRAWN' | 'EXPIRED'

Current status of the offer

amountstring

The amount of the offer

currency'usdcx'

The currency of the offer

creationTransactionHashstring

The transaction hash when the offer was created

executionTransactionHashstring nullable

The transaction hash when the offer was accepted or rejected (null if not yet executed)

createdAtstring date-time

Timestamp when the offer was created

updatedAtstring date-time

Timestamp when the offer was last updated

expiresAtstring date-time nullable

Timestamp when the offer expires (null if no expiration)