Reclaim Funds from a Payout Agent
Move funds from the payout agent's available balance back to the app balance. Committed funds belong to payouts in flight and cannot be reclaimed until those payouts fail, are canceled, or are reversed.
Move funds from the payout agent's available balance back to the app balance. Committed funds belong to payouts in flight and cannot be reclaimed until those payouts fail, are canceled, or are reversed.
api_keyAuthorizationBasic <token>payout_agent_id*stringID of the payout agent.
uuidapplication/json- body
amount*integerAmount in cents to move.
0 < valueidempotency_key*stringUUID that makes the request safe to retry. Retrying with the same key and amount returns the original movement.
uuidmetadata?unknownAny JSON value to attach to the movement.
Created
application/json- response
Funds moved between the app balance and a payout agent's reserved balance.
id?stringID of the underlying transfer.
uuidobject?stringpayout_agent_id?stringuuidtype?stringallocation- from the app balance to the payout agentreclaim- from the payout agent back to the app balance
"allocation""reclaim"amount?integerAmount in cents.
status?stringStatus of the underlying transfer.
idempotency_key?|uuidmetadata?unknownThe metadata attached to the movement.
created?stringdate-timecurl -X POST 'https://api.dots.dev/api/v2/payout-agents/497f6eca-6276-4993-bfeb-53cbbbba6f08/reclaims' \ -H 'Content-Type: application/json' \ -d '{ "amount": 10000, "idempotency_key": "0d5f4a8e-1f3b-4c1e-9f7a-2b6c3d4e5f60"}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "object": "payout_agent_balance_movement", "payout_agent_id": "79fb14fc-ce5a-4ca6-83f8-93ffe10240da", "type": "allocation", "amount": 0, "status": "string", "idempotency_key": "0cd90e5a-2c03-4ab6-81a8-d48818026e58", "metadata": null, "created": "2019-08-24T14:15:22Z"}Allocate Funds to a Payout Agent
Move funds from the app balance into the payout agent's reserved balance. The funds are added to the agent's available balance and can only be spent by the agent or reclaimed.
List Payout Agent Balance Movements
List the allocations and reclaims of a payout agent, newest first.