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 'Content-Type: application/json' \
--data-raw '{
"type": "digital",
"currency": "TRY",
"customer_external_id": "",
"total": 10000
}'
{
"data": {
"token": "ybKRJrJrgaXFTY44KPSLYgORLCQJS08q",
"total": 1000,
"expires_at": "2024-06-13T03:40:31+03:00",
"expire_ttl": 243,
"is_total_price": true,
"prices": [
{
"currency_id": 1000004,
"product_id": 3000001,
"spot_price": 2407.05,
"buy_price": 3734.55,
"sell_price": 2419.99,
"buy_amount": 0.27,
"sku": "GAU"
},
{
"currency_id": 1000005,
"product_id": 3000002,
"spot_price": 30.6757,
"buy_price": 33.61,
"sell_price": 29.58,
"buy_amount": 29.76,
"sku": "GAG"
}
],
"currency": "TRY"
},
"success": true,
"code": 0,
"message": ""
}