- Gateway API
- Merchant API
- Card API
- Overview
- Payment Cards
- Overview
- Dictionaries
- Bulk issuePOST
- Issue cardPOST
- Issue plastic cardPOST
- Activate cardPOST
- Block cardPOST
- Unblock cardPOST
- Set PINPOST
- Reset PIN counterPOST
- Close cardPOST
- Update clientPOST
- Card infoPOST
- BalancePOST
- Secret dataPOST
- StatementPOST
- Statement extendedPOST
- Create clientPOST
- Edit clientPOST
- Сards' listPOST
- Request' statusPOST
- Create transactionPOST
- Clearing transactionPOST
- Refund transactionPOST
- Transaction request' statusPOST
- Transaction infoPOST
- Gift Cards
- Partner API
- Mobile SDK
- CMS
Refund transaction
Developing
POST
https://api.freedompay.kz/v5/card-api/transaction/refund
Request
Body Params application/json
request_id
string
required
order_id
string
required
transaction_id
string
required
description
string
optional
amount
number
optional
Example
{
"request_id": "string",
"order_id": "string",
"transaction_id": "string",
"description": "string",
"amount": 0
}
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.kz/v5/card-api/transaction/refund' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
🟢200Success
application/json
Body
status
string
required
ok
- Request was successful, error
- Request encountered an errorrequest_status
string
required
dt
string
required
Example
{
"status": "string",
"request_status": "string",
"dt": "string"
}
Modified at 2025-03-05 09:39:08