{
"id": "01904e28-a01d-75d0-bc3a-56d777f0a39b",
"amount": 100
}
curl --location --request POST 'https://api.freedompay.kz/v5/g2g/edit' \
--header 'Accept: application/json' \
--header 'X-Action;' \
--header 'X-Request-Id: 01978c2b-f191-7b56-92f8-20c7c401d1fc' \
--header 'X-JWS-Signature: eyJhbGciOiJSUzI1NiIsImtpZCI6IjEyMzQ1NiJ9.eyJpc3MiOiJleGFtcGxlLmNvbSIsInN1YiI6InVzZXIxMjMiLCJhdWQiOiJhcGkuZXhhbXBsZS5jb20iLCJleHAiOjE2MzAwMDAwMDAsImlhdCI6MTYyOTk5NjQwMH0.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "01904e28-a01d-75d0-bc3a-56d777f0a39b",
"amount": 100
}'
{
"id": "01978d4f-fb27-7615-a95c-d646dc1df3f3",
"amount": 100,
"refund_payment": {
"id": "01978d53-4748-74c1-9c0a-0ca2b64b9c1b",
"status": "process",
"amount": -100
}
}