---
title: "Provision the calling application's wallet"
method: POST
path: "/v1/wallet"
tags: ["Wallet"]
---

# Provision the calling application's wallet

`POST /v1/wallet`

## Request

- Base URL: `https://idaas.yourflexpay.com/api`
- URL: `https://idaas.yourflexpay.com/api/v1/wallet`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/reflexpay/apis/idaas-identity-as-a-service-api/docs/v1/wallet/post.ts> (a function with typed inputs; its response is checked against the schema)

Idempotent – safe to call on every application start-up. Creates the wallet if it does not exist and returns the current state.

## Response `200`

Wallet provisioned or already exists

- ApiResponseApplicationWalletResponse
  - `success` boolean
  - `message` string
  - `errorCode` string
  - `data` ApplicationWalletResponse
    - `id` string, uuid
    - `applicationId` string, uuid
    - `applicationName` string
    - `currency` string
    - `balance` number
    - `totalDebited` number
    - `totalCredited` number
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
  - `errors` string[]
  - `timestamp` string, date-time

## Changes

- **2026-04-17** `db1f954badfb`: 1 info
  - added the optional property `errorCode` to the response with the `200` status

[Operation history](https://skmtc.dev/reflexpay/apis/idaas-identity-as-a-service-api/changes/v1/wallet/post.md)

---

[API](https://skmtc.dev/reflexpay/apis/idaas-identity-as-a-service-api.md) - [All operations](https://skmtc.dev/reflexpay/apis/idaas-identity-as-a-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/reflexpay/apis/idaas-identity-as-a-service-api/revisions/db1f954badfb?raw)
