Skip to content
Last updated

There can be situations where a buyer isn't happy with the transaction. In these situations, the buyer can submit a complaint. Complaints can be registered after handover.

Create a complaint for an online transaction
curl --location 'https://dev.stage.trustap.com/api/v1/transactions/{transaction_id}/complain_with_guest_buyer' \
--header 'Content-Type: application/json' \
--header 'Trustap-user: 1-615a70d4-b624-4243-95be-a8367b7953ea' \
--user '<API_KEY>:' \
--data '{
"description": "Item was fake"
}'
Response
{
    "buyer_id": "feb33a87-3917-4538-9260-127c8a6b5232",
    "charge": 78,
    "charge_seller": 0,
    "client_id": "trustap-app",
    "created": "2019-12-25T09:00:00Z",
    "currency": "eur",
    "delivered": "2019-12-25T13:00:00Z",
    "description": "Soccer ticket",
    "funds_released": "2019-12-26T14:00:00Z",
    "id": 1309,
    "is_payment_in_progress": false,
    "joined": "2019-12-25T10:00:00Z",
    "paid": "2019-12-25T11:00:00Z",
    "posta_hr_tracking": {
        "barcode": "ABC12345",
        "barcode_generated": "2019-12-25T12:00:00Z"
    },
    "price": 1234,
    "quantity": 1,
    "seller_id": "ad5bb99f-85bf-47e1-be0d-15e7541c6ad7",
    "status": "funds_released",
    "tracked": "2019-12-25T12:00:00Z",
    "tracking": {
        "carrier": "ups",
        "tracking_code": "***"
    }
    }

Creating a complaint automatically sends an email to the buyer and seller with instructions to resolve the conflict.