{
"context": {
"language": "string",
"channel": "string"
},
"debitAccount": {
"branchCode": 0,
"number": 0,
"numberDetail": "string",
"suffix": 0
},
"creditAccount": {
"branchCode": 0,
"number": 0,
"numberDetail": "string",
"suffix": 0
},
"currencyCode": "string",
"amount": 0,
"creditedAmount": 0,
"fixedRate": 0,
"explanation": "string",
"transactionCode": "string",
"chsum": "string"
}
curl --location --request POST 'https://testapi.flyp.com.tr/albarakaapi/investments/rates/exchange/buy' \
--header 'Content-Type: application/json' \
--data-raw '{
"context": {
"language": "string",
"channel": "string"
},
"debitAccount": {
"branchCode": 0,
"number": 0,
"numberDetail": "string",
"suffix": 0
},
"creditAccount": {
"branchCode": 0,
"number": 0,
"numberDetail": "string",
"suffix": 0
},
"currencyCode": "string",
"amount": 0,
"creditedAmount": 0,
"fixedRate": 0,
"explanation": "string",
"transactionCode": "string",
"chsum": "string"
}'
{
"data": {
"errorCode": 0,
"message": "string",
"referenceNumber": 0,
"transactionDate": "string",
"responseType": 0,
"responseTypeDesc": "string"
},
"header": {
"detailCode": "string",
"message": "string",
"status": "string",
"statusCode": 0,
"txId": "string",
"warnings": [
{
"key": "string",
"text": "string"
}
]
}
}