Generate Voucher
POST
https://move-uat.goverapay.com/customer/transaction/generateVoucher
Headers
UserId
ANS
Generated during User Registration
Authorization
ANS
Generated during User Otp Verify
Request Body
UUID
ANS (36)
Unique for each transaction
transType
INT (2)
value: "20"
voucherNumber
INT (10,20)
A voucher identifier that is sent with generate voucher request, and is used when cashing out the voucher.
Usually the sender phone number is used.
iPIn
ANS (4)
Used in financial requests to authenticate the customer.
Note : Field will be encrypted using AES Key
tranAmount
INT (2,10)
Transaction amount in the transaction currency
cardName
ANS (1,30)
Name of the Card
voucherCode
INT (6,10)
Returned in the response of generate voucher and contains a number that should be used when cashing the voucher out.
responseMessage
ANS
Returned in the response and contains a message that describes the response code.
responseCode
ANS (1,3)
Response Code
Sample Data:
userId : 2
Authorization : Bearer {{Token}}
Last updated
Was this helpful?