Skip to content

Transfer Voucher

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

Use this endpoint to safely transfer partial or full funds from a voucher pocket to another user’s wallet.

FieldTypeRequirementDescription
VoucherNoStringRequiredSource of the funds. A valid Celbux voucher number.
AmountStringRequiredTransaction amount in cents.
UsernameStringRequiredThe username of the recipient.
IDNumberStringOptionalThe ID number of the recipient.
VoucherTypeStringOptionalUsed to explicitly override the target pocket the funds land in.
MetadataStringOptionalAny other detail to store with this transaction.
{
"Username": "27820000001",
"IDNumber": "",
"Amount": "3700",
"VoucherNo": "342-50389-59089",
"VoucherType": "Food",
"Metadata": ""
}
Terminal window
curl -X POST '{api-url}/transferVoucher?ns={community}' \
-H 'Authorization: bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"Username":"27820000001","IDNumber":"","Amount":"3700","VoucherNo":"342-50389-59089","VoucherType":"Food","Metadata":""}'