Company registration, login, and profile management.
/
Get order by id
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
Creates quote from NSPK QR code. Quote TTL is short-lived (30 seconds in current implementation).
Security
apiKeyAuth
- Mock serverhttps://b2b-app.lumowallet.io/_mock/apis/orders/prepare
- Productionhttps://b2b.lumowallet.io/orders/prepare
- Staginghttps://b2b-staging.lumowallet.io/orders/prepare
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://b2b-app.lumowallet.io/_mock/apis/orders/prepare \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d '{
"qrCode": "string",
"externalOrderId": "string"
}'Response
application/json
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "amountRub": 0, "amountUsdt": 0, "rate": 0, "expiresAt": "2019-08-24T14:15:22Z", "isBalanceSufficient": true, "merchantName": "string" }
- Mock serverhttps://b2b-app.lumowallet.io/_mock/apis/orders/accept/{id}
- Productionhttps://b2b.lumowallet.io/orders/accept/{id}
- Staginghttps://b2b-staging.lumowallet.io/orders/accept/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://b2b-app.lumowallet.io/_mock/apis/orders/accept/{id}' \
-H 'Idempotency-Key: string' \
-H 'X-API-Key: YOUR_API_KEY_HERE'Response
application/json
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "amountUsdt": 0, "amountRub": 0, "status": "created", "paymentUntil": "2019-08-24T14:15:22Z", "merchantName": "string", "externalOrderId": "string", "completedAt": "2019-08-24T14:15:22Z", "failureReason": "string", "createdAt": "2019-08-24T14:15:22Z" }
- Mock serverhttps://b2b-app.lumowallet.io/_mock/apis/orders
- Productionhttps://b2b.lumowallet.io/orders
- Staginghttps://b2b-staging.lumowallet.io/orders
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://b2b-app.lumowallet.io/_mock/apis/orders?status=created&limit=20&offset=0' \
-H 'X-API-Key: YOUR_API_KEY_HERE'Response
application/json
{ "orders": [ { … } ], "total": 0 }
- Mock serverhttps://b2b-app.lumowallet.io/_mock/apis/orders/{id}
- Productionhttps://b2b.lumowallet.io/orders/{id}
- Staginghttps://b2b-staging.lumowallet.io/orders/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://b2b-app.lumowallet.io/_mock/apis/orders/{id}' \
-H 'X-API-Key: YOUR_API_KEY_HERE'Response
application/json
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "amountUsdt": 0, "amountRub": 0, "status": "created", "paymentUntil": "2019-08-24T14:15:22Z", "merchantName": "string", "externalOrderId": "string", "completedAt": "2019-08-24T14:15:22Z", "failureReason": "string", "createdAt": "2019-08-24T14:15:22Z" }