Health check endpoints
Varmply Backend API (0.1.0)
Varmply API – MVP backend for campaigns, wallets, authentication, and influencer participation.
Download OpenAPI description
Languages
Servers
Mock server
https://docs-staging.varmply.com/_mock/openapi/
Local development server
http://localhost:3000/
Staging environment
https://api-staging.varmply.com/
Production environment
https://api.varmply.com/
Request
Fund a wallet for the authenticated user. This endpoint is only available in non-production environments. Returns 403 if called in production. Requires a valid JWT access token. The wallet must already exist for the user and currency (no auto-create). Creates a ledger-backed transaction to record the funding.
Security
bearerAuth
- Mock serverhttps://docs-staging.varmply.com/_mock/openapi/dev/wallets/fund
- Local development serverhttp://localhost:3000/dev/wallets/fund
- Staging environmenthttps://api-staging.varmply.com/dev/wallets/fund
- Production environmenthttps://api.varmply.com/dev/wallets/fund
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs-staging.varmply.com/_mock/openapi/dev/wallets/fund \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"currencyCode": "NGN",
"amountCents": 500000
}'Response
application/json
{ "walletId": "wallet_abc123", "userId": "user_123", "currencyCode": "NGN", "availableBalanceAmountCents": 500000, "lockedBalanceAmountCents": 0, "createdAtTimestamp": "2024-01-01T00:00:00Z", "lastUpdatedAtTimestamp": "2024-01-01T00:00:00Z" }