{"id":258,"date":"2023-06-09T10:43:41","date_gmt":"2023-06-09T10:43:41","guid":{"rendered":"https:\/\/developers.10npay.com\/?post_type=docs&#038;p=87"},"modified":"2023-06-09T10:43:41","modified_gmt":"2023-06-09T10:43:41","password":"","slug":"sample-requests-authorization-code-grant","status":"publish","type":"docs","link":"https:\/\/developers.10npay.com\/bg\/docs\/sample-requests-authorization-code-grant\/","title":{"rendered":"Sample Requests-Authorization Code Grant"},"content":{"rendered":"<figure class=\"wp-block-table\"><table><tbody><tr><td>POST <a href=\"https:\/\/auth.10npay.com\/connect\/token\">https:\/\/auth.10npay.com\/connect\/token<\/a><br>Content-Type: application\/x-www-form-urlencoded&nbsp;&nbsp;&nbsp; client_id=client1&amp;<br>&nbsp;&nbsp;&nbsp; grant_type=authorization_code&amp;<br>&nbsp;&nbsp;&nbsp; code=hdh922&amp;<br>&nbsp;&nbsp;&nbsp; redirect_uri=https:\/\/myapp.com\/callback&amp;<br>&nbsp;&nbsp;&nbsp; code_verifier=xyz<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">(Form-encoding removed and line breaks added for readability)<\/p>","protected":false},"excerpt":{"rendered":"<p>POST https:\/\/auth.10npay.com\/connect\/tokenContent-Type: application\/x-www-form-urlencoded&nbsp;&nbsp;&nbsp; client_id=client1&amp;&nbsp;&nbsp;&nbsp; grant_type=authorization_code&amp;&nbsp;&nbsp;&nbsp; code=hdh922&amp;&nbsp;&nbsp;&nbsp; redirect_uri=https:\/\/myapp.com\/callback&amp;&nbsp;&nbsp;&nbsp; code_verifier=xyz (Form-encoding removed and line breaks added for readability)<\/p>","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[],"doc_tag":[],"knowledge_base":[33],"class_list":["post-258","docs","type-docs","status-publish","hentry","knowledge_base-10npay"],"year_month":"2026-06","word_count":54,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"","author_nicename":"","author_url":"https:\/\/developers.10npay.com\/bg\/author\/"},"doc_category_info":[],"doc_tag_info":[],"knowledge_base_info":[{"term_name":"10npay","term_url":"https:\/\/developers.10npay.com\/bg\/docs\/10npay\/","term_slug":"10npay"}],"knowledge_base_slug":["10npay"],"_links":{"self":[{"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/docs\/258","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/comments?post=258"}],"version-history":[{"count":0,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/docs\/258\/revisions"}],"wp:attachment":[{"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/media?parent=258"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/doc_category?post=258"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/doc_tag?post=258"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/knowledge_base?post=258"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}