Dispute

Jump to Response

POST api.ravelin.com/psp/dispute

You can also make requests to POST api.ravelin.com/psp/dispute/async, in which case the majority of processing will be done asynchronously.

dispute object required
Show definition
timestamp integer required

A unix timestamp preferably as an integer count of milliseconds since 1970-01-01T00:00 UTC (nanoseconds are also accepted).

POST https://api.ravelin.com/psp/dispute HTTP/1.1
Authorization: token ...
Content-Type: application/json

{
  "dispute": {
    "amount": 1337,
    "arn": "string",
    "currency": "GBP",
    "disputeId": "string",
    "disputeTime": 1512828988826,
    "gateway": "braintree",
    "gatewayReference": "string",
    "liabilityShifted": true,
    "outcome": "LOST",
    "reason": "fraud",
    "stage": "CHARGEBACK",
    "transactionId": "string"
  },
  "timestamp": 1667387532297
}

Response

data object optional

Contains details related to the request.

Show definition
status integer optional

HTTP response status code.

timestamp integer optional

UNIX timestamp when Ravelin finished handling the request

HTTP/1.1 200 OK
Content-Type: application/json

{
  "status": 200,
  "timestamp": 1667387532297
}

Feedback