{"id":22052,"date":"2025-09-30T09:22:49","date_gmt":"2025-09-30T09:22:49","guid":{"rendered":"https:\/\/paybylink.com\/?page_id=22052"},"modified":"2025-12-15T07:47:28","modified_gmt":"2025-12-15T07:47:28","slug":"create-a-payment-via-the-api-http-post-or-http-get","status":"publish","type":"page","link":"https:\/\/paybylink.com\/nl\/integratie\/api-manual\/api-connection\/create-a-payment-via-the-api-http-post-or-http-get\/","title":{"rendered":"Create a payment via the API (http POST or http GET)"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"22052\" class=\"elementor elementor-22052\" 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=\"22080\" class=\"elementor 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-1c8ff38 elementor-widget elementor-widget-template\" data-id=\"1c8ff38\" 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=\"22484\" class=\"elementor 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 payment 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\tUsing the \u2018<b>create<\/b>\u2019 command a payment can be created for a specific entity using the supplied values.\nThe &lt;command&gt; value in the URL must be replaced by:\u00a0<b>create\/&lt;entity key&gt;<\/b>\nA secure connection, as described in the \u2018<a class=\"internal-link\" href=\"https:\/\/paybylink.com\/nl\/integratie\/api-manual\/api-connection\/\">API connection<\/a>\u2019 page, must be created.\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-69a57e3 elementor-widget elementor-widget-tablepress-table\" data-id=\"69a57e3\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"tablepress-table.default\">\n\t\t\t\t\t\n<table id=\"tablepress-23\" class=\"tablepress tablepress-id-23\">\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 payment must be created.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\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\/payment\/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-dbb5a65 elementor-widget elementor-widget-tablepress-table\" data-id=\"dbb5a65\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"tablepress-table.default\">\n\t\t\t\t\t\n<table id=\"tablepress-24\" class=\"tablepress tablepress-id-24\">\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 payment 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.<br \/>\n<br \/>\nVia HTTP-GET the parameters are part of the query-string. When using HTTP-POST also the query string can be used, but the body can also be posted via a JSON or XML string. The supplied content-type value determines how the body string must be handled.<br \/>\nFor a JSON string the content-type must be \u201capplication\/json\" or \u201ctext\/x-json\u201d.<br \/>\nFor an XML string the content-type must be \u201ctext\/xml\u201d or \u201capplication\/xml\u201d.<br \/>\nThe supplied string will be transformed to a name\/value list and can then be used in the mapping.<br \/>\nFor instance this JSON string: { \u201camount\u201d: 23.50, \u201ccustomer\u201d: \u201cJohn Doe\u201d, \u201ccontact\u201d : { \u201cmailAddress\u201d: \u201cjohn@doe.com\u201d, \u201cphoneNumber\u201d: \u201c026-1234567\u201d } } will be transformed into 4 name\/value pairs containing: \u2018amount\u2019, \u2018customer\u2019, \u2018contact.mailAddress\u2019 and \u2018contact.phoneNumber\u2019.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\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 payment could be created successfully, the Payment URL is returned. This URL can also be used by the calling application to send within its own communication to the customer when \u2018SendType\u2019 = \u2018NoSend\u2019.<\/p><p class=\"bodytext\">If the payment 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\">API payment creation and testing with Swagger<\/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:\/\/testapi.paybylink.com\/swagger\/ui\/index#\/PaymentApi\" target=\"_blank\" rel=\"noopener\">https:\/\/testapi.paybylink.com\/swagger\/ui\/index#\/PaymentApi<\/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 payment via the API (http POST or http GET) Using the \u2018create\u2019 command a payment 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 URL PARAMETER <a href=\"https:\/\/paybylink.com\/nl\/integratie\/api-manual\/api-connection\/create-a-payment-via-the-api-http-post-or-http-get\/\" class=\"more-link\">&#8230;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":21944,"menu_order":10,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"class_list":["post-22052","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 payment via the API (http POST or http GET) - PayByLink<\/title>\n<meta name=\"description\" content=\"Create a payment via the API. On this page you will find instructions how to create a payment for a specific entity.\" \/>\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\/nl\/integration\/api-manual\/api-connection\/create-a-payment-via-the-api-http-post-or-http-get\/\" \/>\n<meta property=\"og:locale\" content=\"nl_NL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create a payment via the API (http POST or http GET) - PayByLink\" \/>\n<meta property=\"og:description\" content=\"Create a payment via the API. On this page you will find instructions how to create a payment for a specific entity.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/paybylink.com\/en\/integration\/api-manual\/api-connection\/create-a-payment-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-15T07:47:28+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Geschatte leestijd\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/paybylink.com\\\/nl\\\/integratie\\\/api-manual\\\/api-connection\\\/create-a-payment-via-the-api-http-post-or-http-get\\\/\",\"url\":\"https:\\\/\\\/paybylink.com\\\/en\\\/integration\\\/api-manual\\\/api-connection\\\/create-a-payment-via-the-api-http-post-or-http-get\\\/\",\"name\":\"Create a payment via the API (http POST or http GET) - PayByLink\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/paybylink.com\\\/nl\\\/#website\"},\"datePublished\":\"2025-09-30T09:22:49+00:00\",\"dateModified\":\"2025-12-15T07:47:28+00:00\",\"description\":\"Create a payment via the API. On this page you will find instructions how to create a payment for a specific entity.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/paybylink.com\\\/en\\\/integration\\\/api-manual\\\/api-connection\\\/create-a-payment-via-the-api-http-post-or-http-get\\\/#breadcrumb\"},\"inLanguage\":\"nl-NL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/paybylink.com\\\/en\\\/integration\\\/api-manual\\\/api-connection\\\/create-a-payment-via-the-api-http-post-or-http-get\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/paybylink.com\\\/en\\\/integration\\\/api-manual\\\/api-connection\\\/create-a-payment-via-the-api-http-post-or-http-get\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/paybylink.com\\\/nl\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Integratie\",\"item\":\"https:\\\/\\\/paybylink.com\\\/nl\\\/integratie\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"API manual\",\"item\":\"https:\\\/\\\/paybylink.com\\\/nl\\\/integratie\\\/api-manual\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"API connection\",\"item\":\"https:\\\/\\\/paybylink.com\\\/nl\\\/integratie\\\/api-manual\\\/api-connection\\\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Create a payment via the API (http POST or http GET)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/paybylink.com\\\/nl\\\/#website\",\"url\":\"https:\\\/\\\/paybylink.com\\\/nl\\\/\",\"name\":\"PayByLink\",\"description\":\"Betaallinks snel, veilig en eenvoudig versturen\",\"publisher\":{\"@id\":\"https:\\\/\\\/paybylink.com\\\/nl\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/paybylink.com\\\/nl\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"nl-NL\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/paybylink.com\\\/nl\\\/#organization\",\"name\":\"PayByLink\",\"url\":\"https:\\\/\\\/paybylink.com\\\/nl\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"nl-NL\",\"@id\":\"https:\\\/\\\/paybylink.com\\\/nl\\\/#\\\/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\\\/nl\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/nl.linkedin.com\\\/company\\\/paybylink-com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Create a payment via the API (http POST or http GET) - PayByLink","description":"Create a payment via the API. On this page you will find instructions how to create a payment for a specific entity.","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\/nl\/integration\/api-manual\/api-connection\/create-a-payment-via-the-api-http-post-or-http-get\/","og_locale":"nl_NL","og_type":"article","og_title":"Create a payment via the API (http POST or http GET) - PayByLink","og_description":"Create a payment via the API. On this page you will find instructions how to create a payment for a specific entity.","og_url":"https:\/\/paybylink.com\/en\/integration\/api-manual\/api-connection\/create-a-payment-via-the-api-http-post-or-http-get\/","og_site_name":"PayByLink","article_modified_time":"2025-12-15T07:47:28+00:00","twitter_card":"summary_large_image","twitter_misc":{"Geschatte leestijd":"2 minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/paybylink.com\/nl\/integratie\/api-manual\/api-connection\/create-a-payment-via-the-api-http-post-or-http-get\/","url":"https:\/\/paybylink.com\/en\/integration\/api-manual\/api-connection\/create-a-payment-via-the-api-http-post-or-http-get\/","name":"Create a payment via the API (http POST or http GET) - PayByLink","isPartOf":{"@id":"https:\/\/paybylink.com\/nl\/#website"},"datePublished":"2025-09-30T09:22:49+00:00","dateModified":"2025-12-15T07:47:28+00:00","description":"Create a payment via the API. On this page you will find instructions how to create a payment for a specific entity.","breadcrumb":{"@id":"https:\/\/paybylink.com\/en\/integration\/api-manual\/api-connection\/create-a-payment-via-the-api-http-post-or-http-get\/#breadcrumb"},"inLanguage":"nl-NL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/paybylink.com\/en\/integration\/api-manual\/api-connection\/create-a-payment-via-the-api-http-post-or-http-get\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/paybylink.com\/en\/integration\/api-manual\/api-connection\/create-a-payment-via-the-api-http-post-or-http-get\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/paybylink.com\/nl\/"},{"@type":"ListItem","position":2,"name":"Integratie","item":"https:\/\/paybylink.com\/nl\/integratie\/"},{"@type":"ListItem","position":3,"name":"API manual","item":"https:\/\/paybylink.com\/nl\/integratie\/api-manual\/"},{"@type":"ListItem","position":4,"name":"API connection","item":"https:\/\/paybylink.com\/nl\/integratie\/api-manual\/api-connection\/"},{"@type":"ListItem","position":5,"name":"Create a payment via the API (http POST or http GET)"}]},{"@type":"WebSite","@id":"https:\/\/paybylink.com\/nl\/#website","url":"https:\/\/paybylink.com\/nl\/","name":"PayByLink","description":"Betaallinks snel, veilig en eenvoudig versturen","publisher":{"@id":"https:\/\/paybylink.com\/nl\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/paybylink.com\/nl\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"nl-NL"},{"@type":"Organization","@id":"https:\/\/paybylink.com\/nl\/#organization","name":"PayByLink","url":"https:\/\/paybylink.com\/nl\/","logo":{"@type":"ImageObject","inLanguage":"nl-NL","@id":"https:\/\/paybylink.com\/nl\/#\/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\/nl\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/nl.linkedin.com\/company\/paybylink-com"]}]}},"_links":{"self":[{"href":"https:\/\/paybylink.com\/nl\/wp-json\/wp\/v2\/pages\/22052","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/paybylink.com\/nl\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/paybylink.com\/nl\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/paybylink.com\/nl\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/paybylink.com\/nl\/wp-json\/wp\/v2\/comments?post=22052"}],"version-history":[{"count":33,"href":"https:\/\/paybylink.com\/nl\/wp-json\/wp\/v2\/pages\/22052\/revisions"}],"predecessor-version":[{"id":23679,"href":"https:\/\/paybylink.com\/nl\/wp-json\/wp\/v2\/pages\/22052\/revisions\/23679"}],"up":[{"embeddable":true,"href":"https:\/\/paybylink.com\/nl\/wp-json\/wp\/v2\/pages\/21944"}],"wp:attachment":[{"href":"https:\/\/paybylink.com\/nl\/wp-json\/wp\/v2\/media?parent=22052"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}