DISPUTES

Request

POST https://bovatech.cc/v1/p2p_disputes/from_client

JSON Request Params

Name
Type
Description

transaction_id*

string

Transaction ID on the BOVA side

p2p_dispute[proof_image]*

file

JPG, PNG, JPEG, PDF

p2p_dispute[proof_image2]

file

JPG, PNG, JPEG, PDF Optional file. If the client made the payment in two separate transactions (e.g., 1000 and 70), attach both receipts and specify the actual total amount of both receipts in the amount field.

Headers

Name
Type
Description

Content-Type

string

multipart/form-data

Example Request:

curl --location 'https://bovatech.cc/v1/p2p_disputes/from_client' \
--form 'transaction_id="db42949bc938cff189c8166a579b1965631d393e"' \
--form 'p2p_dispute[amount]="1005"' \
--form 'p2p_dispute[proof_image]=@"/path/to/file"'

Example Response:

{
  "data": {
    "id": 00000000,
    "state": "opened",
    "repeated": false,
    "updated_at": "2024-11-28 10:56:15 +0300",
    "created_at": "2024-11-28 10:56:15 +0300",
    "proof_image": "https://bovatech.cc/rails/active_storage/blobs/redirect/file.jpg",
    "proof_image2": "",
    "amount": 300,
    "p2p_tx": {
      "id": "xxxxxxxx",
      "merchant_id": "string",
      "currency": "mdl",
      "to_currency": null,
      "state": "reviewing",
      "created_at": "2024-11-27 22:01:10 +0300",
      "updated_at": "2024-11-28 10:56:15 +0300",
      "close_at": "2024-11-27 22:11:10 +0300",
      "redirect_url": "https://ya.ru/",
      "email": "[email protected]",
      "customer_name": "Ivan Ivanov",
      "rate": "108.01",
      "amount": "2.78",
      "fiat_amount": "300.0",
      "old_fiat_amount": "300.0",
      "payment_method": "sbp",
      "recipient_first_name": "Richard",
      "recipient_last_name": "Kim",
      "comment": "declined by timeout",
      "antifraud_verdict": null
    }
  },
  "errors": {},
  "message": null,
  "status": "ok",
  "meta": {}
}

Last updated