Error Codes

Seller CRUD Errors

HTTP StatusError Code
400 Bad RequestDUPLICATE_PROVIDER_MAPPING
Duplicate (provider.id, payment_method_type) combination found.
400 Bad RequestVALIDATION_ERROR
Request body fails validation.
400 Bad RequestINVALID_PROVIDER
The provider id is not valid.
401 Unauthorized—
Invalid or missing API keys.
403 ForbiddenFORBIDDEN
Account not found or unauthorized.
404 Not FoundFRANCHISE_MAPPING_NOT_FOUND
No seller mapping exists for the given ID.
409 ConflictFRANCHISE_MAPPING_ALREADY_EXISTS
mapping with this merchant_seller_id already exists.

Payment Request Errors

HTTP StatusError Code
400 Bad RequestMUTUALLY_EXCLUSIVE_SELLER_REFERENCE
Both 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.