MarketPe APIs
Voucher

Voucher Create

POST /voucher/create

Create a new payment voucher.

Request Body

{
    "clientPaymentId": "yourid01",
    "amount": "100.45",
    "voucherNumber": "",
    "expenseType": "",
    "branchId": ""
}

Request Parameters

ParameterTypeRequiredDescription
clientPaymentIdstringYesUnique payment identifier in your system. This will be used to track and reference the payment. Must be unique across all your payments.
amountstringYesPayment amount. Must be >= 1 and can have maximum 2 decimal places (e.g., "100.45").
voucherNumberstringYesThis will be shown in marketpe app. Use a value that your users recognize.
expenseTypestringYesExpense type. Must be one of the values configured in the system
branchIdstringYesBranch ID. Must be one of the values configured in the system.

Last updated on