x-api-key: ********************{
"components": {
"account_onboarding": {
"enabled": true
}
}
}curl --location --request POST 'https://api.lopay.com/api/1/partner/merchant//account-session' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"components": {
"account_onboarding": {
"enabled": true
}
}
}'{
"stripeAccountId": "acct_1NkDjjJyhOZfPCWt",
"clientSecret": "_OXIKXxEihJokDBnDoe2sgG5OGSO2Q12shKvbeboxpALZGng",
"expiresAt": "2025-01-01T00:00:00.000Z",
"returnUrl": "https://merchant.lopay.app/xxx"
}