Update fields | Billing Page | JSON
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How update Country , Email Address , Phone Number , First Name and Last Name from JSON on Billing Page.
{
"intent" : "CAPTURE" ,
"application_context" : {
"return_url" : "https://google.com" ,
"cancel_url" : "https://yahoo.com" ,
"locale" : "en-US" ,
"landing_page" : "BILLING" ,
"shipping_preference" : "SET_PROVIDED_ADDRESS"
},
"purchase_units" : [
{
"amount" : {
"currency_code" : "USD" ,
"value" : "100.00"
},
"shipping" : {
"address" : {
"address_line_1" : "[removed]" ,
"address_line_2" : "Floor 6" ,
"admin_area_2" : "San Francisco" ,
"admin_area_1" : "CA" ,
"postal_code" : "94107" ,
"country_code" : "US"
}
}
}
]
}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day @Akhil19,
Thank you for posting to the PayPal community.
Please use the "Update Order" API call to make an update to the particular order.
https://developer.paypal.com/docs/api/orders/v2/#orders_patch
Merchant can also pass the "payer" object (email_address, name, phone, etc.) in the "Create Order" API call.
https://developer.paypal.com/docs/api/orders/v2/#orders_create
https://developer.paypal.com/docs/api/orders/v2/#orders_create!path=payer&t=request
Sincerely,
Chiranjeevi
PayPal/Braintree MTS
If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Subscription Status Immediately Updates to New Plan Despite Payment Scheduled for Next Billing Cycle in NVP/SOAP APIs
- Resuming a subscription and update billing dates in REST APIs
- Active Subscription has next_billing_time in past in REST APIs
- Partner-referrals 403 -> Authorization failed due to insufficient permissions. in REST APIs
- Show all billing address fields when hiding shipping address fields in PayPal Payments Standard