Transaction Issues
Submit a complaint for this transaction
Changed onA complaint is submitted for problems with transactions after the order has been shipped or handover has been confirmed. Before that an order issue should be submitted instead.
post/v2/transactions/{transaction_id}/submit_complaint
Request
- Base URLhttps://api.test.trustap.com
- Auth
- HTTP basic
- or OAuth 2Authorization codehttps://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/authToken URLhttps://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
transaction_idstring required
Headers
Trustap-Userstring
Required in client flows, where you make API calls on behalf of another Trustap user.
Request body
Example request
{
"category": "other"
}Response
OK
Example response
{
"buyer": {
"id": "9097",
"is_guest": false
},
"client_id": "1234",
"deadlines": {
"complaints": "2019-12-25T15:00:00Z"
},
"description": "Soccer ticket",
"events": {
"by_key": {
"created": "2019-12-25T09:00:00Z",
"delivered": "2019-12-25T16:00:00Z",
"funds_released": "2019-12-25T17:00:00Z",
"joined": "2019-12-25T10:00:00Z",
"paid": "2019-12-25T11:00:00Z",
"payment_accepted": "2019-12-25T12:00:00Z"
},
"by_time": []
},
"funds_release": {
"refunds": [],
"released_to_seller": false
},
"id": "tx_21066",
"pricing": {
"amount": 1000,
"amount_extra": 0,
"currency": "eur",
"fees": {
"buyer": 110,
"buyer_client": 10,
"international_payment": 20,
"seller": 0,
"seller_client": 5
}
},
"review": {
"approved": true,
"outcome_reason": "Not fraudulent."
},
"seller": {
"id": "9790",
"is_guest": false
},
"status": "funds_released"
}Changes
- info
added the optional property
to the response with the status
- info
- info
removed the
buyer_handover_confirmedenum value from theresponse property for the response status - info
removed the
seller_handover_confirmedenum value from theresponse property for the response status
- info