{"id":23366,"date":"2025-10-13T13:13:52","date_gmt":"2025-10-13T13:13:52","guid":{"rendered":"https:\/\/paybylink.com\/integration\/api-manual\/api-connection\/create-a-direct-collect-request-via-the-api-http-post-or-http-get\/"},"modified":"2025-12-08T14:57:27","modified_gmt":"2025-12-08T14:57:27","slug":"create-a-direct-collect-request-via-the-api-http-post-or-http-get","status":"publish","type":"page","link":"https:\/\/paybylink.com\/en\/integration\/api-manual\/api-connection\/create-a-direct-collect-request-via-the-api-http-post-or-http-get\/","title":{"rendered":"Create a direct collect request via the API (http POST or http GET)"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"23366\" class=\"elementor elementor-23366 elementor-22178\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-87dcc1f elementor-section-full_width elementor-section-height-default elementor-section-height-default\" data-id=\"87dcc1f\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0f07d4a\" data-id=\"0f07d4a\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-360e67d elementor-widget elementor-widget-template\" data-id=\"360e67d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"template.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-template\">\n\t\t\t\t\t<div data-elementor-type=\"section\" data-elementor-id=\"23560\" class=\"elementor elementor-23560 elementor-22080 elementor-22080\" data-elementor-post-type=\"elementor_library\">\n\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-7884bf9a elementor-section-height-min-height elementor-section-boxed elementor-section-height-default elementor-section-items-middle\" data-id=\"7884bf9a\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t\t<div class=\"elementor-background-overlay\"><\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-45f0c301\" data-id=\"45f0c301\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4d1f7927 elementor-widget elementor-widget-heading\" data-id=\"4d1f7927\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">API manual<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-790f6c4 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"790f6c4\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-e4d5cf7\" data-id=\"e4d5cf7\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-de41f48 elementor-widget elementor-widget-html\" data-id=\"de41f48\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div id=\"content\"><\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-66c9c81 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"66c9c81\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-e3430ed\" data-id=\"e3430ed\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-976d9e2 elementor-section-full_width elementor-section-height-default elementor-section-height-default\" data-id=\"976d9e2\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-897523f\" data-id=\"897523f\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c016f1f elementor-widget elementor-widget-template\" data-id=\"c016f1f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"template.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-template\">\n\t\t\t\t\t<div data-elementor-type=\"section\" data-elementor-id=\"23562\" class=\"elementor elementor-23562 elementor-22484 elementor-22484\" data-elementor-post-type=\"elementor_library\">\n\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e09f34c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e09f34c\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-5bf171a\" data-id=\"5bf171a\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6fb2195 elementor-widget__width-initial elementor-nav-menu__text-align-aside elementor-widget elementor-widget-nav-menu\" data-id=\"6fb2195\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;layout&quot;:&quot;dropdown&quot;,&quot;submenu_icon&quot;:{&quot;value&quot;:&quot;&lt;i class=\\&quot;fas fa-chevron-down\\&quot; aria-hidden=\\&quot;true\\&quot;&gt;&lt;\\\/i&gt;&quot;,&quot;library&quot;:&quot;fa-solid&quot;}}\" data-widget_type=\"nav-menu.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<nav class=\"elementor-nav-menu--dropdown elementor-nav-menu__container\" aria-hidden=\"true\">\n\t\t\t\t<ul id=\"menu-2-6fb2195\" class=\"elementor-nav-menu\"><li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-23459\"><a href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/introduction\/\" class=\"elementor-item\" tabindex=\"-1\">Introduction<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-23441\"><a href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/api-connection\/\" class=\"elementor-item\" tabindex=\"-1\">API connection<\/a>\n<ul class=\"sub-menu elementor-nav-menu--dropdown\">\n\t<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-23442\"><a href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/api-connection\/create-a-payment-via-the-api-http-post-or-http-get\/\" class=\"elementor-sub-item\" tabindex=\"-1\">Create API payment<\/a><\/li>\n\t<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-23443\"><a href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/api-connection\/find-payment-url\/\" class=\"elementor-sub-item\" tabindex=\"-1\">Find payment URL<\/a><\/li>\n\t<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-23444\"><a href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/api-connection\/find-payments-based-on-a-part-of-an-order-id\/\" class=\"elementor-sub-item\" tabindex=\"-1\">Find payments<\/a><\/li>\n\t<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-23445\"><a href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/api-connection\/change-the-status-of-a-payment-by-the-order-reference-http-post\/\" class=\"elementor-sub-item\" tabindex=\"-1\">Change payment status<\/a><\/li>\n\t<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-23465\"><a href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/api-connection\/create-a-payment-from-a-url-for-a-qr-code-http-get\/\" class=\"elementor-sub-item\" tabindex=\"-1\">Create QR code payment<\/a><\/li>\n\t<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-24107\"><a href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/api-connection\/create-a-mandate-request-via-the-api-http-post-or-http-get\/\" class=\"elementor-sub-item\" tabindex=\"-1\">Create API mandate request<\/a><\/li>\n\t<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-23467\"><a href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/api-connection\/find-the-url-of-a-mandate-request-by-the-mandate-number-http-get\/\" class=\"elementor-sub-item\" tabindex=\"-1\">Find the mandate request URL<\/a><\/li>\n\t<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-23468\"><a href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/api-connection\/change-the-status-of-a-mandate-by-the-mandate-number-http-post\/\" class=\"elementor-sub-item\" tabindex=\"-1\">Change mandate status<\/a><\/li>\n\t<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-23469\"><a href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/api-connection\/create-a-mandate-request-from-a-url-for-a-qr-code-http-get\/\" class=\"elementor-sub-item\" tabindex=\"-1\">Create QR code mandate request<\/a><\/li>\n\t<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-23470\"><a href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/api-connection\/create-a-direct-collect-request-via-the-api-http-post-or-http-get\/\" class=\"elementor-sub-item\" tabindex=\"-1\">Create API direct collect request<\/a><\/li>\n<\/ul>\n<\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-23446\"><a href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/callbacks\/\" class=\"elementor-item\" tabindex=\"-1\">Callbacks<\/a>\n<ul class=\"sub-menu elementor-nav-menu--dropdown\">\n\t<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-23447\"><a href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/callbacks\/additional-callback-parameters\/\" class=\"elementor-sub-item\" tabindex=\"-1\">Additional callback parameters<\/a><\/li>\n\t<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-23448\"><a href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/callbacks\/callback-triggers\/\" class=\"elementor-sub-item\" tabindex=\"-1\">Callback triggers<\/a><\/li>\n\t<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-23449\"><a href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/callbacks\/callback-by-mail\/\" class=\"elementor-sub-item\" tabindex=\"-1\">Callback by mail<\/a><\/li>\n\t<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-23450\"><a href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/callbacks\/callback-by-url\/\" class=\"elementor-sub-item\" tabindex=\"-1\">Callback by URL<\/a><\/li>\n\t<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-23471\"><a href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/callbacks\/callback-to-an-ftp-server\/\" class=\"elementor-sub-item\" tabindex=\"-1\">Callback to an FTP server<\/a><\/li>\n\t<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-23472\"><a href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/callbacks\/callback-to-rezexchange\/\" class=\"elementor-sub-item\" tabindex=\"-1\">Callback to RezExchange<\/a><\/li>\n<\/ul>\n<\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-23451\"><a href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/url-shortener\/\" class=\"elementor-item\" tabindex=\"-1\">URL shortener<\/a>\n<ul class=\"sub-menu elementor-nav-menu--dropdown\">\n\t<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-23452\"><a href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/url-shortener\/shortened-url-domain-names\/\" class=\"elementor-sub-item\" tabindex=\"-1\">Shortened URL domain names<\/a><\/li>\n\t<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-23453\"><a href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/url-shortener\/create-a-shortened-url\/\" class=\"elementor-sub-item\" tabindex=\"-1\">Create a shortened URL<\/a><\/li>\n\t<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-23454\"><a href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/url-shortener\/get-qr-code-image\/\" class=\"elementor-sub-item\" tabindex=\"-1\">Get QR code image<\/a><\/li>\n\t<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-23455\"><a href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/url-shortener\/create-an-empty-shortened-url\/\" class=\"elementor-sub-item\" tabindex=\"-1\">Create an empty shortened URL<\/a><\/li>\n<\/ul>\n<\/li>\n<li class=\"menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-23473\"><a href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/glossary\/payment-parameters\/\" class=\"elementor-item\" tabindex=\"-1\">Glossary<\/a>\n<ul class=\"sub-menu elementor-nav-menu--dropdown\">\n\t<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-23456\"><a href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/glossary\/payment-parameters\/\" class=\"elementor-sub-item\" tabindex=\"-1\">Payment parameters<\/a><\/li>\n\t<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-23457\"><a href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/glossary\/mandate-parameters\/\" class=\"elementor-sub-item\" tabindex=\"-1\">Mandate parameters<\/a><\/li>\n\t<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-23458\"><a href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/glossary\/direct-collect-parameters\/\" class=\"elementor-sub-item\" tabindex=\"-1\">Direct collect parameters<\/a><\/li>\n\t<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-23474\"><a href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/glossary\/usage-of-dates\/\" class=\"elementor-sub-item\" tabindex=\"-1\">Usage of dates<\/a><\/li>\n<\/ul>\n<\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-23475\"><a href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/payment-method-codes\/\" class=\"elementor-item\" tabindex=\"-1\">Payment method codes<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-23476\"><a href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/variables-and-functions\/\" class=\"elementor-item\" tabindex=\"-1\">Variables and functions<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-23963\"><a href=\"https:\/\/paybylink.com\/en\/functionality\/\" class=\"elementor-item\" tabindex=\"-1\">Functionality<\/a><\/li>\n<li class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-23440\"><a href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/\" class=\"elementor-item\" tabindex=\"-1\">API manual<\/a><\/li>\n<\/ul>\t\t\t<\/nav>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-2452ba9\" data-id=\"2452ba9\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-a418c8c elementor-widget elementor-widget-heading\" data-id=\"a418c8c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h1 class=\"elementor-heading-title elementor-size-default\">Create a direct collect request via the API (http POST or http GET)<\/h1>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3647036 elementor-widget elementor-widget-text-editor\" data-id=\"3647036\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Using the \u2018<b>create<\/b>\u2019 command a direct collect request can be created for a specific entity using the supplied values.<br \/>The &lt;command&gt; value in the URL must be replaced by:\u00a0<b>create\/&lt;entity key&gt;<\/b><br \/>A secure connection, as described in the \u2018<a class=\"internal-link\" href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/api-connection\/\">API connection<\/a>\u2019 page, must be created.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0297ceb elementor-widget elementor-widget-tablepress-table\" data-id=\"0297ceb\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"tablepress-table.default\">\n\t\t\t\t\t\n<table id=\"tablepress-56\" class=\"tablepress tablepress-id-56\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\">URL PARAMETER<\/th><th class=\"column-2\">DESCRIPTION<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr class=\"row-2\">\n\t<td class=\"column-1\">entity key<\/td><td class=\"column-2\">Every PayByLink entity within the system has its own unique key. When connecting to the PayByLink system, this key must be supplied as well so PayByLink knows within which entity the direct collect request must be created.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-56 from cache -->\t\t\t\t<\/div>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-b7f6c49 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b7f6c49\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-c170157\" data-id=\"c170157\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0fc5e4f elementor-widget elementor-widget-heading\" data-id=\"0fc5e4f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Example<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2e81d9c elementor-widget elementor-widget-text-editor\" data-id=\"2e81d9c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>https:\/\/api.paybylink.com\/collect\/create\/e7140a88-cbba-4cc2-be9f-6e90536703ef<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<div class=\"elementor-element elementor-element-d4e5dc2 elementor-widget elementor-widget-heading\" data-id=\"d4e5dc2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Posted values<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3555c24 elementor-widget elementor-widget-tablepress-table\" data-id=\"3555c24\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"tablepress-table.default\">\n\t\t\t\t\t\n<table id=\"tablepress-55\" class=\"tablepress tablepress-id-55\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\">PARAMETER<\/th><th class=\"column-2\">DESCRIPTION<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr class=\"row-2\">\n\t<td class=\"column-1\">MappingTemplate<\/td><td class=\"column-2\">With this parameter you can let the API know what mapping template must be used. If left empty: the default direct-collect-mapping for that entity is used. <\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">*<\/td><td class=\"column-2\">You can post any value to the API. Only those values that are used in the mapping template will be used but they are all logged in the system.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-55 from cache -->\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3a8af7b elementor-widget elementor-widget-heading\" data-id=\"3a8af7b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Return values<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-de8c9ee elementor-widget elementor-widget-text-editor\" data-id=\"de8c9ee\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p class=\"bodytext\">When the direct collect request could be created successfully, the unique key of the created direct collect request is returned.<\/p><p class=\"bodytext\">If the direct collect request could not be created successfully, a \u2018BadRequest\u2019 with a describing message is returned. All the calls and parameters to and from the API are logged within the PayByLink system.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7b0ea59 elementor-widget elementor-widget-heading\" data-id=\"7b0ea59\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Test create a direct collect request via API<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-29f5d82 elementor-widget elementor-widget-text-editor\" data-id=\"29f5d82\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><a href=\"https:\/\/api.paybylink.com\/swagger\/ui\/index#\/DirectCollectApi\" target=\"_blank\" rel=\"noopener\">https:\/\/api.paybylink.com\/swagger\/ui\/index#\/DirectCollectApi<\/a><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Create a direct collect request via the API (http POST or http GET) Using the \u2018create\u2019 command a direct collect request can be created for a specific entity using the supplied values.The &lt;command&gt; value in the URL must be replaced by:\u00a0create\/&lt;entity key&gt;A secure connection, as described in the \u2018API connection\u2019 page, must be created. Bewerken <a href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/api-connection\/create-a-direct-collect-request-via-the-api-http-post-or-http-get\/\" class=\"more-link\">&#8230;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":23334,"menu_order":100,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"class_list":["post-23366","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Create a direct collect request via the API (http POST or http GET) - PayByLink<\/title>\n<meta name=\"description\" content=\"Create a direct collect request via the API (http POST or http GET). This can be done using the &#039;create&#039; command.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/api-connection\/create-a-direct-collect-request-via-the-api-http-post-or-http-get\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create a direct collect request via the API (http POST or http GET) - PayByLink\" \/>\n<meta property=\"og:description\" content=\"Create a direct collect request via the API (http POST or http GET). This can be done using the &#039;create&#039; command.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/api-connection\/create-a-direct-collect-request-via-the-api-http-post-or-http-get\/\" \/>\n<meta property=\"og:site_name\" content=\"PayByLink\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-08T14:57:27+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/paybylink.com\\\/en\\\/integration\\\/api-manual\\\/api-connection\\\/create-a-direct-collect-request-via-the-api-http-post-or-http-get\\\/\",\"url\":\"https:\\\/\\\/paybylink.com\\\/en\\\/integration\\\/api-manual\\\/api-connection\\\/create-a-direct-collect-request-via-the-api-http-post-or-http-get\\\/\",\"name\":\"Create a direct collect request via the API (http POST or http GET) - PayByLink\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/paybylink.com\\\/en\\\/#website\"},\"datePublished\":\"2025-10-13T13:13:52+00:00\",\"dateModified\":\"2025-12-08T14:57:27+00:00\",\"description\":\"Create a direct collect request via the API (http POST or http GET). This can be done using the 'create' command.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/paybylink.com\\\/en\\\/integration\\\/api-manual\\\/api-connection\\\/create-a-direct-collect-request-via-the-api-http-post-or-http-get\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/paybylink.com\\\/en\\\/integration\\\/api-manual\\\/api-connection\\\/create-a-direct-collect-request-via-the-api-http-post-or-http-get\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/paybylink.com\\\/en\\\/integration\\\/api-manual\\\/api-connection\\\/create-a-direct-collect-request-via-the-api-http-post-or-http-get\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/paybylink.com\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Integration\",\"item\":\"https:\\\/\\\/paybylink.com\\\/en\\\/integratie\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"API manual\",\"item\":\"https:\\\/\\\/paybylink.com\\\/en\\\/integratie\\\/api-manual\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"API connection\",\"item\":\"https:\\\/\\\/paybylink.com\\\/en\\\/integratie\\\/api-manual\\\/api-connection\\\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Create a direct collect request via the API (http POST or http GET)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/paybylink.com\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/paybylink.com\\\/en\\\/\",\"name\":\"PayByLink\",\"description\":\"Betaallinks snel, veilig en eenvoudig versturen\",\"publisher\":{\"@id\":\"https:\\\/\\\/paybylink.com\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/paybylink.com\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/paybylink.com\\\/en\\\/#organization\",\"name\":\"PayByLink\",\"url\":\"https:\\\/\\\/paybylink.com\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/paybylink.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/paybylink.com\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/logopbl-200x200-1.png\",\"contentUrl\":\"https:\\\/\\\/paybylink.com\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/logopbl-200x200-1.png\",\"width\":200,\"height\":200,\"caption\":\"PayByLink\"},\"image\":{\"@id\":\"https:\\\/\\\/paybylink.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/nl.linkedin.com\\\/company\\\/paybylink-com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Create a direct collect request via the API (http POST or http GET) - PayByLink","description":"Create a direct collect request via the API (http POST or http GET). This can be done using the 'create' command.","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:\/\/paybylink.com\/en\/integration\/api-manual\/api-connection\/create-a-direct-collect-request-via-the-api-http-post-or-http-get\/","og_locale":"en_US","og_type":"article","og_title":"Create a direct collect request via the API (http POST or http GET) - PayByLink","og_description":"Create a direct collect request via the API (http POST or http GET). This can be done using the 'create' command.","og_url":"https:\/\/paybylink.com\/en\/integration\/api-manual\/api-connection\/create-a-direct-collect-request-via-the-api-http-post-or-http-get\/","og_site_name":"PayByLink","article_modified_time":"2025-12-08T14:57:27+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/paybylink.com\/en\/integration\/api-manual\/api-connection\/create-a-direct-collect-request-via-the-api-http-post-or-http-get\/","url":"https:\/\/paybylink.com\/en\/integration\/api-manual\/api-connection\/create-a-direct-collect-request-via-the-api-http-post-or-http-get\/","name":"Create a direct collect request via the API (http POST or http GET) - PayByLink","isPartOf":{"@id":"https:\/\/paybylink.com\/en\/#website"},"datePublished":"2025-10-13T13:13:52+00:00","dateModified":"2025-12-08T14:57:27+00:00","description":"Create a direct collect request via the API (http POST or http GET). This can be done using the 'create' command.","breadcrumb":{"@id":"https:\/\/paybylink.com\/en\/integration\/api-manual\/api-connection\/create-a-direct-collect-request-via-the-api-http-post-or-http-get\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/paybylink.com\/en\/integration\/api-manual\/api-connection\/create-a-direct-collect-request-via-the-api-http-post-or-http-get\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/paybylink.com\/en\/integration\/api-manual\/api-connection\/create-a-direct-collect-request-via-the-api-http-post-or-http-get\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/paybylink.com\/en\/"},{"@type":"ListItem","position":2,"name":"Integration","item":"https:\/\/paybylink.com\/en\/integratie\/"},{"@type":"ListItem","position":3,"name":"API manual","item":"https:\/\/paybylink.com\/en\/integratie\/api-manual\/"},{"@type":"ListItem","position":4,"name":"API connection","item":"https:\/\/paybylink.com\/en\/integratie\/api-manual\/api-connection\/"},{"@type":"ListItem","position":5,"name":"Create a direct collect request via the API (http POST or http GET)"}]},{"@type":"WebSite","@id":"https:\/\/paybylink.com\/en\/#website","url":"https:\/\/paybylink.com\/en\/","name":"PayByLink","description":"Betaallinks snel, veilig en eenvoudig versturen","publisher":{"@id":"https:\/\/paybylink.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/paybylink.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/paybylink.com\/en\/#organization","name":"PayByLink","url":"https:\/\/paybylink.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/paybylink.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/paybylink.com\/wp-content\/uploads\/2022\/02\/logopbl-200x200-1.png","contentUrl":"https:\/\/paybylink.com\/wp-content\/uploads\/2022\/02\/logopbl-200x200-1.png","width":200,"height":200,"caption":"PayByLink"},"image":{"@id":"https:\/\/paybylink.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/nl.linkedin.com\/company\/paybylink-com"]}]}},"_links":{"self":[{"href":"https:\/\/paybylink.com\/en\/wp-json\/wp\/v2\/pages\/23366","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/paybylink.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/paybylink.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/paybylink.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/paybylink.com\/en\/wp-json\/wp\/v2\/comments?post=23366"}],"version-history":[{"count":4,"href":"https:\/\/paybylink.com\/en\/wp-json\/wp\/v2\/pages\/23366\/revisions"}],"predecessor-version":[{"id":23665,"href":"https:\/\/paybylink.com\/en\/wp-json\/wp\/v2\/pages\/23366\/revisions\/23665"}],"up":[{"embeddable":true,"href":"https:\/\/paybylink.com\/en\/wp-json\/wp\/v2\/pages\/23334"}],"wp:attachment":[{"href":"https:\/\/paybylink.com\/en\/wp-json\/wp\/v2\/media?parent=23366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}