Transaction Keys

Read about how transaction keys are generated and used.

The Transaction Key is a unique identifier that is generated by the service when a Store Transaction request is successful. It is returned in the response in the transaction_key field.

The key is then specified in the URL of a Confirm Transaction request, confirming the transaction. It can also be used to refund a transaction. There are also requests that allow you to retrieve a transaction and all the requests for a transaction. The latter could be used for reporting, for example.

It can be used with the following requests:

For example, if you want to confirm a transaction, you can use a POST method and an endpoint URL in the following format:

{service_url}/api/v3/seller/transactions/{key}/confirm

Where:

  • {service_url} is the service's URL.
  • {key} is the Transaction Key. It represents the specific transaction that you want to perform the request on.

Here is an example with a sample Transaction Key (PJyj7WQAAAAYTSOvTCmQLpBvs7KRe1lL6v3GSnQ):

curl --request POST \
  --url https://seller-transaction-api.sandbox.marketplace.taxamo.com/api/v3/seller/transactions/PJyj7WQAAAAYTSOvTCmQLpBvs7KRe1lL6v3GSnQ/confirm \
  --header 'content-type: application/json' \
  --header "x-marketplace-seller-token: $TOKEN" \
  --data '{}'