REFUND
{{url}}/ecom/execute_request/payments/v3/refund
A refund is used when it is necessary to return funds to the client for a successfully completed Payment transaction. As a result of this transaction, the funds will be returned to the card from which the original transaction was paid.
Input parameters:
merchantRequestId
Unique request identifier generated by the merchant's system
string (36)
Yes
137d9304-0368-11ed-b939-0242ac120002
merchantId
Merchant identifier
string
Yes
"1234567890"
operationId
Id транзакціі
string
1712844596346b9F-WwrWZpq
coinAmount
Payment amount.
string
Yes
2000
date
Payment date and time
string
Yes
{{currentdateT}}.00+03:00
notificationUrl
URL to which the CallBack is sent
string
No
notificationEncryption
Callback data encryption feature
string
No
true/false If the parameter is not passed or false is passed, then the data in the CallBack will be unencrypted
merchantComment
Additional merchant comment on the order
string(255) a-zA-Z0-9 ,.;:@#$%'-=+1,256$
No
"merchant Comment id 1258728c1"
Output parameters:
type
Transaction type.
string
Purchase
rrn
RRN transaction number in MPS.
string
2,55E+09
purpose
Payment purpose.
string
For goods
comment
Comment.
string
test
coinAmount
Payment amount.
int
2000
merchantId
Merchant ID.
string
137d9304-0368-11ed-b939-0242ac120002
operationId
Transaction ID.
string
1712844596346b9F-WwrWZpq
ecomOperationId
Transaction ID in the Ecom system.
string
8c3303e9-7396-43b8-af4e-31d9facdde9b
merchantName
Merchant name.
string
KB test terminal
approvalCode
Authorization code.
string
39203
status
Transaction status.
string
Possible values: SUCCESS, FAIL, PENDING, REQUIRED_3DS, DESIRED_THREEDS_MODE_ERROR
transactionType
Transaction type in numerical form.
string
35
merchantRequestId
Merchant request id
string
72837906-f526-4aef-8d11-58d80b44cb75
transactionCurrency
Payment currency.
string
980
merchantCommission
Commission amount
string
2
createDateTime
Transaction creation date.
string
########
modificationDateTime
Transaction modification date.
string
########
actionCode
Response code
string
0
responseCode
Response details.
string
0
description
Response description.
string
approved
processingMerchantId
Merchant ID in the PC
string
AE100000
processingTerminalId
Terminal ID in the PC
string
AE100000
bankCode
Issuer bank name.
string
BANK_ALLIANCE
paymentSystem
Issuer MPS name.
string
MasterCard
productType
Terminal product type.
string
PURCHASE
notificationUrl
URL to which the CallBack is sent
string
paymentServiceType
Payment type
string
CARD/APPLE_PAY/GOOGLE_PAY
notificationEncryption
Callback data encryption feature
string
true/false If the parameter is not passed or false is passed, then the data in the CallBack will be unencrypted
originalOperationId
Id under which the original transaction was created
string
1712843529623cHAHkmt-G5u
originalCoinAmount
Original payment amount
int
100
originalEcomOperationId
Id in the Ekom system under which the original transaction was created
string
c25ee1cb-a052-439b-b075-bcb632615b11
rrnOriginal
RRN original transaction number in MPS
string
1,2E+08
Example of a request body
Example of response body
Last updated