mbtrust.create

Create an Account Provisioning entity for MBTrust sponsor integration.

POST http://api.kompliant.com/mbtrust.create (OpenAPI specification)

Usage Info

The MBTrust Account Provisioning entity serves as the container for all provisioning activities related to merchant account setup with Merrick Bank.

Use this method to create a new provisioning entity with Merrick Bank.

Request

Authentication: KSig1-HMAC-SHA256

Parameters

ParameterTypeRequiredDescription
workflow_idstringYesThe Account Provisioning workflow to associate with this MBTrust entity. The workflow must be of type ACCOUNT_PROVISIONING and in STARTED state.
provisioning_sponsorstringYesThe sponsor for provisioning. Must be one of the ACCOUNT_PROVISIONING_SPONSORS.

Example

{
  "workflow_id": "w_2dJFFW3HY8a3zOjqwUXhQc",
  "provisioning_sponsor": "MERRICK"
}

Response

Data

ParameterTypeDescription
mbtrustobjectThe mbtrust parameter defined in the table below.

MBTrust Parameters

ParameterTypeDescription
mbtrust_idstringThe identifier for the MBTrust Account Provisioning entity just created.
statusstringThe initial status of the entity. Will be created. Must be one of the ACCOUNT_PROVISIONING_ENTITY_STATUSES.

Example

{
  "meta": {
    "status": "SUCCESS",
    "trace_id": "trc_6OI5blm21ZoSlq0PC3RqJV",
    "version": "2025-03-24"
  },
  "data": {
    "mbtrust": {
      "mbtrust_id": "ape_4vrv6U1vdpc341MO7cF8pE",
      "status": "created"
    }
  }
}

Errors

Error CodeHTTP CodePossible Cause
BAD_REQUEST400Required parameters not provided.
The provisioning_sponsor provided is not one of the ACCOUNT_PROVISIONING_SPONSORS.
ENTITY_NOT_FOUND400The workflow_id provided does not exist.
SYSTEM_RULE_VIOLATION 400System rule violations are described below.

System Rule Violations

When a SYSTEM_RULE_VIOLATION error occurs, the response will include additional entity_type and sub_code fields to provide more specific information:

Entity TypeSub-codeDescription
WorkflowWORKFLOW_NOT_STARTEDThe workflow must be in STARTED state before creating an account provisioning entity.
WorkflowINVALID_PROVISIONING_SPONSORThe provisioning_sponsor provided does not match the workflow's expected sponsor.
AccountProvisioningEntityBUSINESS_APPLICATION_NOT_FOUNDNo business application found for the subject record associated with this workflow.
AccountACCOUNT_PROVISIONING_DISABLEDThe account provisioning feature is disabled for this account.
AccountPROVISIONER_DISABLEDThe MBTrust provisioner is disabled for this account. Contact support to enable MBTrust provisioning for your account.