Skip to main content
PATCH
Available in🇮🇳 India🇺🇸 United States
Use this endpoint to update your Customer Identifier. You cannot update the expiry date of a Customer Identifier that has been closed.

Path Parameters

string
required
The unique identifier of the Customer Identifier which you want to update.

Request Parameters

integer
UNIX timestamp at which the Customer Identifier is scheduled to be automatically closed. The time must be at least 15 minutes after current time. The date range can be set till 2147483647 in UNIX timestamp format (equivalent to Tuesday, January 19, 2038 8:44:07 AM GMT+05:30).
Watch Out!
  • Any request beyond 2147483647 UNIX timestamp will fail.
  • If a Customer Identifier API is not used for 90 days, it will automatically close even if no close_by date has been set.
string
A brief description of the Customer Identifier.
json object
Any custom notes you might want to add to the Customer Identifier can be entered here. Refer to the Notes section to learn more.

Response Parameters

string
The unique identifier of the Customer Identifier.
string
The merchant billing label as it appears on the Dashboard.
string
Indicates the type of entity. Here, it is virtual account.
string
Indicates whether the Customer Identifier is in active or closed state.
string
A brief description about the Customer Identifier.
integer
The amount expected by the merchant.
integer
The amount paid by the customer into the Customer Identifier.
json object
Any custom notes you might want to add to the Customer Identifier can be entered here. Know more about notes.
string
Unique identifier of the customer the Customer Identifier is linked with. Know more about Customer API.
json object
Configuration of desired receivers for the Customer Identifier.
string
The unique identifier of the virtual bank account. Sample IDs for:
  • Virtual bank account: ba_Di5gbQsGn0QSz3
  • Virtual UPI ID: vpa_CkTmLXqVYPkbxx
string
Name of the entity. Possible values:
  • bank_account
  • vpa
string
The IFSC for the virtual bank account created. For example, RAZR0000001. This parameter appears in the response only when bank_account is passed as the receiver type.
string
The bank associated with the virtual bank account. For example, RBL Bank. This parameter appears in the response only when bank_account is passed as the receiver type.
string
The unique account number provided by the bank. For example, 1112220061746877. This parameter appears in the response only when bank_account is passed as the receiver type.
string
The merchant billing label as it appears on the Dashboard. This parameter appears in the response only when bank_account is passed as the receiver type.
json object
Any custom notes you might want to add to the virtual bank account can be entered here. Know more about notes. This parameter appears in the response only when bank_account is passed as the receiver type.
integer
UNIX timestamp at which the Customer Identifier is scheduled to be automatically closed. The time must be at least 15 minutes after current time. The date range can be set till 2147483647 in UNIX timestamp format (equivalent to Tuesday, January 19, 2038 8:44:07 AM GMT+05:30).
  • Any request beyond 2147483647 UNIX timestamp will fail.
  • A Customer Identifier API that has not been used for 90 days will be automatically closed even if no close_by date has been set.
integer
UNIX timestamp at which the Customer Identifier is automatically closed.
integer
UNIX timestamp at which the Customer Identifier was created.

Errors

Code: 400If you have created a Customer Identifier with only a VPA receiver, you cannot replace or update it.Solution: Create a new Customer Identifier with bank account details.
Code: 400If you have created a Customer Identifier with a receiver, for example, bank account, you cannot add another bank account receiver or replace it.Solution: Create a new Customer Identifier for new banking details of receiver.
Code: 400The epoch time passed is less than current time.Solution: Send the correct close_by time. And the close_by time should be more than 15 minutes from the current time.