Invoice webhooks
{
"data": {
"attributes": {
"amountBilled": "10000.00",
"amountCharged": "283.417792",
"billedCurrency": "TRY",
"chargedCurrency": "USDT",
"chargedTargetRate": "0.948618",
"chargedTargetRateCurrency": "EUR",
"createdAt": "2025-01-28T16:26:56.275Z",
"exchangeRate": "35.2836",
"expiresAt": "2025-01-28T16:46:56.063Z",
"hostedPageUrl": "https://sandbox.txn.pro/redirect?invoice_id=fe8ea84a-8490-4133-87e9-3209e6d1f7db&request_type=invoice_hosted_page",
"network": "ttrx:usdt",
"networkName": "Tron (TRC20)",
"paymentStatus": "expecting",
"reference": "bc32c092-8979-4435-b176-ae1b790b1ca6",
"status": "pending",
"statusContext": "unpaid",
"successRedirectUrl": "https://yahoo.com",
"targetAmount": "266.17",
"targetCurrency": "EUR",
"unsuccessRedirectUrl": "https://myspace.com"
},
"id": "fe8ea84a-8490-4133-87e9-3209e6d1f7db",
"relationships": {
"address": {
"data": {
"id": "e4c1c999-52a5-470b-a8c4-e88d875eb3cf",
"type": "addresses"
}
},
"coinDeposits": {
"data": []
},
"invoiceTransactions": {
"data": [
{
"id": "89d6e25d-70ff-4d89-b784-0aac1df896a0",
"type": "invoiceTransactions"
}
]
},
"refundLinks": {
"data": []
}
},
"type": "invoices"
},
"included": [
{
"attributes": {
"createdAt": "2025-01-28T15:19:00.020Z",
"label": "Tron (TRC20)",
"value": "TSEC2CvHZ1MgiA8VhgWoRHpXSxPY6wndyW"
},
"id": "e4c1c999-52a5-470b-a8c4-e88d875eb3cf",
"relationships": {
"account": {
"meta": {
"included": false
}
},
"network": {
"meta": {
"included": false
}
}
},
"type": "addresses"
},
{
"attributes": {
"amountBilled": "10000.00",
"billedChargedRate": "35.2836",
"billedChargedRateCurrency": "TRY",
"consolidationFee": "0.00",
"targetTransactionFee": "2.69",
"targetTransactionFeeCurrency": "EUR",
"transactionFee": "100.00",
"transactionFeeCurrency": "TRY"
},
"id": "89d6e25d-70ff-4d89-b784-0aac1df896a0",
"relationships": {
"exchangeQuote": {
"data": null
},
"invoice": {
"meta": {
"included": false
}
},
"txn": {
"data": {
"id": "89d6e25d-70ff-4d89-b784-0aac1df896a0",
"type": "transactions"
}
}
},
"type": "invoiceTransactions"
},
{
"attributes": {
"amount": "266.17",
"createdAt": "2025-01-28T16:26:56.299Z",
"reference": "bc32c092-8979-4435-b176-ae1b790b1ca6",
"simplifiedState": "pending",
"transactionType": "InvoiceTransaction"
},
"id": "89d6e25d-70ff-4d89-b784-0aac1df896a0",
"relationships": {
"account": {
"meta": {
"included": false
}
},
"transactionDetails": {
"meta": {
"included": false
}
}
},
"type": "transactions"
}
],
"meta": {}
}
{
"data": {
"attributes": {
"amountBilled": "10000.00",
"amountCharged": "283.417792",
"billedCurrency": "TRY",
"chargedCurrency": "USDT",
"chargedTargetRate": "0.948618",
"chargedTargetRateCurrency": "EUR",
"createdAt": "2025-01-28T16:26:56.275Z",
"exchangeRate": "35.2836",
"expiresAt": "2025-01-28T16:46:56.063Z",
"hostedPageUrl": "https://sandbox.txn.pro/redirect?invoice_id=fe8ea84a-8490-4133-87e9-3209e6d1f7db&request_type=invoice_hosted_page",
"network": "ttrx:usdt",
"networkName": "Tron (TRC20)",
"paymentStatus": "on_time",
"reference": "bc32c092-8979-4435-b176-ae1b790b1ca6",
"status": "processing",
"statusContext": "unpaid",
"successRedirectUrl": "https://yahoo.com",
"targetAmount": "266.17",
"targetCurrency": "EUR",
"unsuccessRedirectUrl": "https://myspace.com"
},
"id": "fe8ea84a-8490-4133-87e9-3209e6d1f7db",
"relationships": {
"address": {
"data": {
"id": "e4c1c999-52a5-470b-a8c4-e88d875eb3cf",
"type": "addresses"
}
},
"coinDeposits": {
"data": [
{
"id": "32520a71-f71a-4878-97c1-41844cd96d9d",
"type": "coinTransactions"
}
]
},
"invoiceTransactions": {
"data": [
{
"id": "89d6e25d-70ff-4d89-b784-0aac1df896a0",
"type": "invoiceTransactions"
}
]
},
"refundLinks": {
"data": []
}
},
"type": "invoices"
},
"included": [
{
"attributes": {
"createdAt": "2025-01-28T15:19:00.020Z",
"label": "Tron (TRC20)",
"value": "TSEC2CvHZ1MgiA8VhgWoRHpXSxPY6wndyW"
},
"id": "e4c1c999-52a5-470b-a8c4-e88d875eb3cf",
"relationships": {
"account": {
"meta": {
"included": false
}
},
"network": {
"meta": {
"included": false
}
}
},
"type": "addresses"
},
{
"attributes": {
"amountBilled": "10000.00",
"billedChargedRate": "35.2836",
"billedChargedRateCurrency": "TRY",
"consolidationFee": "0.00",
"targetTransactionFee": "2.69",
"targetTransactionFeeCurrency": "EUR",
"transactionFee": "100.00",
"transactionFeeCurrency": "TRY"
},
"id": "89d6e25d-70ff-4d89-b784-0aac1df896a0",
"relationships": {
"exchangeQuote": {
"data": null
},
"invoice": {
"meta": {
"included": false
}
},
"txn": {
"data": {
"id": "89d6e25d-70ff-4d89-b784-0aac1df896a0",
"type": "transactions"
}
}
},
"type": "invoiceTransactions"
},
{
"attributes": {
"accountId": "e289de2b-37bd-4eff-b832-f754c31a2d95",
"amount": "283.417792",
"createdAt": "2025-01-28T16:28:26.669Z",
"currencyCode": "USDT",
"state": "processed",
"txHash": "1c378c68c5b78573e069642036747754ed7edbad0cd35d0fa734739243906f18"
},
"id": "32520a71-f71a-4878-97c1-41844cd96d9d",
"relationships": {
"address": {
"meta": {
"included": false
}
},
"network": {
"meta": {
"included": false
}
}
},
"type": "coinTransactions"
},
{
"attributes": {
"amount": "266.17",
"createdAt": "2025-01-28T16:29:00.447Z",
"reference": "bc32c092-8979-4435-b176-ae1b790b1ca6",
"simplifiedState": "on_hold",
"transactionType": "InvoiceTransaction"
},
"id": "89d6e25d-70ff-4d89-b784-0aac1df896a0",
"relationships": {
"account": {
"meta": {
"included": false
}
},
"transactionDetails": {
"meta": {
"included": false
}
}
},
"type": "transactions"
}
],
"meta": {}
}
{
"data": {
"attributes": {
"amountBilled": "10000.00",
"amountCharged": "283.417792",
"billedCurrency": "TRY",
"chargedCurrency": "USDT",
"chargedTargetRate": "0.948618",
"chargedTargetRateCurrency": "EUR",
"createdAt": "2025-01-28T16:26:56.275Z",
"exchangeRate": "35.2836",
"expiresAt": "2025-01-28T16:46:56.063Z",
"hostedPageUrl": "https://sandbox.txn.pro/redirect?invoice_id=fe8ea84a-8490-4133-87e9-3209e6d1f7db&request_type=invoice_hosted_page",
"network": "ttrx:usdt",
"networkName": "Tron (TRC20)",
"paymentStatus": "on_time",
"reference": "bc32c092-8979-4435-b176-ae1b790b1ca6",
"status": "completed",
"statusContext": "full",
"successRedirectUrl": "https://yahoo.com",
"targetAmount": "266.17",
"targetCurrency": "EUR",
"unsuccessRedirectUrl": "https://myspace.com"
},
"id": "fe8ea84a-8490-4133-87e9-3209e6d1f7db",
"relationships": {
"address": {
"data": {
"id": "e4c1c999-52a5-470b-a8c4-e88d875eb3cf",
"type": "addresses"
}
},
"coinDeposits": {
"data": [
{
"id": "32520a71-f71a-4878-97c1-41844cd96d9d",
"type": "coinTransactions"
}
]
},
"invoiceTransactions": {
"data": [
{
"id": "89d6e25d-70ff-4d89-b784-0aac1df896a0",
"type": "invoiceTransactions"
}
]
},
"refundLinks": {
"data": []
}
},
"type": "invoices"
},
"included": [
{
"attributes": {
"createdAt": "2025-01-28T15:19:00.020Z",
"label": "Tron (TRC20)",
"value": "TSEC2CvHZ1MgiA8VhgWoRHpXSxPY6wndyW"
},
"id": "e4c1c999-52a5-470b-a8c4-e88d875eb3cf",
"relationships": {
"account": {
"meta": {
"included": false
}
},
"network": {
"meta": {
"included": false
}
}
},
"type": "addresses"
},
{
"attributes": {
"amountBilled": "10000.00",
"billedChargedRate": "35.2836",
"billedChargedRateCurrency": "TRY",
"consolidationFee": "0.00",
"targetTransactionFee": "2.69",
"targetTransactionFeeCurrency": "EUR",
"transactionFee": "100.00",
"transactionFeeCurrency": "TRY"
},
"id": "89d6e25d-70ff-4d89-b784-0aac1df896a0",
"relationships": {
"exchangeQuote": {
"data": {
"id": "a8a7da6c-f60c-4546-9036-bb0ca8da9d75",
"type": "exchangeQuotes"
}
},
"invoice": {
"meta": {
"included": false
}
},
"txn": {
"data": {
"id": "89d6e25d-70ff-4d89-b784-0aac1df896a0",
"type": "transactions"
}
}
},
"type": "invoiceTransactions"
},
{
"attributes": {
"accountId": "e289de2b-37bd-4eff-b832-f754c31a2d95",
"amount": "283.417792",
"createdAt": "2025-01-28T16:28:26.669Z",
"currencyCode": "USDT",
"state": "processed",
"txHash": "1c378c68c5b78573e069642036747754ed7edbad0cd35d0fa734739243906f18"
},
"id": "32520a71-f71a-4878-97c1-41844cd96d9d",
"relationships": {
"address": {
"meta": {
"included": false
}
},
"network": {
"meta": {
"included": false
}
}
},
"type": "coinTransactions"
},
{
"attributes": {
"amount": "266.17",
"createdAt": "2025-01-28T16:38:38.363Z",
"reference": "bc32c092-8979-4435-b176-ae1b790b1ca6",
"simplifiedState": "completed",
"transactionType": "InvoiceTransaction"
},
"id": "89d6e25d-70ff-4d89-b784-0aac1df896a0",
"relationships": {
"account": {
"meta": {
"included": false
}
},
"transactionDetails": {
"meta": {
"included": false
}
}
},
"type": "transactions"
},
{
"attributes": {
"accountChargedId": "e289de2b-37bd-4eff-b832-f754c31a2d95",
"accountReceivedId": "13a85b45-8543-41c7-b963-394d4ea128ae",
"amountCharged": "283.417792",
"amountChargedCurrency": "USDT",
"amountReceived": "268.86",
"amountReceivedCurrency": "EUR",
"exchangeFee": "0.00",
"exchangeFeeCurrency": "EUR",
"expiresAt": "2025-01-28T16:39:08.437Z",
"rate": "0.948618",
"rateCurrency": "EUR"
},
"id": "a8a7da6c-f60c-4546-9036-bb0ca8da9d75",
"relationships": {
"exchangeOrder": {
"meta": {
"included": false
}
}
},
"type": "exchangeQuotes"
}
],
"meta": {}
}
{
"data": {
"attributes": {
"amountBilled": "10000.00",
"amountCharged": "283.417792",
"billedCurrency": "TRY",
"chargedCurrency": "USDT",
"chargedTargetRate": "0.948618",
"chargedTargetRateCurrency": "EUR",
"createdAt": "2025-01-28T16:26:56.275Z",
"exchangeRate": "35.2836",
"expiresAt": "2025-01-28T16:46:56.063Z",
"hostedPageUrl": "https://sandbox.txn.pro/redirect?invoice_id=fe8ea84a-8490-4133-87e9-3209e6d1f7db&request_type=invoice_hosted_page",
"network": "ttrx:usdt",
"networkName": "Tron (TRC20)",
"paymentStatus": "on_time",
"reference": "bc32c092-8979-4435-b176-ae1b790b1ca6",
"status": "on_hold",
"statusContext": "unpaid",
"successRedirectUrl": "https://yahoo.com",
"targetAmount": "266.17",
"targetCurrency": "EUR",
"unsuccessRedirectUrl": "https://myspace.com"
},
"id": "fe8ea84a-8490-4133-87e9-3209e6d1f7db",
"relationships": {
"address": {
"data": {
"id": "e4c1c999-52a5-470b-a8c4-e88d875eb3cf",
"type": "addresses"
}
},
"coinDeposits": {
"data": [
{
"id": "32520a71-f71a-4878-97c1-41844cd96d9d",
"type": "coinTransactions"
}
]
},
"invoiceTransactions": {
"data": [
{
"id": "89d6e25d-70ff-4d89-b784-0aac1df896a0",
"type": "invoiceTransactions"
}
]
},
"refundLinks": {
"data": []
}
},
"type": "invoices"
},
"included": [
{
"attributes": {
"createdAt": "2025-01-28T15:19:00.020Z",
"label": "Tron (TRC20)",
"value": "TSEC2CvHZ1MgiA8VhgWoRHpXSxPY6wndyW"
},
"id": "e4c1c999-52a5-470b-a8c4-e88d875eb3cf",
"relationships": {
"account": {
"meta": {
"included": false
}
},
"network": {
"meta": {
"included": false
}
}
},
"type": "addresses"
},
{
"attributes": {
"amountBilled": "10000.00",
"billedChargedRate": "35.2836",
"billedChargedRateCurrency": "TRY",
"consolidationFee": "0.00",
"targetTransactionFee": "2.69",
"targetTransactionFeeCurrency": "EUR",
"transactionFee": "100.00",
"transactionFeeCurrency": "TRY"
},
"id": "89d6e25d-70ff-4d89-b784-0aac1df896a0",
"relationships": {
"exchangeQuote": {
"data": null
},
"invoice": {
"meta": {
"included": false
}
},
"txn": {
"data": {
"id": "89d6e25d-70ff-4d89-b784-0aac1df896a0",
"type": "transactions"
}
}
},
"type": "invoiceTransactions"
},
{
"attributes": {
"accountId": "e289de2b-37bd-4eff-b832-f754c31a2d95",
"amount": "283.417792",
"createdAt": "2025-01-28T16:28:26.669Z",
"currencyCode": "USDT",
"state": "on_hold_confirmed",
"txHash": "1c378c68c5b78573e069642036747754ed7edbad0cd35d0fa734739243906f18"
},
"id": "32520a71-f71a-4878-97c1-41844cd96d9d",
"relationships": {
"address": {
"meta": {
"included": false
}
},
"network": {
"meta": {
"included": false
}
}
},
"type": "coinTransactions"
},
{
"attributes": {
"amount": "266.17",
"createdAt": "2025-01-28T16:29:00.447Z",
"reference": "bc32c092-8979-4435-b176-ae1b790b1ca6",
"simplifiedState": "on_hold",
"transactionType": "InvoiceTransaction"
},
"id": "89d6e25d-70ff-4d89-b784-0aac1df896a0",
"relationships": {
"account": {
"meta": {
"included": false
}
},
"transactionDetails": {
"meta": {
"included": false
}
}
},
"type": "transactions"
}
],
"meta": {}
}
{
"data": {
"attributes": {
"amountBilled": "10000.00",
"amountCharged": "283.489380",
"billedCurrency": "TRY",
"chargedCurrency": "USDT",
"chargedTargetRate": "0.9483804",
"chargedTargetRateCurrency": "EUR",
"createdAt": "2025-01-28T17:13:15.057Z",
"exchangeRate": "35.27469",
"expiresAt": "2025-01-28T17:33:14.862Z",
"hostedPageUrl": "https://sandbox.txn.pro/redirect?invoice_id=071f4b03-30d9-499e-bef7-743249d3b9ea&request_type=invoice_hosted_page",
"network": "ttrx:usdt",
"networkName": "Tron (TRC20)",
"paymentStatus": "expecting",
"reference": "14c58eb0-b97e-4396-bedf-398a5e6fb8b8",
"status": "expired",
"statusContext": "unpaid",
"successRedirectUrl": "https://yahoo.com",
"targetAmount": "266.17",
"targetCurrency": "EUR",
"unsuccessRedirectUrl": "https://myspace.com"
},
"id": "071f4b03-30d9-499e-bef7-743249d3b9ea",
"relationships": {
"address": {
"data": {
"id": "8ad44692-b680-4ef9-a160-447ecb4f8962",
"type": "addresses"
}
},
"coinDeposits": {
"data": []
},
"invoiceTransactions": {
"data": [
{
"id": "432fc78a-660e-4fb1-8691-76dbdb0c496e",
"type": "invoiceTransactions"
}
]
},
"refundLinks": {
"data": []
}
},
"type": "invoices"
},
"included": [
{
"attributes": {
"createdAt": "2025-01-28T15:20:41.439Z",
"label": "Tron (TRC20)",
"value": "TNrqQjUx6y6SRPs1yQKqc6rmn4XwtW9y5X"
},
"id": "8ad44692-b680-4ef9-a160-447ecb4f8962",
"relationships": {
"account": {
"meta": {
"included": false
}
},
"network": {
"meta": {
"included": false
}
}
},
"type": "addresses"
},
{
"attributes": {
"amountBilled": "10000.00",
"billedChargedRate": "35.27469",
"billedChargedRateCurrency": "TRY",
"consolidationFee": "0.00",
"targetTransactionFee": "2.69",
"targetTransactionFeeCurrency": "EUR",
"transactionFee": "100.00",
"transactionFeeCurrency": "TRY"
},
"id": "432fc78a-660e-4fb1-8691-76dbdb0c496e",
"relationships": {
"exchangeQuote": {
"data": null
},
"invoice": {
"meta": {
"included": false
}
},
"txn": {
"data": {
"id": "432fc78a-660e-4fb1-8691-76dbdb0c496e",
"type": "transactions"
}
}
},
"type": "invoiceTransactions"
},
{
"attributes": {
"amount": "266.17",
"createdAt": "2025-01-28T17:13:15.084Z",
"reference": "14c58eb0-b97e-4396-bedf-398a5e6fb8b8",
"simplifiedState": "pending",
"transactionType": "InvoiceTransaction"
},
"id": "432fc78a-660e-4fb1-8691-76dbdb0c496e",
"relationships": {
"account": {
"meta": {
"included": false
}
},
"transactionDetails": {
"meta": {
"included": false
}
}
},
"type": "transactions"
}
],
"meta": {}
}
{
"data": {
"attributes": {
"amountBilled": "10000.00",
"amountCharged": "283.489380",
"billedCurrency": "TRY",
"chargedCurrency": "USDT",
"chargedTargetRate": "0.9483804",
"chargedTargetRateCurrency": "EUR",
"createdAt": "2025-01-28T17:13:15.057Z",
"exchangeRate": "35.27469",
"expiresAt": "2025-01-28T17:33:14.862Z",
"hostedPageUrl": "https://sandbox.txn.pro/redirect?invoice_id=071f4b03-30d9-499e-bef7-743249d3b9ea&request_type=invoice_hosted_page",
"network": "ttrx:usdt",
"networkName": "Tron (TRC20)",
"paymentStatus": "expecting",
"reference": "14c58eb0-b97e-4396-bedf-398a5e6fb8b8",
"status": "cancelled",
"statusContext": "unpaid",
"successRedirectUrl": "https://yahoo.com",
"targetAmount": "266.17",
"targetCurrency": "EUR",
"unsuccessRedirectUrl": "https://myspace.com"
},
"id": "071f4b03-30d9-499e-bef7-743249d3b9ea",
"relationships": {
"address": {
"data": {
"id": "8ad44692-b680-4ef9-a160-447ecb4f8962",
"type": "addresses"
}
},
"coinDeposits": {
"data": []
},
"invoiceTransactions": {
"data": [
{
"id": "432fc78a-660e-4fb1-8691-76dbdb0c496e",
"type": "invoiceTransactions"
}
]
},
"refundLinks": {
"data": []
}
},
"type": "invoices"
},
"included": [
{
"attributes": {
"createdAt": "2025-01-28T15:20:41.439Z",
"label": "Tron (TRC20)",
"value": "TNrqQjUx6y6SRPs1yQKqc6rmn4XwtW9y5X"
},
"id": "8ad44692-b680-4ef9-a160-447ecb4f8962",
"relationships": {
"account": {
"meta": {
"included": false
}
},
"network": {
"meta": {
"included": false
}
}
},
"type": "addresses"
},
{
"attributes": {
"amountBilled": "10000.00",
"billedChargedRate": "35.27469",
"billedChargedRateCurrency": "TRY",
"consolidationFee": "0.00",
"targetTransactionFee": "2.69",
"targetTransactionFeeCurrency": "EUR",
"transactionFee": "100.00",
"transactionFeeCurrency": "TRY"
},
"id": "432fc78a-660e-4fb1-8691-76dbdb0c496e",
"relationships": {
"exchangeQuote": {
"data": null
},
"invoice": {
"meta": {
"included": false
}
},
"txn": {
"data": {
"id": "432fc78a-660e-4fb1-8691-76dbdb0c496e",
"type": "transactions"
}
}
},
"type": "invoiceTransactions"
},
{
"attributes": {
"amount": "266.17",
"createdAt": "2025-01-28T17:13:15.084Z",
"reference": "14c58eb0-b97e-4396-bedf-398a5e6fb8b8",
"simplifiedState": "pending",
"transactionType": "InvoiceTransaction"
},
"id": "432fc78a-660e-4fb1-8691-76dbdb0c496e",
"relationships": {
"account": {
"meta": {
"included": false
}
},
"transactionDetails": {
"meta": {
"included": false
}
}
},
"type": "transactions"
}
],
"meta": {}
}
Last updated