Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require '.././libs/Slim/Slim.php';
- require '.././libs/stripe-php/init.php';
- \Stripe\Stripe::setApiKey('sk_test_hRhnPIuoNw8d5pXpk5lr8G9o'); //only for stripe paymentGateway
- \Slim\Slim::registerAutoloader();
- $acc_details = \Stripe\Account::retrieve($data['custom_ac_id']);
- $acc_details->legal_entity['first_name'] = 'Ujjual';
- $acc_details->legal_entity['last_name'] = 'US';
- $acc_details->legal_entity['dob']['day'] = '04';
- $acc_details->legal_entity['dob']['month'] = '05';
- $acc_details->legal_entity['dob']['year'] = '1980';
- $acc_details->legal_entity['type'] = 'individual';//Either “individual” or “company”
- $acc_details->legal_entity['address']['city'] = 'Abbotsford';
- $acc_details->legal_entity['address']['country'] = 'US';
- $acc_details->legal_entity['address']['line1'] = '33415 Maclure Rd';
- $acc_details->legal_entity['address']['line2'] = '33415 Maclure Rd';
- $acc_details->legal_entity['address']['postal_code'] = '10001';
- $acc_details->legal_entity['address']['state'] = 'BC';
- $acc_details->legal_entity['personal_id_number'] = '056464654';
- $acc_details = \Stripe\Account::retrieve($data['custom_ac_id']);
- $response['status']=$acc_details;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement