Change parametyers
This commit is contained in:
+3
-3
@@ -39,14 +39,14 @@ var cards = {
|
|||||||
logger.info("READY FOR STRIPE CALL ",req_data);
|
logger.info("READY FOR STRIPE CALL ",req_data);
|
||||||
|
|
||||||
const cardholder = await stripe.issuing.cardholders.create({
|
const cardholder = await stripe.issuing.cardholders.create({
|
||||||
name: 'Olu Test',
|
name: req_data.name,
|
||||||
email: 'jenny.rosen@example.com',
|
email: 'jenny.rosen@example.com',
|
||||||
phone_number: '+18008675309',
|
phone_number: '+18008675309',
|
||||||
status: 'active',
|
status: 'active',
|
||||||
type: 'individual',
|
type: 'individual',
|
||||||
individual: {
|
individual: {
|
||||||
first_name: 'Olu',
|
first_name: req_data.firstname,
|
||||||
last_name: 'Test',
|
last_name: req_data.lastname,
|
||||||
dob: {day: 1, month: 11, year: 1981},
|
dob: {day: 1, month: 11, year: 1981},
|
||||||
},
|
},
|
||||||
billing: {
|
billing: {
|
||||||
|
|||||||
Reference in New Issue
Block a user