ECommPay Gate API
ECommPay Gate API
post

/v2/payment/card/refund

  • Request for full or partial refund to the customer’s card.
  • Refund is requested in the same currency that the payment was performed.
  • The refund amount can be less than or equal to the amount of the initial payment. The partial refund amount is specified in the parameter amount.
  • If the refund amount is not specified in the request, the full amount of the initial payment is refunded

Request Body

Schema
object
$schema: http://json-schema.org/draft-04/schema#
general
object

Object that contains general request details

required
merchant
object

Object that contains additional information from merchant, for example, customer ID, phone number, etc. that is sent to the issuing bank and is used for issuing more detailed bank statement for customers

cash_voucher_data
object

Object that contains single position details to be sent in fiscal receipt after payment is processed. For more information, see Fiscal receipts compliance with Russian Federation regulations

payment
object

Object that contains refund processing details

required
interface_type
integer
receipt_data
object

Object that contains details to be sent to customer in receipt after payment performing

callback
object

Object that contains additional callback sending conditions

addendum
object

Responses

OK

Schema
object

Object that contains information about request acceptance or execution in the payment platform

$schema: http://json-schema.org/draft-04/schema#
status
string

Request registration status

1 validation + required
request_id
string

Identifier of the request in the payment platform

1 validation + required
project_id
integer

Identifier of merchant project received from ECommPay

required
payment_id
string

Identifier of the payment, must be unique within project. Any letters, digits, and symbols in UTF-8 encoding can be used

1 validation + required

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
$$.env
No $$.env variables are being used in this request.