Merchant API
Create Operation
Create a new merchant operation (cash-out, pay-merchant, or pay-individual)
POST
Documentation Index
Fetch the complete documentation index at: https://docs.uw.stargate.is/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
Authentication
Bearer token with your API key. Must have Perform Operations permission.
Must be
application/jsonPath Parameters
The unique identifier of the merchant. Must match the merchant ID associated with the API key.
Request Body
Cash-Out Operation
Must be
"cash-out"Amount to withdraw (e.g., “20000.00”)
Distributor short code to withdraw to
Optional reference note or description for the operation
Pay Merchant Operation
Must be
"pay-merchant"Amount to pay (e.g., “15000.00”)
Destination merchant’s short code
Optional reference note or description for the operation
Pay Individual Operation
Must be
"pay-individual"Amount to pay (e.g., “3000.00”)
Recipient’s phone number in international format (e.g., “+234 8123456781”)
Optional reference note or description for the operation
Response
Unique identifier for the created operation
Maker-Checker Workflow
Operations created via API follow the maker-checker approval pattern. The operation is created in a pending state and requires approval by a checker before execution.
- Operation is saved with status pending
- A checker with appropriate permissions must approve it via the web interface
- Once approved, the operation is executed on the blockchain
- The operation status changes to completed or failed
Related Endpoints
Get Balance
Check merchant balance before creating operations
Get Operations
Query operation history and status