Mircate
  1. Wallet
Mircate
  • Introduction
  • Authentication
  • Errors
  • Change Logs
  • PIM
    • Get Products
      POST
    • Get Product Settings
      GET
    • Get Catalog Settings
      GET
    • Upsert Product
      POST
    • Upsert Category
      POST
    • Bulk Product Upsert
      POST
    • Check Batch Status
      POST
    • Delete Product
      POST
    • Attach Product Attribute Image
      POST
    • Attach Category Image
      POST
    • Get Image
      GET
    • Upsert Attributes
      POST
    • Delete Attribute
      POST
    • Upsert Attribute Options
      POST
    • Upsert Attribute Option
      POST
    • Delete Attribute Option
      POST
  • Promotion
    • Calculate
    • Start Transaction
    • Commit Transaction
    • Revert Transaction
    • Cancel Transaction
    • Get Active Promotions
  • Loyalty
    • Receive Event
    • Calculate
    • Start Transaction
    • Commit Transaction
    • Cancel Transaction
    • List Measurements
  • Wallet
    • Get Wallet
      GET
    • Create Wallet
      POST
    • Create Account
      POST
    • Get Account
      POST
    • Get Accounts
      POST
    • List Accounts
      POST
    • List Transactions
      POST
    • Add Account
      POST
    • Remove Account
      POST
    • Fix
      POST
    • Load
      POST
    • Spend
      POST
    • Refund
      POST
    • Cancel
      POST
  • Talking Product
    • Create Product
    • Update Product
    • Delete Product
    • Get Product
    • List Product
  • Merchant
    • Sales Channel
      • Reserve Stock
      • Cancel Stock
      • Commit Stock
      • Refund Stock
      • Get Current Stock
    • Product Supplier
      • Receive Stock
      • Receive Price
      • Get Stock/Price History
      • Check Batch Status
      • Remove My Products
      • Clean My Products
      • Export Stock/Price
      • List Exports
      • Get Exported Files
    • Global Products
      • Receive Products
      • Get Global Products
      • Remove Global Products
  • Common
    • Dataset
      • Create
      • Update
      • Delete
      • Value Upsert
      • Value Delete
      • List Sources
      • List Values
  • How to
    • Creating a Promotion Template
    • Promotion Transaction Flow
    • Understanding PIM Product Statuses
  1. Wallet

Create Wallet

Production
https://api.b2b.retter.io/5p1hp1d2t
Production
https://api.b2b.retter.io/5p1hp1d2t
POST
https://api.b2b.retter.io/5p1hp1d2t
/CALL/WalletAPI/createWallet/{B2B_WALLET_PROJECT_ID}
Wallet
Last modified:2025-04-28 11:50:52
createWallet operation is used to create a dedicated digital wallet for a user. This wallet securely stores and manages points, balances, or other digital assets. The created wallet serves as the foundation for future operations such as loading balance, spending, and reward management.

Request

Authorization
Add parameter in header
x-api-key
Example:
x-api-key: ********************
Path Params
B2B_WALLET_PROJECT_ID
string 
required
Body Params application/json
walletId
string 
required
status
string 
optional
userId
string 
optional
title
string 
optional
updatedBy
string 
optional
updatedAt
string 
optional
Example
{
  "status": "active",
  "walletId": "1234",
  "userId": "df89626b1f3e4cad947c4149363d94344mubo6a412y",
  "title": "Test",
  "updatedBy": "df89626b1f3e4cad947c4149363d94344mubo6a412y",
  "updatedAt": "2025-04-28T11:43:50.071Z"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.b2b.retter.io/5p1hp1d2t/CALL/WalletAPI/createWallet/' \
--header 'Content-Type: application/json' \
--header 'x-api-key;' \
--data-raw '{
  "status": "active",
  "walletId": "1234",
  "userId": "df89626b1f3e4cad947c4149363d94344mubo6a412y",
  "title": "Test",
  "updatedBy": "df89626b1f3e4cad947c4149363d94344mubo6a412y",
  "updatedAt": "2025-04-28T11:43:50.071Z"
}'

Responses

🟢200Success
application/json
Body
projectId
string 
required
walletId
string 
required
status
string 
required
walletAccounts
array[string]
required
createdAt
string 
required
Example
{
    "projectId": "4mubo6a412y",
    "walletId": "USER-Asel-123212412124",
    "status": "active",
    "walletAccounts": [],
    "createdAt": "2025-04-28T11:53:59.137Z"
}
Modified at 2025-04-28 11:50:52
Previous
Get Wallet
Next
Create Account
Built with