You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constconstants=require('gocardless-nodejs/constants');constgocardless=require('gocardless-nodejs');constclient=gocardless('your_access_token_here',constants.Environments.Sandbox);// List of billing request institutions for a country code.constinstitutions=awaitclient.institutions.list_for_billing_request("BR123",{countryCode: 'GB'});
I switched to using Typescript after that code didn't work, and it seems there just isn't a first argument for the billing request ID.
It's defined like so, ids in InstitutionListForBillingRequestRequest is for ids of the institutions. Also you can see it's country_code not countryCode as in the documentation.
I'm trying to use list_for_billing_request as documented here in step 5 https://developer.gocardless.com/billing-requests/billing-request-actions:
I switched to using Typescript after that code didn't work, and it seems there just isn't a first argument for the billing request ID.
It's defined like so,
ids
inInstitutionListForBillingRequestRequest
is for ids of the institutions. Also you can see it's country_code not countryCode as in the documentation.No matter how I try to call it, I get an error saying resource not found and you can see the path the request is made to is:
I can't see anyway to get the ID of the billing request in place of the
:identity
The text was updated successfully, but these errors were encountered: