Add Vpa

This api creates an alias to an existing vpa. All the accounts liked to customerPrimaryVpa will be linked to customerVpa.

If deleteCustomerPrimaryVpa is passed as "true" then customerPrimaryVpa will be deleted. This api can also be used for Edit Vpa functionality.

Note
  1. Regex for vpa prefix is ^[a-zA-Z0-9]([a-zA-Z0-9-\.]{1,23})[a-zA-Z0-9]$.

  2. Regex for mobile number vpa prefix is ^[0-9]{10,12}$.

  3. If a customer has already created vpa of his mobile number, he cannot create another mobile number vpa.

  4. This is an idempotent api.

API Endpoints
Production Link
POST
http://{{host}}/api/{uri}/merchants/vpas/addDefault
Headers
Body
200 : Success