Step 3: Create APM Account Token
Create a new customer and generate a token for future APM transactions.
Endpoint
POST /api/v1/apm/create-account-token
Request Body
{
"merchantAccountId": "100002",
"additionalInfo": {
"ewallet_account_id": "+254111111111"
},
"solutionUniqueId": "85652bc8-4a3a-46e8-a3ee-c78b2acae20c",
"customerToken": "b9d7e1beb463a6789fa1f006f36be748",
"customerReferenceId": "4c7598f0-c066-4245-9b5d-818196d0448d"
}
Example Response
{
"success": true,
"message": "success",
"data": {
"token": "db3673cd-8e2f-4765-b625-100fd6e808c1"
}
}