capabilities.work

Simulate and Inspect Chargeback

A 4-step recipe with dLocal. We can help you get access.

Recipe · 4 steps

Simulate and Inspect Chargeback

with dLocal

Create a payment, simulate a chargeback, and inspect its details and status.

  1. Create a payment that the simulated chargeback will be raised against.
  2. Simulate a chargeback against the created payment in the sandbox environment.
  3. Retrieve the full chargeback record for the dispute raised against the payment.
  4. Retrieve the lightweight status of the chargeback to drive dispute handling.
What you'll need to have ready
  • country: ISO 3166-1 alpha-2 country code (e.g. BR).
  • currency: ISO-4217 currency code (e.g. BRL).
  • amount: Transaction amount to charge.
  • orderId: Merchant-provided order identifier.
  • paymentMethodId: Local payment method code (e.g. CARD).
  • payerName: Full name of the payer.
  • payerEmail: Email address of the payer.
  • payerDocument: National identification document of the payer.
  • reasonCode: Chargeback reason code to simulate.
  • chargebackId: Identifier of the resulting chargeback to inspect (from the chargeback webhook).
For your developer

Arazzo workflow dlocal:simulate-and-inspect-chargeback, 4 operations: createPayment → simulateChargeback → retrieveChargeback → retrieveChargebackStatus. Specs on APIs.io.