Palbase Payments · API
POST
/payments/sub-merchants/{sub_merchant_id}/syncSync sub-merchant status from provider
Re-fetches authoritative KYC, charges_enabled, and payouts_enabled status from the payment provider.
Called by your server, with the project's secret key.
Path
sub_merchant_idstring · requiredSub-merchant UUID.curl
curl -X POST "https://<your-ref>.palbase.studio/payments/sub-merchants/<sub_merchant_id>/sync" \
-H "apikey: $PALBASE_SECRET_KEY"Responses
200Sub-merchant synced
defaultStandard Palbase JSON error envelope (`error` and `error_description`).
Operation SyncSubMerchant of payments's contract.