Skip to main content
POST
Accept an offer

Path Parameters

offerId
string
required

Body

application/json
customerId
string
required

The ID of the customer accepting the offer.

Example:

"customer_c194be5e3c3e49a3a8d6d6be6320b14f"

takerWalletAddress
object
required

The address of the wallet accepting the offer.

Example:

"0xBa34C2E7aF3Df37842B1A6B382A8c7Dd5c6D2e47"

Response

Offer accepted successfully.

tokenId
object
required

The token that is being offered to be traded for.

Example:

"0xabc1234567890def1234567890abcdef12345678"

makerWalletAddress
object
required

The wallet address of the customer who made the offer.

Example:

"0x12b5aEDEb98767823Dd473bE7C88A8203FaA7Ee8"

takerWalletAddress
object | null
required

The wallet address of the customer who accepts the offer (if accepted).

Example:

"0xA74269C3DE980723A1D49a017cBbD1839C41D4e7"

amount
number
required

The quantity of tokens involved in the offer.

Example:

5

priceInEuro
number
required

The total price in euros for the offer.

Example:

250.75

status
enum<string>
required

The current status of the offer.

Available options:
OPEN,
CANCELLED,
FILLED
Example:

"OPEN"

intention
enum<string>
required

The intention of the offer maker.

Available options:
BUY,
SELL
Example:

"BUY"

maker
object
required

The customer who made the offer.

taker
object | null
required

The customer who accepted the offer (if accepted).