{"id":259,"date":"2023-06-09T10:43:53","date_gmt":"2023-06-09T10:43:53","guid":{"rendered":"https:\/\/developers.10npay.com\/?post_type=docs&#038;p=89"},"modified":"2023-06-09T10:43:53","modified_gmt":"2023-06-09T10:43:53","password":"","slug":"resource-owner-password-credentials-grant","status":"publish","type":"docs","link":"https:\/\/developers.10npay.com\/bg\/docs\/resource-owner-password-credentials-grant\/","title":{"rendered":"Resource Owner Password Credentials 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<br>Authorization: Basic client_id+client_secret(Base64Encoded)&nbsp;&nbsp;&nbsp; client_id=client1&amp;<br>&nbsp;&nbsp;&nbsp; client_secret=secret&amp;<br>&nbsp;&nbsp;&nbsp; grant_type=password&amp;<br>&nbsp;&nbsp;&nbsp; username=user1&amp;<br>&nbsp;&nbsp;&nbsp; password=password1&amp;<br>&nbsp;&nbsp;&nbsp; scope=scope1 scope2<\/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-urlencodedAuthorization: Basic client_id+client_secret(Base64Encoded)&nbsp;&nbsp;&nbsp; client_id=client1&amp;&nbsp;&nbsp;&nbsp; client_secret=secret&amp;&nbsp;&nbsp;&nbsp; grant_type=password&amp;&nbsp;&nbsp;&nbsp; username=user1&amp;&nbsp;&nbsp;&nbsp; password=password1&amp;&nbsp;&nbsp;&nbsp; scope=scope1 scope2 (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-259","docs","type-docs","status-publish","hentry","knowledge_base-10npay"],"year_month":"2026-06","word_count":63,"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\/259","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=259"}],"version-history":[{"count":0,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/docs\/259\/revisions"}],"wp:attachment":[{"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/media?parent=259"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/doc_category?post=259"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/doc_tag?post=259"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/knowledge_base?post=259"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}