API reference · Accounts & ledger

Wallets

Nested wallets on one customer, each with its own limits. About wallets Live

POST Open a wallet

POST /wallet

Opens a wallet of the given wallet-flavored account type. If currencyCode is omitted, it is resolved from the caller's resident country's default supported currency.

Headers

NameNotes
AuthorizationBearer token
X-TenantYour tenant
X-Environmenttest or live
Content-Typeapplication/json

Example

Request body: WalletRequest · Response: WalletResponse

curl -X POST "https://api.bridgemoni.com/wallet" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Ada Obi",
    "description": "March payroll",
    "walletType": "main",
    "currencyCode": "NGN"
  }'

Responses

StatusWhen
200Wallet opened successfully

DELETE Close a wallet's underlying account

DELETE /wallet/{reference}

Headers

NameNotes
AuthorizationBearer token
X-TenantYour tenant
X-Environmenttest or live

Path parameters

Name
reference

Example

Response: WalletResponse

curl -X DELETE "https://api.bridgemoni.com/wallet/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV"

Responses

StatusWhen
200Wallet closed successfully

GET Fetch a wallet by reference

GET /wallet/{reference}

Headers

NameNotes
AuthorizationBearer token
X-TenantYour tenant
X-Environmenttest or live

Path parameters

Name
reference

Example

Response: WalletResponse

curl -X GET "https://api.bridgemoni.com/wallet/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV"

Responses

StatusWhen
200Wallet fetched successfully
401The wallet does not belong to the caller
404No wallet exists for the given reference

PUT Rename a wallet

PUT /wallet/{reference}

Renames the wallet's label. Balance and status are never editable directly.

Headers

NameNotes
AuthorizationBearer token
X-TenantYour tenant
X-Environmenttest or live
Content-Typeapplication/json

Path parameters

Name
reference

Example

Request body: UpdateWalletRequest · Response: WalletResponse

curl -X PUT "https://api.bridgemoni.com/wallet/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Ada Obi"
  }'

Responses

StatusWhen
200Wallet renamed successfully

POST Freeze a wallet's underlying account

POST /wallet/{reference}/freeze

Headers

NameNotes
AuthorizationBearer token
X-TenantYour tenant
X-Environmenttest or live

Path parameters

Name
reference

Example

Response: WalletResponse

curl -X POST "https://api.bridgemoni.com/wallet/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/freeze" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV"

Responses

StatusWhen
200Wallet frozen successfully

POST Unfreeze a wallet's underlying account

POST /wallet/{reference}/unfreeze

Headers

NameNotes
AuthorizationBearer token
X-TenantYour tenant
X-Environmenttest or live

Path parameters

Name
reference

Example

Response: WalletResponse

curl -X POST "https://api.bridgemoni.com/wallet/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/unfreeze" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV"

Responses

StatusWhen
200Wallet unfrozen successfully

GET List the caller's own wallets

GET /wallets

Headers

NameNotes
AuthorizationBearer token
X-TenantYour tenant
X-Environmenttest or live

Example

Response: List<WalletResponse>

curl -X GET "https://api.bridgemoni.com/wallets" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV"

Responses

StatusWhen
200Wallets fetched successfully

Generated from the OpenAPI document. Branch on the HTTP status: there is no machine-readable error code on the wire. Errors