Invoice refunds can optionally be triggered in scenarios where end-users send more or less cryptocurrency than they were initially quoted, or they send their cryptocurrency after the invoice expires.
For each of the payment scenarios below, Txn can configure your account to handle them individually. For example:
Payment scenario
Handling options
Overpayment
The end-user sends more cryptocurrency than required, e.g., 150 USDT instead of 100 USDT.
Txn processes the payment in full and credits the funds to the merchant's balance, OR
Txn processes the initial invoice amount of 100 USDT and creates a refund link for the overpayment of 50 USDT, OR
Txn rejects the entire payment and creates a refund link for the full amount of 150 USDT.
Underpayment
The end-user sends less cryptocurrency than required, e.g., 50 USDT instead of 100 USDT.
Txn processes the payment in full and credits the funds to the merchant's balance, OR
Txn rejects the entire payment and creates a refund link for the full amount of 50 USDT.
Late payment
The end-user sends their cryptocurrency after the invoice expires, and the initial exchange rate is no longer valid.
Txn processes the payment in full and credits the funds to the merchant's balance, OR
Txn rejects the entire payment and creates a refund link for the full amount.
Upon creating a refund request, Txn will provide a refund link via the invoice API and webhook.
A few things to be aware of:
Invoice refunds inherit their parent invoice reference ID with a "REFUND-" suffix.
Refunds are payment links to web pages hosted by Txn that you will need to share with your end-users so they can submit their wallet address to claim the funds, e.g., https://sandbox.txn.pro/redirect?payment_link_id=d1a2c04c-adab-4c01-8483-eeef02340a82&request_type=payment_link_hosted_page
End-users can only claim funds in the same currency and network as the original payment. They would not be able to claim BTC if they paid in USDT.
Refund links are valid for 90 days.
Below is an example of an invoice payload containing a Refund object:
As mentioned, each refund request is essentially a payment link to a web page hosted by Txn, for example, https://sandbox.txn.pro/redirect?payment_link_id=d1a2c04c-adab-4c01-8483-eeef02340a82&request_type=payment_link_hosted_page.
After a refund link is returned by Txn in the invoice API and webhook, the merchant will need to share the link with the end-user. Below are steps and UI examples that the end-user will follow.
Below are the steps and UI examples that the end-user will follow.