Skip to content

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

View Voucher

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

View a voucher in the specified community.

FieldTypeRequirementDescription
VoucherNoStringRequiredThe voucher number that was sent to the recipient.
MetadataStringOptionalAny other detail that the merchant wishes to store on this transaction.
{
"VoucherNo": "168-78439-48310",
"Metadata": "{\"ActorUserIDs\": \"547828938941114\"}"
}
Terminal window
curl -X POST '{api-url}/viewVoucher?ns={community}' \
-H 'Authorization: bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"VoucherNo":"168-78439-48310","Metadata":"{\"ActorUserIDs\": \"547828938941114\"}"}'