#matmac
1 messages · Page 1 of 1 (latest)
Hi 👋
So when you retrieve the the Account object the card_payments and transfers values in the capabilities hash object are showing as 'inactive'?
I'm not sure what you mean by "FALSE" because those properties are strings, not booleans, in our API
I receive the capabilities object, I need to read it, I'll setup that and come back to you
This is what I receive, the account object with the charges_enabled FALSE as well as the details_submitted, again FALSE
but the accounts dashboard says otherwise
and capabilities comes empty...
{"account":{"id":"acct_1MM","object":"account","capabilities":{},"charges_enabled":false,"country":"ES","default_currency":"eur","details_submitted":false,"payouts_enabled":false,"settings":{"bacs_debit_payments":{},"branding":{"icon":null,"logo":null,"primary_color":null,"secondary_color":null},"card_issuing":{"tos_acceptance":{"date":null,"ip":null}},"card_payments":{"statement_descriptor_prefix":null,"statement_descriptor_prefix_kana":null,"statement_descriptor_prefix_kanji":null},"dashboard":{"display_name":"Flow","timezone":"Europe/Madrid"},"payments":{"statement_descriptor":null,"statement_descriptor_kana":null,"statement_descriptor_kanji":null},"payouts":{"debit_negative_balances":true,"schedule":{"delay_days":7,"interval":"daily"},"statement_descriptor":null},"sepa_debit_payments":{}},"type":"standard"}}
not sure what could be happening
sorry to bother with this silly thing
No that's perfectly alright
Unfortunately I'm not as familiar with the checks the Dashboard does (we are focused on coding integrations with the APIs here. What happens when you attempt a test charge with this account?
I'm going to try, and see what happens
nevertheless, in our nextjs app, we need to show/hide messages depending on this
in some cases the users might need to include/add more information for the complete onboarding
that is why we are trying to check that
as per the documentation one of the things we need to do is check for the charges_enabled to understand if the account is fully active
now that returns FALSE
even though the dashboard says otherwise
My gut reaction is to follow that the API says
maybe it is because it is a test account? not sure
So I would first test by creating a new Account Link for this account and see what information it attempts to collect