🔒 Private label — contact sales. Requires a private-label entitlement on your API client.
Create payment intent
Security
oauth2ClientCredentials(Required scopes: payments:write)
- Mock serverhttps://developer.boyahq.com/_mock/v2/openapi/payments/intent
- Productionhttps://api.boyahq.com/v2/payments/intent
- Sandboxhttps://sandbox.api.boyahq.com/v2/payments/intent
curl -i -X POST \
https://developer.boyahq.com/_mock/v2/openapi/payments/intent \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'business_id: string' \
-H 'org_wallet_ref: string' \
-d '{
"businessId": "4D7CA841437E366EB38C",
"employeeId": "F118CCFA49505BF267361A12",
"amount": 11,
"currency": "KES",
"source": "P8756",
"receiver": 790462100,
"transactionRef": "M-CF4X4LG8IIW"
}'Payment intent created successfully
Intent secret
Example:"061c46149901df054f8eb5fe3374cdecc911b1c7d0c756e433dc3a21071abe51"
Response
{ "paymentIntentId": "696678f5b1dcd75bfdecd7b6", "intentSecret": "061c46149901df054f8eb5fe3374cdecc911b1c7d0c756e433dc3a21071abe51", "nonce": "4e1885d59b0f1d8d497fed58ea279781", "expiresAt": "2026-01-13T16:57:17.082Z" }