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."
}
Please make sure your get request is in this format.
GET https://demo.docusign.net/restapi/v2/accounts/{AccountId}/payment_gateway_accounts
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.