Skip to main content

Chargeback

Object​

NameTypeMandatoryDescription
classstringYThe type of object which is being returned. In this case it will be chargeback.
idintYThe SysPay reference of the returned chargeback.
amountintYThe amount in cents.
currencystringYThe currency (ISO-4217).
statusstringYThe chargeback status. See note above.
levelHARD | SOFTYThe chargeback level. HARD chargebacks will automatically cancel any mandate linked to the related payment method, while SOFT ones won’t
processing_timeunix timestampYThe time stamp of when the chargeback was processed. Null is returned if the transaction is still not complete.
bank_timeunix timestampNWhen the chargeback has been approved by the bank.
reason_codestringYThe chargeback reason code (the value depends on the card scheme or the payment method used) - UNKNOWN if the reason was not given by the bank.
paymentobjectYThe original payment object. See Payment object.

Chargeback statuses​

StatusFinalDescription
SUCCESSYThe chargeback has been imported and applied successfully.
ERRORYAn error occurred while processing the chargeback.

Example​

{
"class": "chargeback",
"id": 19,
"amount": 500,
"currency": "EUR",
"status": "SUCCESS",
"level": "HARD",
"processing_time": 1426171000,
"bank_time": 1426230400,
"reason_code": "UNKNOWN",
"payment": { /* ... related payment object ... */ }
}