Authorization: Digest username=guest, realm="test", nonce="2", uri="/uri", response="***"
{
"type": "digital",
"customer_external_id": "{{external_customer_id}}"
}
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",
"customer_external_id": "MTD0018232"
}'
{
"data": {
"token": "t85QBvvn1GHeOslKuiJm7CF0M0lpwU26",
"total": null,
"expires_at": "2024-12-05T18:43:32+03:00",
"expire_ttl": 239,
"is_total_price": false,
"prices": [
{
"currency_id": 1000004,
"product_id": 3000001,
"spot_price": 2939.71,
"buy_price": 2889.71,
"sell_price": 2857.4,
"buy_amount": null,
"sku": "GAU"
},
{
"currency_id": 1000005,
"product_id": 3000002,
"spot_price": 34.7041,
"buy_price": 34.68,
"sell_price": 31.16,
"buy_amount": null,
"sku": "GAG"
},
{
"currency_id": 1000015,
"product_id": 3000088,
"spot_price": 2940,
"buy_price": 2940,
"sell_price": 2940,
"buy_amount": null,
"sku": "BGAU"
},
{
"currency_id": 1000016,
"product_id": 3000089,
"spot_price": 34,
"buy_price": 34,
"sell_price": 34,
"buy_amount": null,
"sku": "BGAG"
},
{
"currency_id": 1000017,
"product_id": 3000090,
"spot_price": 100,
"buy_price": 100,
"sell_price": 100,
"buy_amount": null,
"sku": "GPT"
},
{
"currency_id": 1000018,
"product_id": 3000091,
"spot_price": 100,
"buy_price": 100,
"sell_price": 100,
"buy_amount": null,
"sku": "GPD"
}
],
"currency": "TRY"
},
"success": true,
"code": 0,
"message": ""
}