Skip to main content

Start refund

Return the necessary data to confirm a cancelation to the SDK

Header Parameters
Authorization string

jwt

Request Body
context object
device object
serial string
track2 string
ksn string
billing_info object REQUIRED
description string
amounts object[] REQUIRED
amount number REQUIRED
label string
taxes object[]
amount number REQUIRED
label string
payment_method object
card_data object
bin string
aid string
parent_ref_number string REQUIRED

Reference number de sale

Responses
200

OK

Schema OPTIONAL
data object OPTIONAL
type string OPTIONAL

Possible values: [refund, cancel]

Transaction type

attributes object OPTIONAL
transaction_data object OPTIONAL
time_zone string OPTIONAL
money object OPTIONAL
amount number OPTIONAL
currency object OPTIONAL
numericCode string OPTIONAL
alphabeticCode string OPTIONAL
symbol string OPTIONAL
cancel_data object OPTIONAL
parent_ref_number string OPTIONAL
refund_data object OPTIONAL
parent_ref_number string OPTIONAL
confirmation object OPTIONAL
additional_card_data object OPTIONAL
brand string OPTIONAL
card_type string OPTIONAL
establishment object OPTIONAL
address object OPTIONAL
address_line1 string OPTIONAL
address_line2 string OPTIONAL
city string OPTIONAL
country_code string OPTIONAL
postal_code string OPTIONAL
state string OPTIONAL
business_category_code string OPTIONAL
doc_number string OPTIONAL
doc_type string OPTIONAL
email string OPTIONAL
establishment_type string OPTIONAL
legal_name string OPTIONAL
phone_number string OPTIONAL
trade_name string OPTIONAL
intermediary object OPTIONAL
address object OPTIONAL
address_line1 string OPTIONAL
address_line2 string OPTIONAL
city string OPTIONAL
country_code string OPTIONAL
postal_code string OPTIONAL
state string OPTIONAL
business_category_code string OPTIONAL
doc_number string OPTIONAL
doc_type string OPTIONAL
email string OPTIONAL
establishment_type string OPTIONAL
legal_name string OPTIONAL
phone_number string OPTIONAL
trade_name string OPTIONAL
merchant object OPTIONAL
merchant_id string OPTIONAL
merchant_type string OPTIONAL
merchant_name string OPTIONAL
ref_number string OPTIONAL

Reference number para refund/anulacion

taxes number OPTIONAL
terminalId string OPTIONAL
ticket_number string OPTIONAL