ECommPay Gate API
ECommPay Gate API
post

/v2/payment/card-partner/refund

Request for refund to the customer’s card via partners

Request Body

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

Object that contains general request details

required
payment
object

Object that contains refund processing details

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

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.