Skip to content

Rollback Disbursement

POST {api-url}/rollback/start?ns={community}

Starts a rollback asynchronously. This call refunds the value of any unspent vouchers and their associated fees back to the funder.

If the disbursement has already been confirmed (funds released), it will be Reversed. If it is still awaiting confirmation, it will be Cancelled and completely voided. Because this process runs asynchronously in the background, you can poll the /progress endpoint to retrieve the real-time status of the rollback.

FieldTypeRequirementDescription
UIDxIntegerRequiredThe unique internal identifier for this disbursement.
MetadataStringOptionalAny other detail that the merchant wishes to store on this transaction.
{
"UIDx": 637,
"Metadata": "{\"ActorUserIDs\": \"547828938941114\"}"
}
Terminal window
curl -X POST '{api-url}/rollback/start?ns={community}' \
-H 'Authorization: bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"UIDx":637,"Metadata":"{\"ActorUserIDs\": \"547828938941114\"}"}'