πŸ”Œ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
AuthorizationstringRequired

API token for user authentication

Example: {"value":"Token tk-abc-1234-xyz"}
Body
aggregation_idstringRequired

Unique identifier for the transaction

Example: 8cd4f756-59c8-4135-9198-4ec88fffe033
amtnumber Β· floatRequired

Amount to vend

Example: 1460.45
channelstringRequired

Users vending channel code

Example: web
merchant_idstringOptional

Optional UUID to be provided by merchants for tracking

Example: 109205d9-a125-41ab-b1f6-0f78c74e5a21
meter_nostringRequired

Meter number

Example: 12345678912
Responses
200

Token verification successful

application/json
post
/api/v1/meter/vend

Last updated