Add Primary Account
This api is used to change primary account of vpas of customer. The account passed in the api will become primary for the vpa in request body. If vpa is not passed, the account will become primary for all the vpa's of customer.
This is an idempotent api.
Will be shared while onboarding.
Will be shared while onboarding.
This is an epoch unix timestamp string. For example, 1496918882000. It can be used by us to invalidate older requests.
This is a signature over combination of headers, payload. Refer Signature Calculation section for more details.
application/json
application/json
Description: Merchant generated unique profile id for customer
Constraints: Alphanumeric string with dot(.). Maximum length is 256.
Description: Action to be performed on vpaAccounts
Constraints: PRIMARY_ACCOUNT
Description: Unique id for the bank account to be linked
Constraints: bankAccountUniqueId in the response of Fetch Accounts api call.
Description: Vpa to which the bank account should be linked as primary account
Constraints: something@handle
Description: Stringified JSON for udf parameters
PSP status of the API
Values: SUCCESS, FAILURE
PSP response code for the API
Values:Refer error code section
PSP response message for the API
Values:Refer error code section
Unique id for the merchant as passed in request headers
Unique id for the merchant channel as passed in request headers
Merchant generated unique profile id for customer as passed in the request
Customer mobile number
Values: 12 digits mobile number string
List of vpas added
List of accounts
Unique id for the default bank account of the customer
Udf Parameters as passed in the request
Have questions?
- Need help? Contact support
- LLM? Read llms.txt

