How to get list of payment gatways in DocuSign account.?

梦想的初衷 提交于 2019-12-12 04:13:03

问题


I am working on DocuSign Payment integration. How to get the list of payment gateways that associated to the account?

I tried with the docusign rest api, but getting following error with the status code 404.

{ "errorCode": "RESOURCE_NOT_FOUND", "message": "The URL provided does not resolve to a resource." }


回答1:


Please make sure your get request is in this format.

GET https://demo.docusign.net/restapi/v2/accounts/{AccountId}/payment_gateway_accounts



回答2:


I have verified the problem with

GET https://demo.docusign.net/restapi/v2/accounts/{AccountId}/payment_gateway_accounts

and have submitted DocuSign internal bug id API-7063.

I am sorry that this is causing a problem for you.


Workaround

I suggest hardcoding the information for now. You can retrieve the gateway account Id using the following steps.

  • Goto to docusign admin
  • Click on Payments
  • Get the gateway account ID from the table of connected gateway accounts that is displayed there.


来源:https://stackoverflow.com/questions/44691547/how-to-get-list-of-payment-gatways-in-docusign-account

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!