Authorizations
Company API key for authentication
Path Parameters
The merchant ID
Transaction ID to refund
Body
Refund amount in cents
x >= 11000
Reason for the refund.
- BANKING_ERROR: Banking system error
- FRAUD: Fraudulent transaction
- CUSTOMER_REQUEST: Customer requested refund
- PIX_WITHDRAWAL_OR_CHANGE_ERROR: PIX withdrawal or change error
BANKING_ERROR, FRAUD, CUSTOMER_REQUEST, PIX_WITHDRAWAL_OR_CHANGE_ERROR "CUSTOMER_REQUEST"
Additional description for the refund
"Refund due to customer dissatisfaction"
Response
Transaction refunded successfully
Transaction data returned by the API
Transaction unique identifier
"tx_123456789"
Payment provider
CELCOIN, RINNE "CELCOIN"
Affiliation ID for this transaction
"a3dbd0c2-9f79-4f86-8caa-47779b3f2793"
Unique request ID for this transaction used for idempotency
"request-123"
Merchant Category Code
"5411"
Transaction amount in cents
10050
Transaction currency
BRL "BRL"
Transaction pricing information
Transaction status
PROCESSING, AUTHORIZED, APPROVED, REFUNDED, PARTIALLY_REFUNDED, PENDING_REFUND, CHARGEDBACK, WAITING_PAYMENT, REFUSED, EXPIRED "APPROVED"
Transaction capture method
EMV, MAGSTRIPE, ECOMMERCE, CONTACTLESS_ICC "EMV"
Number of installments
1
Payment method
CREDIT_CARD, DEBIT_CARD, BOLETO, MONEY, PIX "PIX"
Company ID that owns this transaction
"a3dbd0c2-9f79-4f86-8caa-47779b3f2793"
Transaction creation timestamp
"2023-12-01T10:00:00.000Z"
Transaction ID in provider system
"prov_tx_123456"
Fee policy ID applied to this transaction
"fee_policy_123"
Cost policy ID applied to this transaction
"cost_policy_123"
Approved amount in cents
10050
Total amount refunded in cents (sum of completed refunds)
0
Acquirer response code
"00"
Acquirer name
"Visa"
PIX-specific data (present if payment_method is PIX)
Soft descriptor shown on cardholder statement
"MYSTORE"
Terminal serial number
"12345678"
Network Sequential Number
"000123"
Additional metadata
Latest refund timestamp (for the most recent completed refund)
"2023-12-01T10:00:00.000Z"
Creation timestamp in provider system
"2023-12-01T09:00:00.000Z"
Status reason details
PROVIDER, ACQUIRER, ANTIFRAUD, INTERNAL_ERROR, NO_ACQUIRER, ACQUIRER_TIMEOUT "PROVIDER"
Transaction approval timestamp
"2023-12-01T10:00:00.000Z"
Company full name
"Test Company"
Company name
"Test Company"
Organization transaction ID (for refunds/chargebacks)
"tx_organization_123456"
Consumer information
Transaction last update timestamp
"2023-12-01T10:00:00.000Z"

