So, back to the required fields...I see under each object which fields are required, but are there any objects that are absolutely required??? My current request body looks like this: my $post_data = { customer_data => { customer_type => 'MERCHANT', person_details => { email_address => $user_email, name => { given_name => $seller_info->{first_name}, surname => $seller_info->{last_name} }, phone_contacts => [ { phone_number_details => { country_code => 1, national_number => $seller_info->{user_phone1} }, phone_type => 'OTHER' } ], home_address => { line1 => $seller_info->{user_address1}, line2 => $seller_info->{user_address2}, state => $seller_info->{user_state}, city => $seller_info->{user_city}, country_code => $seller_info->{user_country}, postal_code => $seller_info->{user_zip} } }, business_details => { phone_contacts => [ { phone_number_details => { country_code => 1, national_number => $seller_info->{seller_phone1} }, phone_type => 'OTHER' } ], business_address => { line1 => $seller_info->{seller_address1}, line2 => $seller_info->{seller_address2}, state => $seller_info->{seller_state}, city => $seller_info->{seller_city}, country_code => $seller_info->{seller_country}, postal_code => $seller_info->{seller_zip} }, names => [ { type => 'DOING_BUSINESS_AS', name => $seller_info->{seller_name} } ], website_urls => [ $seller_info->{seller_url} ], email_contacts => [ { email_address => $user_email, role => 'CUSTOMER_SERVICE' } ] }, referral_user_payer_id => { type => 'PAYER_ID', value => $payer_id }, partner_specific_identifiers => [ { type => 'TRACKING_ID', value => $seller_id } ], }, requested_capabilities => [ { capability => 'API_INTEGRATION', api_integration_preference => { partner_id => $payer_id, rest_api_integration => { integration_method => 'PAYPAL', integration_type => 'THIRD_PARTY' }, rest_third_party_details => { partner_client_id => $client_id, feature_list => [ 'PARTNER_FEE', 'PAYMENT', 'REFUND', 'DELAY_FUNDS_DISBURSEMENTS' ] } } } ], collected_consents => [ { type => 'SHARE_DATA_CONSENT', granted => 'true' } ], products => ['EXPRESS_CHECKOUT'] }; If anyone is curious, this is a Perl hash reference. I know the data has to be in json, and I convert it to that before I send it. I'm just showing this now so actual seller data isn't displayed. So, I ask again, are there any particular fields missing in this request? I'd greatly appreciate any help. Thanks.
... View more