POST
/
wrapped-assets
/
redeem
curl --request POST \
  --url https://api.exchange.coinbase.com/wrapped-assets/redeem \
  --header 'Content-Type: application/json' \
  --header 'cb-access-key: <api-key>' \
  --header 'cb-access-passphrase: <api-key>' \
  --header 'cb-access-sign: <api-key>' \
  --header 'cb-access-timestamp: <api-key>' \
  --data '{
  "from_currency": "<string>",
  "to_currency": "<string>",
  "amount": "<string>",
  "idem": "<string>"
}'
{
  "redeem": {
    "id": "c5aaf125-d99e-41fe-82ea-ad068038b278",
    "from_amount": "11.00000000",
    "to_amount": "11.00000000",
    "from_account_id": "5dcc143c-fb96-4f72-aebf-a165e3d29b53",
    "to_account_id": "6100247f-90fc-4335-ac17-d99839f0c909",
    "from_currency": "USDC",
    "to_currency": "USD",
    "status": "completed",
    "conversion_rate": "1.006",
    "created_at": "2019-06-11T22:11:56.382Z",
    "completed_at": "2019-06-11T22:11:56.382Z",
    "canceled_at": "2019-06-11T22:11:56.382Z",
    "idem": "1c23a08a-8d09-4b6f-b549-985997bb5990"
  }
}

Authorizations

cb-access-key
string
header
required
cb-access-passphrase
string
header
required
cb-access-sign
string
header
required
cb-access-timestamp
string
header
required

Body

application/json

Response

200
application/json

A successful response.

The response is of type object.