{"id":26168,"date":"2023-11-22T09:18:50","date_gmt":"2023-11-22T09:18:50","guid":{"rendered":"https:\/\/luxon.com\/?post_type=luxon_api&#038;p=22343"},"modified":"2024-12-23T10:36:11","modified_gmt":"2024-12-23T10:36:11","slug":"webhooks","status":"publish","type":"luxon_api","link":"https:\/\/luxon.com\/pl\/api\/webhooks\/","title":{"rendered":"Webhooks"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">Upon the successful completion of a payment or payout, a callback is initiated to a pre-configured URL to confirm the transaction&#8217;s finalization. For enhanced security, it is advisable to safeguard this URL through the use of an IP whitelist.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Notably, the necessary <\/span><a href=\"\/api\/first-step\/\"><span style=\"font-weight: 400;\">Luxon IP addresses<\/span><\/a><span style=\"font-weight: 400;\"> suitable for this whitelist have already been included in this documentation, ensuring a streamlined and secure setup for your integration process.<\/span><\/p>\n<p><b>Parameters<\/b><\/p>\n<table>\n<tbody>\n<tr>\n<td><b>Name<\/b><\/td>\n<td><b>Type<\/b><\/td>\n<td><b>Description<\/b><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">transactionId<\/span><\/td>\n<td><span style=\"font-weight: 400;\">String<\/span><\/td>\n<td><span style=\"font-weight: 400;\">A unique Luxon transaction identifier that can be used as a reference in other API calls.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">merchantUserId<\/span><\/td>\n<td><span style=\"font-weight: 400;\">String<\/span><\/td>\n<td><span style=\"font-weight: 400;\">A unique ID to identify the user<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">userWallet<\/span><\/td>\n<td><span style=\"font-weight: 400;\">String<\/span><\/td>\n<td><span style=\"font-weight: 400;\">A unique ID that represents the user&#8217;s wallet.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">date<\/span><\/td>\n<td><span style=\"font-weight: 400;\">String<\/span><\/td>\n<td><span style=\"font-weight: 400;\">The date and time the transaction was created in ISO8601 format.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">comment<\/span><\/td>\n<td><span style=\"font-weight: 400;\">String<\/span><\/td>\n<td><span style=\"font-weight: 400;\">The comment field attached to the transaction.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">amount<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Integer<\/span><\/td>\n<td><span style=\"font-weight: 400;\">A positive integer in cents representing the value of the transaction<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">type<\/span><\/td>\n<td><span style=\"font-weight: 400;\">String<\/span><\/td>\n<td><span style=\"font-weight: 400;\">The Type of transaction (\u201cMERCHANT_PAYOUT\u201d \u201cMERCHANT_PAYIN\u201d \u201cMERCHANT_REFUND\u201d).<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">fee<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Integer<\/span><\/td>\n<td><span style=\"font-weight: 400;\">The fee chargeable to the merchant for this transaction in EUR cents.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">status<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Object<\/span><\/td>\n<td><span style=\"font-weight: 400;\">A status object with the status of the transaction.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">billingAgreementId<\/span><\/td>\n<td><span style=\"font-weight: 400;\">String<\/span><\/td>\n<td><span style=\"font-weight: 400;\">If the payment was created with the createBillingAgreement parameter set to true and the user gave their permission to set up a Once-click agreement this will return a unique ID that can be used to initiate deposits on behalf of the user without redirecting them to log into their account.<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"author":2,"featured_media":0,"template":"","api_topic":[618],"class_list":["post-26168","luxon_api","type-luxon_api","status-publish","hentry","api_topic-information"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Webhooks - Luxon Pay<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/luxon.com\/pl\/api\/webhooks\/\" \/>\n<meta property=\"og:locale\" content=\"pl_PL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Webhooks - Luxon Pay\" \/>\n<meta property=\"og:description\" content=\"Upon the successful completion of a payment or payout, a callback is initiated to a pre-configured URL to confirm the transaction&#8217;s finalization. For enhanced security, it is advisable to safeguard this URL through the use of an IP whitelist.\u00a0 Notably, the necessary Luxon IP addresses suitable for this whitelist have already been included in this... Read more &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/luxon.com\/pl\/api\/webhooks\/\" \/>\n<meta property=\"og:site_name\" content=\"Luxon Pay\" \/>\n<meta property=\"article:modified_time\" content=\"2024-12-23T10:36:11+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Szacowany czas czytania\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minuta\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/luxon.com\/pl\/api\/webhooks\/\",\"url\":\"https:\/\/luxon.com\/pl\/api\/webhooks\/\",\"name\":\"Webhooks - Luxon Pay\",\"isPartOf\":{\"@id\":\"https:\/\/luxon.com\/pl\/#website\"},\"datePublished\":\"2023-11-22T09:18:50+00:00\",\"dateModified\":\"2024-12-23T10:36:11+00:00\",\"inLanguage\":\"pl-PL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/luxon.com\/pl\/api\/webhooks\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/luxon.com\/pl\/#website\",\"url\":\"https:\/\/luxon.com\/pl\/\",\"name\":\"Luxon Pay\",\"description\":\"Instant secure global payments\",\"publisher\":{\"@id\":\"https:\/\/luxon.com\/pl\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/luxon.com\/pl\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pl-PL\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/luxon.com\/pl\/#organization\",\"name\":\"Luxon Pay\",\"url\":\"https:\/\/luxon.com\/pl\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pl-PL\",\"@id\":\"https:\/\/luxon.com\/pl\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/luxon.com\/wp-content\/uploads\/WebsiteImage04.png\",\"contentUrl\":\"https:\/\/luxon.com\/wp-content\/uploads\/WebsiteImage04.png\",\"width\":1200,\"height\":630,\"caption\":\"Luxon Pay\"},\"image\":{\"@id\":\"https:\/\/luxon.com\/pl\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Webhooks - Luxon Pay","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/luxon.com\/pl\/api\/webhooks\/","og_locale":"pl_PL","og_type":"article","og_title":"Webhooks - Luxon Pay","og_description":"Upon the successful completion of a payment or payout, a callback is initiated to a pre-configured URL to confirm the transaction&#8217;s finalization. For enhanced security, it is advisable to safeguard this URL through the use of an IP whitelist.\u00a0 Notably, the necessary Luxon IP addresses suitable for this whitelist have already been included in this... Read more &raquo;","og_url":"https:\/\/luxon.com\/pl\/api\/webhooks\/","og_site_name":"Luxon Pay","article_modified_time":"2024-12-23T10:36:11+00:00","twitter_card":"summary_large_image","twitter_misc":{"Szacowany czas czytania":"1 minuta"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/luxon.com\/pl\/api\/webhooks\/","url":"https:\/\/luxon.com\/pl\/api\/webhooks\/","name":"Webhooks - Luxon Pay","isPartOf":{"@id":"https:\/\/luxon.com\/pl\/#website"},"datePublished":"2023-11-22T09:18:50+00:00","dateModified":"2024-12-23T10:36:11+00:00","inLanguage":"pl-PL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/luxon.com\/pl\/api\/webhooks\/"]}]},{"@type":"WebSite","@id":"https:\/\/luxon.com\/pl\/#website","url":"https:\/\/luxon.com\/pl\/","name":"Luxon Pay","description":"Instant secure global payments","publisher":{"@id":"https:\/\/luxon.com\/pl\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/luxon.com\/pl\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pl-PL"},{"@type":"Organization","@id":"https:\/\/luxon.com\/pl\/#organization","name":"Luxon Pay","url":"https:\/\/luxon.com\/pl\/","logo":{"@type":"ImageObject","inLanguage":"pl-PL","@id":"https:\/\/luxon.com\/pl\/#\/schema\/logo\/image\/","url":"https:\/\/luxon.com\/wp-content\/uploads\/WebsiteImage04.png","contentUrl":"https:\/\/luxon.com\/wp-content\/uploads\/WebsiteImage04.png","width":1200,"height":630,"caption":"Luxon Pay"},"image":{"@id":"https:\/\/luxon.com\/pl\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/luxon.com\/pl\/wp-json\/wp\/v2\/luxon_api\/26168","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/luxon.com\/pl\/wp-json\/wp\/v2\/luxon_api"}],"about":[{"href":"https:\/\/luxon.com\/pl\/wp-json\/wp\/v2\/types\/luxon_api"}],"author":[{"embeddable":true,"href":"https:\/\/luxon.com\/pl\/wp-json\/wp\/v2\/users\/2"}],"wp:attachment":[{"href":"https:\/\/luxon.com\/pl\/wp-json\/wp\/v2\/media?parent=26168"}],"wp:term":[{"taxonomy":"api_topic","embeddable":true,"href":"https:\/\/luxon.com\/pl\/wp-json\/wp\/v2\/api_topic?post=26168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}