Skip to main content

Start a refund using a device

Start a new refund using a physical reader

Request Body REQUIRED

Data to start a new refund

parent_ref_number string REQUIRED
context object REQUIRED
device object
serial string
ksn string
track2 string
billing_info object REQUIRED
total_amount number
description string
currency string
amounts object[] REQUIRED
amount number REQUIRED
label string REQUIRED
reference string
taxes object
amount number REQUIRED
label string REQUIRED
reference string
tip object
amount number
card_type string
payment_method object
card_data object
bin string REQUIRED
aid string
Responses
200

Successful response

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