#Pravin-account-capabilities
1 messages · Page 1 of 1 (latest)
Hey, you'll want to use the capabilities hash when creating the account: https://stripe.com/docs/api/accounts/create#create_account-capabilities
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
how can i set account type along with capabilities
accountType = AccountCreateParams.builder()
.setType(AccountCreateParams.Type.STANDARD)
.build();
account =Account.create(accountType);
currently i am creating account like this
The parameters are all outlined on the API reference I shared
i am not seeing "AccountCreateParams.Type.STANDARD" in document
could you please help me with screen shot
using account number i generate AccountLink
and i feel all required details inside that
fill*
@earnest jay That is a separate issue, please ask in #dev-help
@late quest I'm not sure what you're asking?
while creating new user i want to mention its standard connect account and along with that i want set some capabilities as well
You can't set specific capabilities with a standard account as the platform
I want add below capabilities for normal accout
card, bank, GPay, Apple Pay, Buy Now Pay Later
Could you please help me with references
As stated, you can't specific capabilities when creating an Account with type: 'standard'
That is managed by the account
yea i got that for standard account
lets suppose i am creating account like belwo
capabilities.put("card_payments", cardPayments);
capabilities.put("transfers", transfers);
Map<String, Object> params = new HashMap<>();
params.put("type", "custom");
params.put("country", "US");
params.put("email", "jenny.rosen@example.com");
params.put("capabilities", capabilities);
Account account = Account.create(params);
so for "card, bank, GPay, Apple Pay, Buy Now Pay Later" what is the key i need to pass
Well, Apple Pay and Google Pay are considered card payments – so that is covered by capabilities.put("card_payments", cardPayments);
Specifically which BNPL provider? And which bank method? We support a few: https://stripe.com/docs/payments/payment-methods/integration-options
The full list is here: https://stripe.com/docs/api/accounts/create#create_account-capabilities
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
You'd just need to append the ones you need to your code: capabilities.put("klarna_payments", klarnaPayments);
Sure, np!