# F2F Transactions F2F2 transactions are used when the goods are delivered in person. ## Get multiple face-to-face transactions by their IDs - [GET /p2p/batch/transactions](https://docs.trustap.com/apis/openapi/f2f-transactions/getp2ptransactionsbyids.md): This endpoint takes a required parameter that contains a comma-separated list of transaction IDs, and returns the transactions corresponding to those IDs. A maximum of 50 IDs may be provided, and results are returned in the order specified in , and duplicates are preserved. Transactions that couldn't be found will be returned as values in the result array. The following example request results in the response described below, assuming that the transaction with ID couldn't be found: ## Get face-to-face transactions for the logged-in user - [GET /p2p/me/transactions](https://docs.trustap.com/apis/openapi/f2f-transactions/getp2ptransactions.md): Transactions are currently sorted by ID. ## Create a new face-to-face transaction - [POST /p2p/me/transactions](https://docs.trustap.com/apis/openapi/f2f-transactions/p2p.createtransaction.md): Note that this endpoint is similar to but takes and fields instead of the and fields. Offline access is allowed for this endpoint when the user has granted the scope to the client that is performing the request. ## Create a new face-to-face transaction with both users - [POST /p2p/me/transactions/create_and_join](https://docs.trustap.com/apis/openapi/f2f-transactions/p2p.createandjointransaction.md): This endpoint is an optimised call that allows a transaction to be created and joined in a single request. It requires the user identified by to have granted the scope to the client that is performing the request. Note that this endpoint is similar to but takes and fields instead of the and fields. ## Create a new face-to-face transaction with both users - [POST /p2p/me/transactions/create_with_guest_user](https://docs.trustap.com/apis/openapi/f2f-transactions/p2p.createtransactionwithguestuser.md): This endpoint is an optimised call that allows a transaction to be created and joined in a single request. It requires the online user to have granted the scope to the client that is performing the request. This endpoint allows creating a transaction with both buyer and seller as guest users, or one party to be guest user and the other full user. ## Get a face-to-face transaction by its ID - [GET /p2p/transactions/{transaction_id}](https://docs.trustap.com/apis/openapi/f2f-transactions/p2p.gettransaction.md) ## Claim F2F transaction for the seller - [POST /p2p/transactions/{transaction_id}/claim_for_seller](https://docs.trustap.com/apis/openapi/f2f-transactions/p2p.claimtransactionforseller.md): This endpoint allows a client to claim transactions for seller. It requires to have granted the scope and API Key authentication. The endpoint is not accessible for guests and full users. ## Join the face-to-face transaction as guest user - [POST /p2p/transactions/{transaction_id}/join_with_guest](https://docs.trustap.com/apis/openapi/f2f-transactions/p2p.joinwithguest.md) ## Get metadata for a face-to-face transaction - [GET /p2p/transactions/{transaction_id}/metadata](https://docs.trustap.com/apis/openapi/f2f-transactions/p2p.gettransactionmetadata.md) ## Set metadata for a face-to-face transaction - [POST /p2p/transactions/{transaction_id}/metadata](https://docs.trustap.com/apis/openapi/f2f-transactions/p2p.settransactionmetadata.md) ## Claim F2F transaction as buyer given a claim secret - [POST /p2p/transactions_by_claim_secret/{secret}/claim_as_buyer](https://docs.trustap.com/apis/openapi/f2f-transactions/p2p.claimasbuyer.md): This endpoint allows a full user to claim a transaction as buyer given a claim secret. ## Claim a F2F transaction as the seller - [POST /p2p/transactions_by_claim_secret/{secret}/claim_as_seller](https://docs.trustap.com/apis/openapi/f2f-transactions/p2p.claimtransactionasseller.md): This endpoint allows a full user to claim a transaction as seller given a claim secret. ## Get a face-to-face transaction by its join code - [GET /p2p/transactions_by_join_code/{joinCode}](https://docs.trustap.com/apis/openapi/f2f-transactions/getp2ptransactionbyjoincode.md) ## Join a face-to-face transaction by its join code - [POST /p2p/transactions_by_join_code/{joinCode}/join](https://docs.trustap.com/apis/openapi/f2f-transactions/joinp2ptransactionbyjoincode.md): This endpoint allows a user to join a transaction provided a join code. Offline access is allowed for this endpoint when the user has granted the scope to the client that is performing the request. ## Reject a face-to-face transaction by its join code - [POST /p2p/transactions_by_join_code/{joinCode}/reject](https://docs.trustap.com/apis/openapi/f2f-transactions/rejectp2ptransactionbyjoincode.md)