The following table summarizes the available requests:
|Calculate tax before a buyer's details are confirmed.
|Store a transaction before the buyer's details are verified.
|Confirm a transaction after the buyer's details are confirmed.
|Issue a full or partial refund.
|Retrieve a specified transaction from the Taxamo database.
|Retrieve Transaction Requests
|Retrieve all the requests for a specified transaction.
The tax calculation function allows you to retrieve a tax rate from Taxamo.
To model the tax calculation function, you use the Calculate Tax request. For more information, see Calculate Tax.
You can use this to integrate the tax calculation function with your checkout process. For example, you might use it to calculate the tax on a good that is displayed on a UI before a buyer makes a purchase.
The API models transactions where the buyer's details are not confirmed as stored transactions. This is analogous to how an unconfirmed payment might be held until the payment method is cleared in a clearing house for credit cards.
You use the Store Transaction request to integrate these type of transactions with your checkout process. For more information, see Store Transaction.
For example, you might use a Store Transaction request when a buyer places some goods in their basket but has not gone to the checkout to confirm the purchase.
The API models payments where the buyer's details are confirmed as confirmed transactions. The payment details are usually confirmed in these cases.
You use the Confirm Transaction request to integrate these type of transactions with your checkout process. For more information, see Confirm Transaction.
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" \
You can use the Retrieve Transaction request to retrieve the details for a specified transaction key. For more information, see Retrieve Transaction.
You can use the Retrieve Transaction Requests request to retrieve all the requests for a specified transaction key. For more information, see Retrieve Transaction Requests.
For more information, see Configuring Refunds.
Updated 11 months ago