# Online Transactions Online transactions are used when the goods are delivered using registered mail. ## Get multiple online transactions by their IDs - [GET /batch/transactions](https://docs.trustap.com/apis/openapi/online-transactions/basic.gettransactionsbyids.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, 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 online transactions for the logged-in user - [GET /me/transactions](https://docs.trustap.com/apis/openapi/online-transactions/basic.gettransactions.md): Transactions are currently sorted by ID. ## Create a new online transaction - [POST /me/transactions](https://docs.trustap.com/apis/openapi/online-transactions/basic.createtransaction.md): A request to this endpoint must be preceded by a call to with the price of the goods specified in . ## Create a new online transaction with both users - [POST /me/transactions/create_and_join](https://docs.trustap.com/apis/openapi/online-transactions/basic.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. ## Create a new online transaction with both users - [POST /me/transactions/create_with_guest_user](https://docs.trustap.com/apis/openapi/online-transactions/basic.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 or full users, or one party to be guest user and the other full user. ## Get an online transaction using a join code - [GET /transactions](https://docs.trustap.com/apis/openapi/online-transactions/basic.gettransactionbyjoincode.md) ## Join an online transaction using a join code - [PUT /transactions](https://docs.trustap.com/apis/openapi/online-transactions/basic.jointransaction.md): A transaction can't be joined using its ID, because only the buyer and seller of a transaction can access a transaction using its ID. ## Reject an online transaction by its join code - [POST /transactions-by-join-code/{join_code}/reject](https://docs.trustap.com/apis/openapi/online-transactions/basic.rejecttransactionbyjoincode.md): A transaction can't be rejected using its ID, because only the buyer and seller of a transaction can access a transaction using its ID. ## Get an online transaction by its ID - [GET /transactions/{transaction_id}](https://docs.trustap.com/apis/openapi/online-transactions/basic.gettransaction.md) ## Allow this listing-based transaction to proceed - [POST /transactions/{transaction_id}/accept_listing_transaction](https://docs.trustap.com/apis/openapi/online-transactions/basic.acceptlistingtransaction.md): "Listing transactions" are transactions created from listings (using the endpoints for listings). Listings transactions for online transactions must be accepted by the creator of the listing using in order to proceed. Offline access is allowed for this endpoint when the user has granted the scope to the client that is performing the request. ## Claim online transactions for sellers on behalf of the buyer - [POST /transactions/{transaction_id}/claim_for_buyer](https://docs.trustap.com/apis/openapi/online-transactions/basic.claimtransactionforbuyer.md): This endpoint allows a client's claim transactions for sellers on behalf of the buyer. It requires to have granted the scope and API Key authentication. The endpoint is not accessible for guests and full users. ## Claim online transactions for sellers on behalf of the seller - [POST /transactions/{transaction_id}/claim_for_seller](https://docs.trustap.com/apis/openapi/online-transactions/basic.claimtransactionforseller.md): This endpoint allows a client's claim transactions for sellers on behalf of the seller. It requires to have granted the scope and API Key authentication. The endpoint is not accessible for guests and full users. ## Submit a detailed order issue for this online transaction - [POST /transactions/{transaction_id}/submit_order_issue](https://docs.trustap.com/apis/openapi/online-transactions/basic.submitorderissue.md) ## Claim for an online transaction as buyer given a claim secret - [POST /transactions_by_claim_secret/{secret}/claim_as_buyer](https://docs.trustap.com/apis/openapi/online-transactions/basic.claimasbuyer.md): This endpoint allows a full user to claim for a transaction as buyer given a claim secret.