Create Brand Wallet

POST/payment-option/create/wallet

Creates brand wallets for one or more customers. The customers array must not be empty. After creation, activate the wallet before it can be used for transactions.

Requires Bearer token. Get token →

Request Body

NameTypeDescription
currency_code
string

ISO 4217 currency code for the wallet

customers
CustomerDetails[]required

List of customers for whom wallets should be created

email_id
string

Customer's email address.

first_name
string

Customer's first name.

last_name
string

Customer's last name.

customer_id
string

Unique identifier of the customer.

mobile_number
string

Customer's mobile number.

country_code
string

Country code of the registered mobile number. Defaults to 91.

billing_address
object

Physical address.

shipping_address
object

Physical address.

is_edit_customer_details_allowed
boolean

Whether the customer is allowed to edit their details.

notes
string

Free-text notes attached to the wallet creation request

Response

NameTypeDescription
currency_code
string

ISO 4217 currency code for the created wallets

customers
CustomerDetails[]

List of customers whose wallets were successfully activated

email_id
string

Customer's email address.

first_name
string

Customer's first name.

last_name
string

Customer's last name.

customer_id
string

Unique identifier of the customer.

mobile_number
string

Customer's mobile number.

country_code
string

Country code of the registered mobile number. Defaults to 91.

billing_address
object

Physical address.

shipping_address
object

Physical address.

is_edit_customer_details_allowed
boolean

Whether the customer is allowed to edit their details.

notes
string

Notes from the creation request

Status Codes

200Wallets created successfully.
400
401
422Unprocessable entity.
500
Request
curl --request POST \
  --url https://pluraluat.v2.pinepg.in/payment-option/create/wallet \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "currency_code": "INR",
  "customers": [
    {
      "email_id": "john@example.com",
      "first_name": "Kevin",
      "last_name": "Bob",
      "customer_id": "123456",
      "mobile_number": "9876543210",
      "country_code": "91",
      "billing_address": {
        "address1": "10 Downing Street Westminster London",
        "address2": "Oxford Street Westminster London",
        "address3": "Baker Street Westminster London",
        "pincode": "51524036",
        "city": "Westminster",
        "state": "Westminster",
        "country": "London",
        "full_name": "Kevin Bob",
        "adddress_type": "Home",
        "address_category": "billing"
      },
      "shipping_address": {
        "address1": "10 Downing Street Westminster London",
        "address2": "Oxford Street Westminster London",
        "address3": "Baker Street Westminster London",
        "pincode": "51524036",
        "city": "Westminster",
        "state": "Westminster",
        "country": "London",
        "full_name": "Kevin Bob",
        "adddress_type": "Home",
        "address_category": "billing"
      },
      "is_edit_customer_details_allowed": false
    }
  ]
}'

Run this request

200 OK
{
  "currency_code": "INR",
  "customers": [
    {
      "email_id": "john@example.com",
      "first_name": "Kevin",
      "last_name": "Bob",
      "customer_id": "123456",
      "mobile_number": "9876543210",
      "country_code": "91",
      "billing_address": {
        "address1": "10 Downing Street Westminster London",
        "address2": "Oxford Street Westminster London",
        "address3": "Baker Street Westminster London",
        "pincode": "51524036",
        "city": "Westminster",
        "state": "Westminster",
        "country": "London",
        "full_name": "Kevin Bob",
        "adddress_type": "Home",
        "address_category": "billing"
      },
      "shipping_address": {
        "address1": "10 Downing Street Westminster London",
        "address2": "Oxford Street Westminster London",
        "address3": "Baker Street Westminster London",
        "pincode": "51524036",
        "city": "Westminster",
        "state": "Westminster",
        "country": "London",
        "full_name": "Kevin Bob",
        "adddress_type": "Home",
        "address_category": "billing"
      },
      "is_edit_customer_details_allowed": false
    }
  ]
}
New chat
Responses are generated using AI and may contain mistakes.
Hi! I'm Pine, your AI developer assistant. Ask me anything about Pine Labs APIs, integrations, or troubleshooting.

Tip: you can create a new chat with ⌘ + E