- Gateway API
- Introduction
- Reference
- Sync API
- Async API
- Merchant API
- Introduction
- Reference
- Page
- Pay
- Payout
- Mobile balance
- Card
- Token
- Invoice
- ATM
- Additional
- Card API
- Introduction
- Payment Cards
- Gift Cards
- Partner API
- Mobile SDK
- CMS
edit payment.refund
POST
https://api.freedompay.kg/v5/g2g/edit
Request
Header Params
X-Action
string
required
Example:
gateway.payment.refund
X-Request-Id
string
required
Example:
{{$randomUUID}}
X-JWS-Signature
string
required
Example:
{{tmp_jws_signature}}
Body Params application/json
id
string
required
amount
integer
required
Example
{
"id": "01904e28-a01d-75d0-bc3a-56d777f0a39b",
"amount": 100
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.freedompay.kg/v5/g2g/edit' \
--header 'X-Action: gateway.payment.refund' \
--header 'X-Request-Id: {{$randomUUID}}' \
--header 'X-JWS-Signature: {{tmp_jws_signature}}' \
--header 'Content-Type: application/json' \
--data-raw '{"id":"01904e28-a01d-75d0-bc3a-56d777f0a39b","amount":100}'
Responses
🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2025-02-03 10:08:06