Company registration, login, and profile management.
Lumo B2B Platform API (1.0.0)
API reference for company-facing endpoints of Lumo B2B platform.
Scope of this reference:
- Company auth/profile
- Orders (prepare/accept/list/get)
- Company disputes
- Company wallet + deposits
- User wallets (per externalId) + user deposits
Not included:
- Admin endpoints
Download OpenAPI description
Languages
Servers
Mock server
https://b2b-app.lumowallet.io/_mock/apis
Production
https://b2b.lumowallet.io
Staging
https://b2b-staging.lumowallet.io
Request
Allowed only for completed order states (success or failed).
Behavior:
- On create, order is moved to
disputed. - If an open dispute already exists for the order (
submitted/in_review), API returns that dispute. - Dispute is also sent to wallet-backend for synchronized processing.
Security
apiKeyAuth
- Mock serverhttps://b2b-app.lumowallet.io/_mock/apis/orders/{id}/disputes
- Productionhttps://b2b.lumowallet.io/orders/{id}/disputes
- Staginghttps://b2b-staging.lumowallet.io/orders/{id}/disputes
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://b2b-app.lumowallet.io/_mock/apis/orders/{id}/disputes' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d '{
"reason": "string"
}'Response
application/json
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "orderId": "b3e1eced-f2bd-4d8c-9765-fbc9d1d222d5", "status": "submitted", "resolution": "refund", "reason": "string", "adminComment": "string", "resolvedBy": "string", "refundAmount": 0, "resolvedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }
Request
Returns company dispute history (newest first).
Resolution fields:
resolvedAtis set when dispute is resolved.resolutionis set on resolve (confirm,refund,partial_refund).refundAmountis set only forpartial_refund; forconfirm/refundit isnull.
Disputes can be resolved by admin flow or automatically from wallet callback final status.
Security
apiKeyAuth
- Mock serverhttps://b2b-app.lumowallet.io/_mock/apis/disputes
- Productionhttps://b2b.lumowallet.io/disputes
- Staginghttps://b2b-staging.lumowallet.io/disputes
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://b2b-app.lumowallet.io/_mock/apis/disputes \
-H 'X-API-Key: YOUR_API_KEY_HERE'Response
application/json
[ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "orderId": "b3e1eced-f2bd-4d8c-9765-fbc9d1d222d5", "status": "submitted", "resolution": "refund", "reason": "string", "adminComment": "string", "resolvedBy": "string", "refundAmount": 0, "resolvedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ]