Subaccounts
Post Subaccounts By Subaccount Id Onboarding Refresh Status
POST
header
AuthorizationBearer <token>Scope: subaccounts:write
subaccount_id*stringCurrent onboarding status (optionally polled live from the provider).
application/json- response
subaccount_id*stringexternal_provider_status*|Raw provider status, or null if not yet provisioned.
Value in
"pending_provisioning""pending_activation""active""failed""deprecated"nullonboarding_status*stringDerived onboarding state.
Value in
"link_incomplete""pending_activation""active""failed"has_external_provider_id*booleanpolled_bridge*booleanTrue when this call polled the provider live.
curl -X POST 'https://api.betaramps.com/subaccounts/string/onboarding/refresh-status'Example Response
{ "subaccount_id": "sub_0192f4e3-8a9b-7c6d-5e4f-3a2b1c0d9e8f", "external_provider_status": "active", "onboarding_status": "active", "has_external_provider_id": true, "polled_bridge": true}