1. Home
  2. Wallet Service
  3. Wallet Management API
  4. Create New Wallet

Create New Wallet

This is the endpoint that creates a new wallet based on the configuration and implementation set on the client

Request Message Description

Field#Field nameData typeRequired Max Length Description Options 
Field#Field nameData typeRequired Max Length Description Options 
 4channel Stringyes 30 channel sending request “WEB” or “USSD” or “SERVICE” or “MOBILE”
14cityStringno200city – for location of wallet holder
17countryCodeStringno200country code – for location of wallet holder
8emailAddressStringno200email address of wallet holder
 5encryptedPin String no 32 encrypted Pin
6txnRefStringno200external system transaction reference
9firstNameStringno200first name of wallet holder
10lastNameStringno200last name of wallet holder
7mobileNrStringno200mobile number of wallet holder
1nameStringyes 200 name of wallet
11nameOnCardStringno200name on card for wallet holder
15postalCodeStringno200postal code – for location of wallet holder
16stateStringno200state – for location of wallet holder
2statusStringyes 30 status of wallet “ACTIVE” or “INACTIVE”
12streetAddressStringno200street address – for location of wallet holder
13streetAddressLine2Stringno200street address line 2 – for location of wallet holder
18domainStringno200wallet domain 
3idsMapyes
 wallet identifiers

Endpoint

Base URL : https://api-gateway.interswitchng.com

Request: POST  /generic-wallet/api/v1/wallets/create

Header

Content-Type: application/json
Authorization: {passport generated bearer token}

Creating New Wallet with PIN

This creates a new wallet , a card and sets the pin of the card to the given pin based on clients implementation and configuration.

Sample Request

{
"name": "TEST_NIN",
"status":"ACTIVE",
"ids":
{
"PHONE":"08012345678"
},
"channel":"WEB",
"domain" : "ISW",
"encryptedPin":"31d7e6e95aa309fc21127391833733eb",
"firstName":"name",
"lastName":"surname",
"city":"lagos",
"postalCode":"100011",
"streetAddress":"16, oko awo street",
"streetAddressLine2": "Victoria Island",
"state" : "Lagos"
}

Sample Response (Success)

{
"statusCode": "200",
"responseCode": "00",
"responseMessage": "Successful",
"errors": null,
"modelList": null,
"count": 0
}

Creating New Wallet Without PIN

{
"name": "TEST_NIN",
"status":"ACTIVE",
"ids":
{
"PHONE":"08012345678"
},
"channel":"WEB",
"domain" : "ISW",
"firstName":"name",
"lastName":"surname",
"city":"lagos",
"postalCode":"100011",
"streetAddress":"16, oko awo street",
"streetAddressLine2": "Victoria Island",
"state" : "Lagos"
}

Sample Response (Success)

{
"statusCode": "200",
"responseCode": "00",
"responseMessage": "Successful",
"errors": null,
"modelList": null,
"count": 0
}

Was this article helpful to you? Yes No

How can we help?