API Integration
The Submerchant feature uses HUB2 API endpoints. The available endpoints are listed in the following documentation:API Submerchant
Authentication
Your integration uses the same HUB2 API keys for authentication, but the key must have payment creation permissions:Api.payment_createApi.payment_intent_createApi.payment_intent_readApi.payment_intent_auth_createApi.payment_fees_read
API Endpoints
Submerchants use creation and read endpoints similar to standard endpointsSubmerchants
POST /submerchants/- Create a submerchant. Here is an example.
PATCH /submerchants/{submerchantId}/- Update a submerchantGET /submerchants- List created submerchantsGET /submerchants/{id}- Retrieve a specific submerchant
