Accept Header issue

We have tried using the api spec GitHub - Dwolla/dwolla-openapi: An OpenAPI specification for the Dwolla API. to generate the client side code. According to documentation it has mentioned that all the api calls should supply “Accept: application/vnd.dwolla.v1.hal+json” header but it is not working. We have supplied “application/json” and it worked. Please help us to clarify and also if you can provide lates api spec to generate the client apis to consume in our application.


Hi @harshtak – this is the most recently updated spec that we have.

For all POST requests except for token creation, the Accept header value should be "application/vnd.dwolla.v1.hal+json".

For all POST requests except for the following, the Content-Type header value can be "application.json" or 'application/vnd.dwolla.v1.hal+json"

  • Token creation request expects –
    "Content-Type" : "application/x-www-form-urlencoded"
  • document upload request expects –
    "Content-Type" : "multipart/form-data; boundary=<needs to be calculated when request is sent>"

Would you be able to share the request-ids of the requests that failed? I’d like to take a deeper look into the request and see if something’s off! What are the error messages you are seeing?