Unable to create mass payment in sandbox

I am attempting to create a mass payment in my sandbox account but keep getting the error BadRequest The request body contains bad syntax or is incomplete. I am following examples from the API doc and from this post. I’ve also simplified it to what seems to be the bare minimum with no success. Request is included below, would appreciate any help on this.

{
	"_links": {
		"source": {
			"href": "https://api-sandbox.dwolla.com/funding-sources/19365d52-6e07-48d0-9d9e-08616a9e3473"
		}
	},
	"items": [
		{
			"_links": {
				"destination": {
					"href": "https://api-sandbox.dwolla.com/funding_sources/185a0626-58b6-4e74-96ab-cc435d388bc2"
				}
			},
			"amount": {
				"currency": "USD",
				"value": "1.23"
			}
		},
		{
			"_links": {
				"destination": {
					"href": "https://api-sandbox.dwolla.com/funding_sources/310efdac-3dd2-43ef-9356-560b6677423f"
				}
			},
			"amount": {
				"currency": "USD",
				"value": "0.99"
			}
		}
	]
}

Hi @jbgriffy!

The following URL looks to be what’s causing the error. The “funding-sources” endpoint uses a hyphen ("-") and not an underscore ("_").

Hope that helps! Let me know if that worked!

Couldn’t see the forrest for the trees (and of course all the other variable names with underscores!) Thanks!

That got me to another error “Supplying ach addenda entries is currently not enabled.” I am supplying addenda for both source and destination. Is that not supported just in the sandbox or in general?

You’re welcome!

The Addenda is a premium feature that is turned off by default in both environments. It is turned on upon approval from the Dwolla team. If you’d like to test it out in Sandbox, your Account Manager will be able to help enable it!

Thanks, I’ll check to see if we want that enabled.