Refund
PUThttps://api.prahsys.com/payments/n1/merchant/{merchantId}/payment/{paymentId}/refund
MEDIA TYPE: application/json
amount
number
Transaction Amount. Expressed as a decimal number in the units of the currency. For example 12.34 in USD is the amount 12 dollars and 34 cents. Must be a string consisting of characters 0-9 and '.' representing a valid decimal number. Length: 1-14 characters.
example:
382.51
nullable
currency
string
The currency of the transaction expressed as an ISO 4217 alpha code, e.g. USD. Must consist of uppercase letters A-Z only. Length: exactly 3 characters.
example:
"USD"
nullable
targetTransactionId
string
The identifier for the transaction you wish to refund ('id' field returned in transaction responses). Can consist of any characters. Length: 1-40 characters.
nullable
terminal
string
Card Present terminal ID
nullable
RESPONSE SCHEMA: application/json
id
string
example:
"828fc28f-88ec-3771-92d5-0bc8bd8cb229"
operation
string
example:
"REFUND"
type
string
example:
"REFUND"
result
string
example:
"SUCCESS"
amount
number
example:
766.46
currency
string
example:
"USD"
authorizationAdjustmentActions
string
example:
"INCREMENT"
gatewayCode
string
example:
"APPROVED"
avsCode
string
example:
"ADDRESS_MATCH"
cscCode
string
example:
"MATCH"
stan
string
example:
"917581"
source
string
example:
"INTERNET"
terminal
string
example:
"solaywng"
Request
shell
https://api.prahsys.com/payments/n1/merchant/{merchantId}/payment/{paymentId}/refundLoading…