Create Transaction
Function to create okeconnect transaction (open denom support)Variable | type | default | description |
---|---|---|---|
productCode | string | - | code for the product to be purchased on Okeconnect. (example: "T5", "S20", "SM20") |
destination | string | - | destination number for the product to be purchased on Okeconnect. (example: 088123456789) |
referenceId | string | - | unique reference ID for the transaction from your system. (example: 135 or "trx-1") |
amount | integer | 0 | amount for the product to be purchased with open denomination. (minimum 10000) |
Example Return
Choose an example to see the responseUsage recommendation
Use this code structure:make sure you load the config before using function, check it on Installation based on your framework.