POST
/
wallet
cURL
curl --request POST \
  --url https://api.nh.staging.mum.juspay.net/service2/wallet \
  --header 'Authorization: Bearer <token>'
{
  "balance": 123,
  "created": true,
  "transcorp_wallet_id": "<string>",
  "user_id": "<string>",
  "wallet_status": "CREATED",
  "wallet_status_transcorp": "ACTIVE"
}

Authorizations

Authorization
string
header
required

JWT access token. Obtain from /auth/otp/verify endpoint.

Response

Wallet already existed

balance
integer<int64>
required

Balance in minor units (paise for INR).

created
boolean
required

true if a new row was inserted; false if the wallet already existed.

transcorp_wallet_id
string
required
user_id
string
required
wallet_status
enum<string>
required
Available options:
CREATED,
PENDING,
IN_PROGRESS,
COMPLETED,
RETRYING,
FAILED
wallet_status_transcorp
enum<string>
required

Transcorp-reported wallet state (when integrated). Unknown is returned when the Transcorp status has not been provisioned yet.

Available options:
ACTIVE,
BLOCKED,
UNKNOWN