#lelouch
1 messages · Page 1 of 1 (latest)
Can you share the request ID (req_xxx) which you gave you this error when you tried to update an issuing card? Here’s how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Checking it now
sure thanks
https://dashboard.stripe.com/test/issuing/cardholders/ich_1NaSSAC2b2UXE1UEfZmD5956 didn't accept user's term. This step is missing: https://stripe.com/docs/issuing/cards#accept-authorized-user-terms
Oooo
i add all this ?
"requirements": {
"disabled_reason": "requirements.past_due",
"past_due": [
"individual.first_name",
"individual.last_name",
"individual.card_issuing.user_terms_acceptance.date",
"individual.card_issuing.user_terms_acceptance.ip",
],
},
requirements.past_due are the information that should be submitted before enabling the cardholder to use card issuing
When the cardholder was created in https://dashboard.stripe.com/test/logs/req_ujUW1hPod6xOp9, the response showed that there are incomplete requirements under requirements.past_due field, i.e.
requirements: {
disabled_reason: "under_review",
past_due: [
"individual.card_issuing.user_terms_acceptance.ip",
"individual.card_issuing.user_terms_acceptance.date",
],
},
Your system should ensure those information are collected before proceeding with any issuing card update. To accept user_terms_acceptance.*, you may follow this guide: https://stripe.com/docs/issuing/cards#accept-authorized-user-terms
hmm what does "under_review" means
oh
once second
type: "individual",
name: userData.name,
email: userData.email,
status: "active",
billing: {
address: {
line1: "1234 Main Street",
city: "San Francisco",
state: "CA",
country: "US",
postal_code: "94111",
},
},
individual: {
first_name: "Jenny",
last_name: "Rosen",
dob: { day: 1, month: 11, year: 1981 }, // date of birth
card_issuing: {
user_terms_acceptance: {
date: new Date(),
ip: "users ip here",
},
},
},
metadata: {
key,
},
});```
is this correct ?
hello ?
Thanks for waiting, the discord is busy now
ah it worked
hmm what does "under_review" means
Under review means that the information submitted is under review by Stripe
i needed to pass those into the card_issuing
i have another question
"ich_1NaSzMC2b2UXE1UE6gcztsMZ",
{
expand: ["number", "cvc"],
}
);```
i am gettint this error "StripeInvalidRequestError: This property cannot be expanded (number)."
Can you share the request ID (req_xxx) of this error?
There is no number and cvc fields on cardholder object: https://stripe.com/docs/api/issuing/cardholders/object
Expanding an object can only be done on the parameters available. Cardholder object doesn't have number and cvc fields, so nothing can be expanded
Can you share what you're trying to get? Is it the card number and cvc of the issuing card?
yes the cardnumber and vc
i want to get them
if user needs it and can show to them
Then you should retrieve from issuing card API, not cardholder API: https://stripe.com/docs/api/issuing/cards/retrieve
but it only gives ""last4": "3926","
you'd need to expand number and cvc fields on the Issuing Card API
stripe.issuing.cards.retrieve(
'ic_1NYtjz2eZvKYlo2Cx6r0Llkl',{
expand: ["number", "cvc"],
}
);
like this ?
Yup!