Skip to main content

Seller CRUD Errors

HTTP StatusError CodeDescription
400 Bad RequestDUPLICATE_PROVIDER_MAPPINGDuplicate (provider.id, payment_method_type) combination found.
400 Bad RequestVALIDATION_ERRORRequest body fails validation.
400 Bad RequestINVALID_PROVIDERThe provider id is not valid.
401 UnauthorizedInvalid or missing API keys.
403 ForbiddenFORBIDDENAccount not found or unauthorized.
404 Not FoundFRANCHISE_MAPPING_NOT_FOUNDNo seller mapping exists for the given ID.
409 ConflictFRANCHISE_MAPPING_ALREADY_EXISTSmapping with this merchant_seller_id already exists.

Payment Request Errors

HTTP StatusError CodeDescription
400 Bad RequestMUTUALLY_EXCLUSIVE_SELLER_REFERENCEBoth seller_id and merchant_seller_id were sent together.

Franchise Resolution (Non-Blocking)

These scenarios do not return errors to the merchant. The payment always proceeds:
ScenarioBehavior
Mapping found for routed providerPayment uses the resolved merchant_id and type-specific detail.
No mapping for routed provider / payment_method_typeWarning logged, original merchant_id from connection used.
No payment_method data for this sellerWarning logged, original merchant_id from connection used.
Franchise resolution service unavailableError logged, original merchant_id from connection used.
Neither seller_id nor merchant_seller_id presentFranchise resolution skipped entirely — no impact.