search
Your Paytm for business app is working and will keep working beyond March 15th, 2024. Click to know more

paytmSelectUserAddress JS API

Use Case

Your users no longer have to fill in their addresses manually. Improve the overall checkout experience by using the paytmSelectUserAddress API, and autofill the delivery /shipping address fields with user addresses that are saved with Paytm

 

Response Attributes

Success:

PARAMETER DESCRIPTION
data address object

Error Codes:

CODE DESCRIPTION
2

Address api error

3 User did not made a selection
4 No Connection
5 Auth Error
REQUEST
RESPONSE
JAVASCRIPT

JSBridge.call('paytmSelectUserAddress', function(result) {
  alert(result);
});
copy icon