Create a label reallocation
POST https://api-sandbox.dwolla.com/label-reallocations
When creating a Label reallocation you’ll specify an amount as well as from and to which correspond respectively to a Label that will be reduced and a Label that will be increased. The from and to Labels must belong to the same Verified Customer. Upon success, the API will return a 201 with a link to the created Label reallocation resource in the Location header. A Label reallocation will only occur if the from Label has an amount that is equal to or greater than the amount specified in the Label reallocation request. Label ledger entries will be created for both Labels included in the reallocation.
Request Body
{"_links"=>{"from"=>{"href"=>"https://api-sandbox.dwolla.com/labels/{{labelId}}"}, "to"=>{"href"=>"https://api-sandbox.dwolla.com/label/{{labelId}}"}}, "amount"=>{"currency"=>"USD", "value"=>"10.00"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string | ||
Authorization | string | ||
Content-Type | string | ||
Idempotency-Key | string |