#peter_40675
1 messages · Page 1 of 1 (latest)
Hi there!
Can you share the ID (req_xxx) of the failing API request?
https://support.stripe.com/questions/finding-the-id-for-an-api-request
The error message is Routing number must have 9 digits
You are passing 108800
for the external_account[routing_number]
yes but for testing purpose what should i pass..?
You can use one of these bank accounts:
https://stripe.com/docs/testing#test-account-numbers
okay thanks, but now new error appear
like - Your destination account needs to have at least one of the following capabilities enabled: transfers, crypto_transfers, legacy_payments
when i transfer money
req_jZHqHBsSeemCJJ
You need to request those capabilities when creating the account:
check:
https://stripe.com/docs/connect/required-verification-information
e.g.
const account = await stripe.accounts.create({
country: 'US',
type: 'custom',
capabilities: {
card_payments: {
requested: true,
},
transfers: {
requested: true,
},
},
});
yes i already pass this
tos_acceptance: {
date: Math.floor(Date.now() / 1000),
ip: accparam.ip,
},
capabilities: {
card_payments: {
requested: true,
},
transfers: {
requested: true,
},
},
req_fKSqtGQlSHP25V -- creating account log
Did you finished/completed the onboarding of that account ?
sorry but onbording means.?
According to this request you are doing a GBP transfer between two US account ? is this expected ?
No for USD
Check the request you shared with me, the currency is GBP
yes just min
req_KxrRTfRjvAYNkX -- still same
Your destination account needs to have at least one of the following capabilities enabled: transfers, crypto_transfers, legacy_payments
const transfer = stripe.transfers.create({
amount: 1000,
currency: "usd",
destination: "acct_1NmxEVFdG6BonhPi",
}).then(function(transfer) {
console.log(transfer);
resolve(transfer);
}).catch(function(error) {
console.log(error.raw.message);
reject(error.raw.message)
});
Ok but what about my previous ask ?