Skip to main content

Create a Dispute

When a transaction is problematic, create a dispute:
curl -X POST https://api.getovra.com/disputes \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
    "transactionId": "tx_xxx",
    "reason": "not_received",
    "description": "Product was never delivered"
  }'

Dispute Reasons

ReasonDescription
unauthorizedAgent made an unauthorized purchase
fraudFraudulent transaction
not_receivedProduct/service not received
not_as_describedProduct doesn’t match description
duplicateCharged twice
incorrect_amountWrong amount charged
canceledTransaction was canceled but charged
credit_not_processedRefund not received

Resolution

# Resolve
curl -X PATCH https://api.getovra.com/disputes/dsp_xxx \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{"status": "resolved"}'