Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

Rollback Disbursement

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

Reverses a disbursement. This call refunds the value of any unspent vouchers and their associated fees back to the funder.

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?ns={community}' \
-H 'Authorization: bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"UIDx":637,"Metadata":"{\"ActorUserIDs\": \"547828938941114\"}"}'