v1
latestOpenAPI 3.0.02026-08-06202761.2 KBShipping
Set postal tracking details for a transaction
After the tracking information has been submitted then the state of the transaction will be updated asynchronously by Trustap once the delivery of the item has been confirmed, at which point the delivered field of the transaction will be set.
post/v2/transactions/{transaction_id}/track
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
{
"carrier": "ups",
"tracking_code": "***"
}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": {
"buyer_handover_confirmed": "2019-12-25T16:00:00Z",
"created": "2019-12-25T09: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",
"seller_handover_confirmed": "2019-12-25T15:00:00Z"
},
"by_time": []
},
"funds_release": {
"refunds": [],
"released_to_seller": false
},
"id": "tx_2106",
"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"
}