Palbase Commerce & Promotions · API
POST
/commerce/stores/{store_id}/payment-accountsOnboard store PSP sub-merchant account
Onboard store PSP sub-merchant account. Not an environment token's: where a store is paid outlives the token.
Called by your server, with the project's secret key.
Path
store_idstring · requiredPath parameter store_id.curl
curl -X POST "https://<your-ref>.palbase.studio/commerce/stores/<store_id>/payment-accounts" \
-H "apikey: $PALBASE_SECRET_KEY" \
-H "content-type: application/json" \
-d '{}'Responses
201Onboard store PSP sub-merchant account
defaultStandard Palbase JSON error envelope (`error` and `error_description`).
Operation OnboardStorePaymentAccount of commerce's contract.