merchant

Get all chargebacks

Changed on
get/merchant/chargebacks

Request

  • Base URL
    https://api-sandbox.coinflow.cash/api
  • URL
    https://api-sandbox.coinflow.cash/api/merchant/chargebacks
  • Auth
    API key in header Authorization

Query parameters

limitnumber double
pagenumber double
statusstring
searchstring
sortBystring
sortDirectionnumber double
respondedboolean
discrepancyboolean
processorstring
protectionstring
threeDSecurestring
merchantIdstring
sincestring
untilstring
reasonCodestring
methodstring
excludeMethodstring

Response

Ok

createdAtstring date-time required
merchantstring required
invoiceIdstring required
updatedAtstring date-time required
chargebackIdstring required
arnstring
reasonCodestring required
reasonDescriptionstring required
respondByDatestring date-time required
respondedboolean required
merchantRespondedAtstring date-time
responseFileKeystring
acceptedboolean

Set when a merchant explicitly concedes the dispute via "Accept Chargeback". The chargeback is marked LOST and this flag keeps the ChargebackPipeline from reopening it if the processor later reports a different (e.g. Won) status.

discrepancyboolean
loadedOnstring date-time
chargebackFeeCentsnumber double
decidedAtstring date-time
autoDebitStatus'pending' | 'success' | 'failed'
autoDebitAmountCentsnumber double

The chargeback amount capped at the payment total, excluding the chargeback fee (ChargebackDebitPipeline adds the fee on top when debiting). Persisted when the auto debit is enqueued; the won-credit returns exactly this amount so the credit always matches the debit even when the open and resolve payloads disagree on the disputed amount.

walletDebitTxHashstring
walletCreditTxHashstring
reversedboolean
decidedLostAtstring date-time
customerstring required
shouldFightboolean required

Whether Coinflow should fight (represent) this chargeback, derived per-request from the merchant's chargebackFightSettings enrollment and the global chargeback-fight ruleset matched against the payment's card processor and chargeback-protection decision. Always false unless the merchant is enrolled and the ruleset matches.

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property //// to the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property //// from the response with the status