- Accept the deposit for this face-to-face transaction
Offline access is allowed for this endpoint when the user has granted the p2p_tx:offline_accept_deposit scope to the client that is performing the request.
- OAuth2
- APIKey
curl -i -X POST \
'https://dev.stage.trustap.com/api/v1/p2p/transactions/{transaction_id}/accept_deposit' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Trustap-User: string'OK
The currency of the transaction. Note that, at present, the buyer must pay using the transaction's currency and the seller will be paid in the transaction's currency.
{ "charge": 78, "charge_buyer_client": 0, "charge_buyer_service": 78, "charge_seller": 0, "charge_seller_client": 0, "charge_seller_service": 0, "extra_processing_charge": 0, "postage_processing_charge": 0, "price": 1234, "price_extra": 0 }
URL of the image displayed on the Trustap payment page to show the buyer the item they are paying for. Supports jpg, png, gif, bmp and svg files. Images displayed as a squares. Non-square images are cropped
If the deposit is paid via a delayed payment method, such as SEPA debit, this field will be true until the payment has fully succeeded or failed.
If the remainder is paid via a delayed payment method, such as SEPA debit, this field will be true until the payment has fully succeeded or failed.
The items added to the transaction.
[ { "charge_config": 1, "created": "2026-06-25T09:00:00Z", "currency": "eur", "description": "Monthly subscription", "item_id": "it_01h2xcejqtf2nbrexx3vqjhp41", "payment_method": "card", "price": 999, "price_extra": 50, "price_postage": 200, "recurring_period": "month", "ref_id": "sku-widget-1", "tax_code": "digital_goods", "transaction_id": 1234 } ]
If the transaction is created from a listing then this is the ID of that listing; otherwise this property is omitted.
Arbitrary key-value string pairs, which allows the addition of extra information to transactions outside of the prescribed fields. For example, when a transaction is used to power a product on an ecommerce marketplace, the the product ID can be added to the transaction for reference.
{ "category": "other", "description": "Item was not delivered" }
{ "charge": 78, "charge_buyer_client": 0, "charge_buyer_service": 78, "charge_seller": 0, "charge_seller_client": 0, "charge_seller_service": 0, "extra_processing_charge": 0, "postage_processing_charge": 0, "price": 1234, "price_extra": 0 }
If skip_remainder is true then this transaction will move to the "confirm handover" step after the deposit has been accepted.
{ "buyer_handover_confirmed": "2019-12-25T16:00:00Z", "buyer_id": "feb33a87-3917-4538-9260-127c8a6b5232", "charge_config": 1, "client_id": "trustap-app", "created": "2019-12-25T09:00:00Z", "currency": "eur", "deposit_accepted": "2019-12-25T12:00:00Z", "deposit_paid": "2019-12-25T11:00:00Z", "deposit_pricing": { "charge": 78, "charge_buyer_client": 0, "charge_buyer_service": 78, "charge_seller": 0, "charge_seller_client": 0, "charge_seller_service": 0, "extra_processing_charge": 0, "price": 1234, "price_extra": 0 }, "description": "Soccer ticket", "funds_released": "2019-12-25T17:00:00Z", "id": 1309, "is_deposit_payment_in_progress": false, "is_remainder_payment_in_progress": false, "joined": "2019-12-25T10:00:00Z", "priced": "2019-12-25T13:00:00Z", "pricing": { "charge": 190, "charge_buyer_client": 0, "charge_buyer_service": 190, "charge_seller": 0, "charge_seller_client": 0, "charge_seller_service": 0, "extra_processing_charge": 0, "price": 5000, "price_extra": 0 }, "quantity": 1, "remainder_paid": "2019-12-25T14:00:00Z", "seller_handover_confirmed": "2019-12-25T15:00:00Z", "seller_id": "ad5bb99f-85bf-47e1-be0d-15e7541c6ad7", "skip_remainder": false, "status": "funds_released" }