Taxamo Webhooks
It is possible to subscribe to Taxamo webhooks. This is a streamlined integration method for all future payment methods supported by Taxamo.
Webhook endpoints can be managed directly on the Taxamo Merchant Portal.
Event Type | Description | Data Included |
---|---|---|
| A new transaction was created |
|
| A transaction was confirmed |
|
| A transaction was updated |
|
| A refund was created |
|
| An invoice was created |
|
| A credit note was created |
|
Field | Description |
---|---|
| "TEST" or "LIVE" |
| Event timestamp in RFC-3339 format |
| A unique event identifier |
| The event type e.g. |
| Transaction data related to the event. |
| Refund data related to the event.
|
Regular one-time sales
Singular sales will simply trigger the transaction.confirmed
event upon payment.
In case of a sale facilitated through Taxamo, two notifications will be sent: one for the actual sale, and one for the back-to-back transaction between the merchant and Taxamo.
Subscriptions
For subscriptions there is one additional transaction with a 0 amount. This transaction holds all of the customer information and evidence. This is called a placeholder transaction.
If the sale is facilitated through Taxamo, this placeholder transaction will be stored with Taxamo, but a webhook notification will be delivered. No back-to-back transaction is issued for the additional transaction.
Subscription transactions will work the same way as regular sales. They trigger the transaction.confirmed
event and they should be fetched through the Taxamo API endpoint to resolve any additional information required.
Refunds
Refunds for both direct sales or a back-to-back transactions will trigger the refund.created
event.
Invoices
Each non-zero sale amount between the customer and Taxamo, or the merchant, will trigger an invoice to be generated.
Taxamo can also deliver an invoice image through email to the customer.
The invoice URL is set at the transaction.invoice_image_url
field in transaction data.
Credit notes
Every refund on a charge in Stripe or PayPal will trigger a credit note generation. The credit note is available under the following url syntax:
https://services.taxamo.com/api/v2/transactions/{transaction_key}/invoice/refunds/{refund_note_number}/preview
The refund_note_number
value is a sequential number for each refund in a transaction, starting with 1.
It is also possible to fetch refund note links using the GET https://services.taxamo.com/api/v2/transactions/:key/full
endpoint, which will work for all kinds of transactions: regular, back-to-back, and delegated.
Updated almost 3 years ago