{"id":79,"date":"2023-08-22T11:11:28","date_gmt":"2023-08-22T11:11:28","guid":{"rendered":"https:\/\/developers.10npay.com\/?post_type=docs&#038;p=697"},"modified":"2026-05-28T09:36:21","modified_gmt":"2026-05-28T09:36:21","password":"","slug":"%d0%b8%d1%81%d0%ba%d0%b0%d0%bd%d0%b5-%d0%bd%d0%b0-%d1%81%d1%82%d0%b0%d1%82%d1%83%d1%81-%d0%bd%d0%b0-%d0%ba%d0%be%d0%bd%d1%81%d0%b5%d0%bd%d1%82","status":"publish","type":"docs","link":"https:\/\/development-portal.10npay.com\/bg\/docs\/%d0%b8%d1%81%d0%ba%d0%b0%d0%bd%d0%b5-%d0%bd%d0%b0-%d1%81%d1%82%d0%b0%d1%82%d1%83%d1%81-%d0%bd%d0%b0-%d0%ba%d0%be%d0%bd%d1%81%d0%b5%d0%bd%d1%82\/","title":{"rendered":"Consent &#8211; Status"},"content":{"rendered":"<p><span style=\"font-size: 16px;\">\r\n\r\n\r\n\r\n<\/span><\/p>\r\n<h5><span style=\"font-size: 20px;\"><strong>End-point URL<br \/><\/strong><\/span><\/h5>\r\n<p class=\"wp-block-paragraph\"><span style=\"font-size: 20px;\"><div class=\"dm-code-snippet dark default  dm-normal-version\" style=\"background-color:#abb8c3;\" snippet-height=\"\">\n\t\t\t<div class=\"control-language\">\n                <div class=\"dm-buttons\">\n                    <div class=\"dm-buttons-left\">\n                        <div class=\"dm-button-snippet red-button\"><\/div>\n                        <div class=\"dm-button-snippet orange-button\"><\/div>\n                        <div class=\"dm-button-snippet green-button\"><\/div>\n                    <\/div>\n                    <div class=\"dm-buttons-right\">\n                        <a id=\"dm-copy-raw-code\">\n                        <span class=\"dm-copy-text\">Copy Code<\/span>\n                        <span class=\"dm-copy-confirmed\" style=\"display:none\">Copied<\/span>\n                        <span class=\"dm-error-message\" style=\"display:none\">Use a different Browser<\/span><\/a>\n                    <\/div>\n                <\/div>\n                <pre class=\"no-line-numbers\"><code id=\"dm-code-raw\" class=\"wrap language-php\"><\/span><\/p>\r\n<pre class=\"dm-pre-admin-side\">http:\/\/[ip]:[port]\/psd2\/v1\/consents\/[consent-id]\/status<\/pre>\r\n<p><span style=\"font-size: 20px;\"><\/code><\/pre>\n\t\t\t<\/div>\n        <\/div><br \/><\/span><\/p>\r\n<p><strong><span style=\"font-size: 20px;\">Method:<\/span><\/strong> <span style=\"font-size: 20px;\">GET<\/span><\/p>\r\n<p><span style=\"font-size: 20px;\">\r\n\r\n<\/span><\/p>\r\n<h5><span style=\"font-size: 20px;\"><strong>HEADERS<\/strong><\/span><\/h5>\r\n<p class=\"wp-block-paragraph\"><span style=\"font-size: 20px;\">\r\n\r\n<\/span><\/p>\r\n<ul>\r\n<li><span style=\"font-size: 20px;\"><strong>X-Request-ID = [request-id]:<\/strong> Required<\/span><\/li>\r\n<li><span style=\"font-size: 20px;\"><strong>Content-Type: application\/json:<\/strong> Required<\/span><\/li>\r\n<li><span style=\"font-size: 20px;\"><strong>PSU-ID: [user-id]:<\/strong> Optional<\/span><\/li>\r\n<\/ul>\r\n<p class=\"wp-block-paragraph\"><span style=\"font-size: 20px;\">\r\n\r\n<\/span><\/p>\r\n<h5><span style=\"font-size: 20px;\"><strong>Response<\/strong><\/span><\/h5>\r\n<p class=\"wp-block-paragraph\"><span style=\"font-size: 20px;\"><div class=\"dm-code-snippet dark default  dm-normal-version\" style=\"background-color:#abb8c3;\" snippet-height=\"\">\n\t\t\t<div class=\"control-language\">\n                <div class=\"dm-buttons\">\n                    <div class=\"dm-buttons-left\">\n                        <div class=\"dm-button-snippet red-button\"><\/div>\n                        <div class=\"dm-button-snippet orange-button\"><\/div>\n                        <div class=\"dm-button-snippet green-button\"><\/div>\n                    <\/div>\n                    <div class=\"dm-buttons-right\">\n                        <a id=\"dm-copy-raw-code\">\n                        <span class=\"dm-copy-text\">Copy Code<\/span>\n                        <span class=\"dm-copy-confirmed\" style=\"display:none\">Copied<\/span>\n                        <span class=\"dm-error-message\" style=\"display:none\">Use a different Browser<\/span><\/a>\n                    <\/div>\n                <\/div>\n                <pre class=\"no-line-numbers\"><code id=\"dm-code-raw\" class=\"no-wrap language-php\"><\/span><\/p>\r\n<pre class=\"dm-pre-admin-side\"><span style=\"font-size: 20px;\">{\r\n\t\"status\": \"Received\"\r\n}<\/span><\/pre>\r\n<p><span style=\"font-size: 20px;\"><\/code><\/pre>\n\t\t\t<\/div>\n        <\/div><\/span><\/p>\r\n<h5><span style=\"font-size: 20px;\">Snippet<\/span><\/h5>\r\n<p><span style=\"font-size: 20px;\">    <div class=\"json-snippet\">\n        <form id=\"api_form\" class=\"json-snippet__layout\" onsubmit=\"return false;\">\n            <section class=\"json-card json-card--request\">\n                <header class=\"json-card__header\">\n                    <span class=\"json-card__step\">01<\/span>\n                    <div>\n                        <h2>Request setup<\/h2>\n                        <p>Configure the endpoint, headers, and payload before hitting the gateway.<\/p>\n                    <\/div>\n                <\/header>\n                <div class=\"json-form-grid\">\n                    <div class='json-field'>\n                <label for='api_url' class='json-label'>API URL<\/label>\n                <input type='text' id='api_url' class='json-input api_url' value='http:\/\/dev-psd2.10npay.com:8080\/psd2\/v1\/consents\/%5Bconsent_id%5D\/status' autocomplete='off'>\n            <\/div><div class='json-field'>\n        <label for='http_method' class='json-label'>HTTP Method<\/label>\n        <input type='text' id='http_method' class='json-input' value='GET' disabled>\n    <\/div><div class='json-field'>\n                <label for='content_type' class='json-label'>Content-Type<\/label>\n                <input type='text' id='content_type' class='json-input content_type' value='application\/json' autocomplete='off'>\n            <\/div><div class='json-field'>\n                <label for='x_request_id' class='json-label'>X-Request-ID<\/label>\n                <input type='text' id='x_request_id' class='json-input x_request_id' value='1' autocomplete='off'>\n            <\/div><div class='json-field'>\n                <label for='token' class='json-label'>Token<\/label>\n                <input type='text' id='token' class='json-input token' value='{Token}' autocomplete='off'>\n            <\/div>\n                <\/div>\n                <div class=\"json-card__section\">\n                    <h3>Payload<\/h3>\n                    \n                <\/div>\n                <button type=\"button\" class=\"json-btn\" id=\"fetch_data\">\n                    <span class=\"json-btn__icon\">&#9658;<\/span>\n                    Run request\n                <\/button>\n            <\/section>\n\n            <section class=\"json-card json-card--response\">\n                <header class=\"json-card__header\">\n                    <span class=\"json-card__step\">02<\/span>\n                    <div>\n                        <h2>Response<\/h2>\n                        <p>Preview the API response with pretty-printed JSON.<\/p>\n                    <\/div>\n                <\/header>\n                <div class=\"json-alert json-alert--neutral\" id=\"response-status\">\n                    Waiting for request\u2026\n                <\/div>\n                <div class=\"json-tabs\" role=\"tablist\">\n                    <button type=\"button\" class=\"json-tab is-active\" data-tab=\"body\">Body<\/button>\n                <\/div>\n                <div class=\"json-code\" id=\"result\">\n                    <pre><code id=\"result-body\">{\n  \"status\": \"pending\"\n}<\/code><\/pre>\n                <\/div>\n            <\/section>\n        <\/form>\n        \n    <\/div><\/span><\/p>\r\n<p><span style=\"font-size: 16px;\">\r\n\r\n<\/span><\/p>","protected":false},"excerpt":{"rendered":"<p>End-point URL Method: GET HEADERS X-Request-ID = [request-id]: Required Content-Type: application\/json: Required PSU-ID: [user-id]: Optional Response Snippet<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[39],"doc_tag":[],"knowledge_base":[34],"class_list":["post-79","docs","type-docs","status-publish","hentry","doc_category-l-consents","knowledge_base-psd2"],"year_month":"2026-07","word_count":87,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"10npaydev","author_nicename":"10npaydev","author_url":"https:\/\/development-portal.10npay.com\/bg\/author\/10npaydev\/"},"doc_category_info":[{"term_name":"ll. Consents","term_url":"https:\/\/development-portal.10npay.com\/bg\/docs\/psd2\/l-consents\/"}],"doc_tag_info":[],"knowledge_base_info":[{"term_name":"psd2","term_url":"https:\/\/development-portal.10npay.com\/bg\/docs\/psd2\/","term_slug":"psd2"}],"knowledge_base_slug":["psd2"],"_links":{"self":[{"href":"https:\/\/development-portal.10npay.com\/bg\/wp-json\/wp\/v2\/docs\/79","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/development-portal.10npay.com\/bg\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/development-portal.10npay.com\/bg\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/development-portal.10npay.com\/bg\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/development-portal.10npay.com\/bg\/wp-json\/wp\/v2\/comments?post=79"}],"version-history":[{"count":2,"href":"https:\/\/development-portal.10npay.com\/bg\/wp-json\/wp\/v2\/docs\/79\/revisions"}],"predecessor-version":[{"id":435,"href":"https:\/\/development-portal.10npay.com\/bg\/wp-json\/wp\/v2\/docs\/79\/revisions\/435"}],"wp:attachment":[{"href":"https:\/\/development-portal.10npay.com\/bg\/wp-json\/wp\/v2\/media?parent=79"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/development-portal.10npay.com\/bg\/wp-json\/wp\/v2\/doc_category?post=79"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/development-portal.10npay.com\/bg\/wp-json\/wp\/v2\/doc_tag?post=79"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/development-portal.10npay.com\/bg\/wp-json\/wp\/v2\/knowledge_base?post=79"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}