Authorization: Digest username=guest, realm="test", nonce="2", uri="/uri", response="***"
{
"type": "digital"
}
curl --location --request POST 'https://api.staging.mintedconnect.com/partner/pricefix' \
--header 'x-client-id;' \
--header 'api-version: 3' \
--header 'Accept-Language: tr' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "digital"
}'
{
"data": {
"token": "Kqb0TCsxgGjL3z1pxbTmiTqtFbLY3FqG",
"expires_at": "2023-06-21 18:10:37",
"expire_ttl": 181,
"prices": [
{
"currency_id": 1000004,
"product_id": 3000001,
"spot_price": 49.1,
"buy_price": 54.01,
"sell_price": 48.61,
"sku": "GAU"
},
{
"currency_id": 1000005,
"product_id": 3000002,
"spot_price": 0.6071,
"buy_price": 0.66781,
"sell_price": 0.59496,
"sku": "GAG"
}
],
"currency": "GBP"
},
"success": true,
"code": 0,
"message": ""
}