- Set postal tracking details for a transaction
Get the supported carriers
Confirm delivery for this transaction
Get the shipping details of the buyer for a transaction
Post the shipping details of the buyer for a transaction
Set postal tracking detai...
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.
Security
APIKey or OAuth2
POST
- APIKey
- OAuth2
curl -i -X POST \
-u '<API_KEY>:' \
'https://api.test.trustap.com/v2/transactions/{transaction_id}/track' \
-H 'Content-Type: application/json' \
-H 'Trustap-User: string' \
-d '{
"carrier": "ups",
"tracking_code": "***"
}'OK
This property contains all possible actions that have associated deadlines for completion. Actions with null do not have deadlines currently pending.
Example:
{ "complaints": "2019-12-25T15:00:00Z" }
Example:
{ "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": [] }
Example:
{ "amount": 1000, "amount_extra": 0, "currency": "eur", "fees": { "buyer": 110, "buyer_client": 10, "international_payment": 20, "seller": 0, "seller_client": 5 } }
Enum:"created""joined""rejected""cancelled""paid""review_flagged""payment_accepted""complaint_submitted""complaint_period_ended""refunded"
Example:"funds_released"
Response
{ "buyer": { "id": "1-a5034d6a-1110-4d33-b6dd-c6ff1b3b2e28", "is_guest": true }, "client_id": "5a3d7990-9f1c-4e11-8d67-3da5b160c50a", "deadlines": { "complaints": null }, "description": "Trustap socks", "events": { "by_key": { … }, "by_time": [ … ] }, "funds_release": { "refunds": [], "released_to_seller": false }, "id": "tx_01kywn5ma0eafbk92b1qvfv1dw", "metadata": {}, "pricing": { "amount": 20000, "amount_extra": 0, "currency": "eur", "fees": { … } }, "seller": { "id": "1-22ad0309-d966-440c-8296-9989ff65eebf", "is_guest": true }, "status": "tracked", "tracking": { "carrier": "ups", "tracking_code": "345345123" } }