## TL;DR

Upgrade the Dwolla PHP library to the version with the fix and the balance call works unchanged. The accepted answer confirms the fix landed in the PHP library itself.

## Steps

1. A 307 from the Dwolla API means the endpoint moved and your library version is not following the redirect, not that your OAuth scope is wrong. Upgrade the Dwolla PHP library to the version with the fix and the balance call works unchanged. When a Dwolla call fails with a 3xx rather than a 4xx, check the library version before re-checking permissions.

## When to use

You are seeing this: A 307 from the Dwolla API means the endpoint moved and your library version is not following the redirect, not that your OAuth scope is wrong. Use this skill when you run into "Dwolla balance call fails with 307: the endpoint moved, upgrade the PHP library".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

## Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
