question

paulbiermi avatar image
paulbiermi asked paulbiermi published

Refund showing status "failed" but showing correct refund in transactions

After posting to refund a charge on the ECommerce API (v1/refunds), I'm getting a response that shows a failure status. But when I look in the refunded transactions in the store, it looks like it's correctly refunded.

Request: POST scl.clover.com/v1/refunds
{
    "charge": "EF7BPXXXXXXXX",
    "amount": 109,
    "reason": "requested_by_customer",
    "external_reference_id": "123456"
}

Response:
{
  id: 'CX305XXXXXXXX',
  object: 'refund',
  amount: 109,
  charge: 'EF7BPXXXXXXXX',
  created: 1682209356140,
  status: 'failed'
}

View in app (https://www.clover.com/transactions)

1682210979787.png


Following instructions here: https://docs.clover.com/docs/ecommerce-refunding-payments#refund-charges

Refund
1682210979787.png (85.3 KiB)
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community