Authorization: Digest username=guest, realm="test", nonce="2", uri="/uri", response="***"
{
"type": "digital",
"currency": "TRY",
"customer_external_id": "{{customer_external_id}}",
"total": 10000
}
curl --location --request POST 'https://api.staging.mintedconnect.com/partner/pricefix' \
--header 'api-version: 3' \
--header 'api-version;' \
--header 'x-client-id;' \
--header 'Accept-Language: tr' \
--header 'Authorization: Digest <parameters>' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "digital",
"currency": "TRY",
"customer_external_id": "",
"total": 10000
}'
{
"data": {
"token": "PgS6GJ2J5IdlOkZsWwyjf88E8nvuAElw",
"total": 50,
"expires_at": "2025-08-26T16:52:27+03:00",
"expire_ttl": 239,
"is_total_price": true,
"prices": [
{
"currency_id": 1000015,
"product_id": 3000088,
"spot_price": 4398.74,
"buy_price": 4442.73,
"sell_price": 4331.66,
"buy_amount": 0.01,
"sell_amount": 0.01,
"sku": "BGAU",
"buy_total": 44.43,
"sell_total": 43.32
},
{
"currency_id": 1000016,
"product_id": 3000089,
"spot_price": 50.52,
"buy_price": 51.03,
"sell_price": 48.99,
"buy_amount": 0.97,
"sell_amount": 1.02,
"sku": "BGAG",
"buy_total": 49.5,
"sell_total": 49.97
},
{
"currency_id": 1000017,
"product_id": 3000090,
"spot_price": 1758.43,
"buy_price": 1776.01,
"sell_price": 1713.85,
"buy_amount": 0.02,
"sell_amount": 0.02,
"sku": "BGPT",
"buy_total": 35.52,
"sell_total": 34.28
},
{
"currency_id": 1000018,
"product_id": 3000091,
"spot_price": 1481.42,
"buy_price": 1496.23,
"sell_price": 1443.86,
"buy_amount": 0.03,
"sell_amount": 0.03,
"sku": "BGPD",
"buy_total": 44.89,
"sell_total": 43.32
}
],
"currency": "TRY"
},
"success": true,
"code": 0,
"message": ""
}