πVend Normal Token
Use this endpoint to vend a normal electricity token. A positive wallet balance is required, and upon successful vend, the value of the token will be subtracted from the wallet balance.
post
Header parameters
AuthorizationstringRequiredExample:
API token for user authentication
{"value":"Token tk-abc-1234-xyz"}Body
aggregation_idstringRequiredExample:
Unique identifier for the transaction
8cd4f756-59c8-4135-9198-4ec88fffe033amtnumber Β· floatRequiredExample:
Amount to vend
1460.45channelstringRequiredExample:
Users vending channel code
webmerchant_idstringOptionalExample:
Optional UUID to be provided by merchants for tracking
109205d9-a125-41ab-b1f6-0f78c74e5a21meter_nostringRequiredExample:
Meter number
12345678912Responses
200
Token verification successful
application/json
400
Invalid input or verification failed
application/json
500
Server error
application/json
post
/api/v1/meter/vendLast updated