gocardless-nodejs
gocardless-nodejs copied to clipboard
Missing 'GoCardless-Version' header
Package version: 4.0.0
when I do:
const billingRequest = await this.client.billingRequests.create( { mandate_request: { scheme: 'bacs', }, }
Here is my response url: 'https://api-sandbox.gocardless.com/billing_requests' and when I click i get this
{
"error": {
"message": "Missing 'GoCardless-Version' header",
"errors": [
{
"reason": "missing_version_header",
"message": "Missing 'GoCardless-Version' header"
}
],
"documentation_url": "https://developer.gocardless.com/api-reference#missing_version_header",
"type": "invalid_api_usage",
"request_id": "23BF12D4E6A2_0A148D341F92_66F58DE4_56E80001",
"code": 400
}
}