Dispute transaction P2P
POST/v2/transaction/dispute
Allows disputing a transaction by providing evidence.
Headers
Name
Value
Content-Type
application/json
x-api-key
<token>
Body
Name
Type
Description
id
integer
The transaction ID, required if extID is not provided.
extID
string
The client's transaction ID, required if id is not provided
proof
string (required)
A URL linking to proof (jpg/png required)
new_amount
number
An optional new amount to adjust the transaction.
Пример Body
{
"id": 0,
"extID": "string",
"proof": "string",
"new_amount": 0
}Response
{
"message": "Transaction set to dispute and notification sent",
"transaction_id": 58,
"new_amount": "1300.00"
}{
"error": "Invalid request parameters"
}{
"error": "Unauthorized"
}{
"error": "Internal server error"
}Last updated