Function /buyer/counteroffer/accept
Function invocation
https://json.aftermarket.pl/buyer/counteroffer/accept
Function description
Accepts purchase counteroffer. An Escrow transaction for specified domain is started with the price indicated in the offer by the seller.
Input parameters
This function takes the following input parameters:
Parameter | Type | Required | Default value | Description |
---|---|---|---|---|
boolean | false | Only check for parameter correctness (deprecated and unused) | ||
price | float | YES | Offer price, used for verification | |
currency | string | YES | Offer price currency, used for verification | |
counterOfferId | integer | YES | Counteroffer identifier | |
message | string | "" | Message that will be sent to the seller |
Return value
Counteroffer accept result (structure with the following fields):
Field name | Type | Description |
---|---|---|
orderId | integer | Order id |
amount | float | Amount |
currency | string | Currency amount |
myAmount | float | Amount in member currency |
myCurrency | string | Member's currency |