Request: 'https://api-m.sandbox.paypal.com/v1/customer/consumer-referrals' Headers: Array ( [0] => Authorization: Bearer A21AAIQOJP_qb2UVvRoakKFdeJFX9ANV7dwtcAbFL1nlrfAyohP4_VPUoGUlPT44S62pSh6RX0Wmm5aA5mONiTwgJF9Q4V5XA [1] => PayPal-Request-Id: 03162022170401 [2] => PayPal-Partner-Attribution-Id: CLKingsAvatar [3] => Content-Type: application/json ) Body: { "person_details":{ "names":[ { "given_name":"Shin", "surname":"BankFI" } ], "phone_contacts":[ { "phone":{ "country_code":"1", "national_number":"4083131000" }, "phone_type":"HOME" } ], "addresses":[ { "address":{ "line1":"2141 N 1st Street", "line2":"", "city":"San Jose", "state":"California", "country_code":"US", "postal_code":"95131" }, "address_type":"HOME" } ], "email_addresses":[ { "email_address":"gtsBankFIPush@paypal.com", "primary":true, "confirmed":true } ], "locale":"en_US" }, "paypal_account_properties":{ "account_country_code":"US" } } Response: {"referral_id":"7d228f7342fa2999c86a9b8844ba40de316b03f304780e496bda5ffb5435a90d","person_details":{"names":[{"given_name":"Shin","surname":"BankFI"}],"phone_contacts":[{"phone":{"country_code":"1","national_number":"4083131000"},"phone_type":"HOME"}],"addresses":[{"address":{"line1":"2141 N 1st Street","line2":"","city":"San Jose","state":"California","country_code":"US","postal_code":"95131"},"address_type":"HOME"}],"email_addresses":[{"email_address":"gtsBankFIPush@paypal.com","confirmed":true,"primary":true}],"identity_documents":[],"locale":"en_US"},"links":[{"rel":"action_url","href":"https://www.sandbox.paypal.com/consumeronboarding/start?referralid=7d228f7342fa2999c86a9b8844ba40de316b03f304780e496bda5ffb5435a90d&client_id=AQOGmUQw3YyLlI1udhLBV2Lb-AWf_RHjI9n_CHPLQ-X_SstC0kWHrnpYGL6qGz4qNC3_iZZ47PIoRI-3","method":"GET"}]}