Skip to main content
mutation CreateUnderwritingApplication($input: UnderwritingApplicationCreateInput!) {
  createUnderwritingApplication(input: $input) {
    errors {
      ... on UnderwritingApplicationBankAccountFieldValidationError {
        bankAccountId
        code
        field
        message
      }
      ... on UnderwritingApplicationValidationError {
        code
        message
      }
      ... on UnderwritingApplicationFieldValidationError {
        code
        field
        message
      }
      ... on UnderwritingApplicationStakeholderFieldValidationError {
        code
        field
        message
        stakeholderId
      }
      ... on ForbiddenError {
        advice
        code
        message
      }
      ... on InvalidActorError {
        advice
        code
        message
      }
      ... on InvalidOrganizationError {
        advice
        code
        message
      }
      ... on NotFoundError {
        advice
        code
        message
        resourceId
        resourceName
      }
      ... on ServerError {
        advice
        code
        message
      }
    }
    underwritingApplication {
      applicationEvents {

      }
      applicationIdentity {
        applicantType
        businessEntityType
        businessName
        isKnownEntity
        isLegalAddressSameAsBusinessAddress
        legalEntityName
        merchantCategoryCode
        serviceTelephoneNumber
        underwritingReference
        underwritingRelationshipReference
        websiteUrl
      }
      applicationStatus
      assignee {
        assignedDateTime
        name
        userId
      }
      attachments {
        fileName
        id
        size
        uploadedDateTime
      }
      bankAccounts {
        accountNumberLast4
        id
        nameOnAccount
        routingNumber
      }
      comments {
        content
        createdDateTime
        id
        updatedDateTime
      }
      createdBy {
        name
        type
      }
      createdDateTime
      decisionComponents {
        hasAttachments
        hasComments
        id
        status
        updatedDateTime
      }
      id
      informationRequests {
        applicationId
        createdDateTime
        description
        fulfilledDateTime
        fulfillmentAttachmentIds
        fulfillmentResponse
        fulfillmentTypes
        id
        status
        title
        type
        updatedDateTime
      }
      informationRequestStatus
      participants {
        role
      }
      processingActivity {
        advancedPaymentRate
        averageMonthlySalesAmount
        averageTicketAmount
        cardNotPresentMix
        cardPresentMix
        chargebackRate
        currency
        daysInCycle
        deliveryTimeframe
        exposure
        highestTicketAmount
        refundRate
      }
      queue
      schema {
        createdDateTime
        id
        version
      }
      stakeholders {
        emailAddress
        id
        ipAddress
        ownershipPercentage
        roles
      }
      submissionAttemptedDateTime
      submissionSuccessfulDateTime
      updatedBy {
        name
        type
      }
      updatedDateTime
    }

}
}

{
  "data": {
    "createUnderwritingApplication": {
      "errors": [
        {
          "__typename": "UnderwritingApplicationBankAccountFieldValidationError",
          "bankAccountId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
          "code": "FIELD_TOO_LONG",
          "field": "example",
          "message": "example"
        }
      ],
      "underwritingApplication": {
        "applicationEvents": {
          "items": [
            "example"
          ],
          "pageInfo": "example"
        },
        "applicationIdentity": {
          "applicantType": "BILLER",
          "businessAddress": "example",
          "businessEntityType": "ASSOCIATION",
          "businessName": "Clacksworth Keyboards",
          "isKnownEntity": true,
          "isLegalAddressSameAsBusinessAddress": true,
          "legalAddress": "example",
          "legalEntityName": "Clacksworth Keyboards LLC",
          "merchantCategoryCode": "example",
          "sensitiveFields": "example",
          "serviceTelephoneNumber": "+15551234567",
          "taxIdentificationNumber": "example",
          "underwritingReference": "example",
          "underwritingRelationshipReference": "example",
          "websiteUrl": "https://clacksworth.com"
        },
        "applicationStatus": "APPROVED",
        "assignee": {
          "assignedBy": "example",
          "assignedDateTime": "2026-01-15T14:30:00Z",
          "name": "Ben Torres",
          "userId": "f47ac10b-58cc-4372-a567-0e02b2c3d479"
        },
        "attachments": [
          {
            "fileName": "business-license.pdf",
            "id": "c9a1e2d3-4b5f-6789-0abc-def123456789",
            "size": 0,
            "uploadedBy": "example",
            "uploadedDateTime": "2026-01-15T14:30:00Z"
          }
        ],
        "bankAccounts": [
          {
            "accountNumberLast4": "example",
            "id": "d8b2f3e4-5c6a-7890-1bcd-ef2345678901",
            "nameOnAccount": "example",
            "routingNumber": "example",
            "sensitiveFields": "example"
          }
        ],
        "comments": [
          {
            "content": "Approved for mechanical keyboard accessories line.",
            "createdBy": "example",
            "createdDateTime": "2026-01-15T14:30:00Z",
            "decisionComponent": "example",
            "id": "e7c3a4b5-6d7e-8901-2cde-f34567890123",
            "lastUpdatedBy": "example",
            "updatedDateTime": "2026-01-15T14:30:00Z"
          }
        ],
        "createdBy": {
          "name": "Ben Torres",
          "type": "APP"
        },
        "createdDateTime": "2026-01-15T14:30:00Z",
        "decisionComponents": [
          {
            "attachments": [
              "example"
            ],
            "comments": [
              "example"
            ],
            "hasAttachments": true,
            "hasComments": true,
            "id": "b6d4e5f6-7a8b-9012-3def-456789012345",
            "items": [
              "example"
            ],
            "lastUpdatedBy": "example",
            "schema": "example",
            "status": "ACCEPTED",
            "updatedDateTime": "2026-01-15T14:30:00Z"
          }
        ],
        "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
        "informationRequests": [
          {
            "applicationId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
            "createdBy": "example",
            "createdDateTime": "2026-01-15T14:30:00Z",
            "description": "example",
            "fulfilledBy": "example",
            "fulfilledDateTime": "2026-01-15T14:30:00Z",
            "fulfillmentAttachmentIds": [
              "c9a1e2d3-4b5f-6789-0abc-def123456789"
            ],
            "fulfillmentResponse": "example",
            "fulfillmentTypes": [
              "DOCUMENT"
            ],
            "id": "d8b2f3e4-5c6a-7890-1bcd-ef2345678901",
            "status": "FULFILLED",
            "title": "example",
            "type": "BANK_LETTER",
            "updatedDateTime": "2026-01-15T14:30:00Z"
          }
        ],
        "informationRequestStatus": "AWAITING_INFORMATION",
        "participants": [
          {
            "organization": "example",
            "role": "BANK"
          }
        ],
        "processingActivity": {
          "advancedPaymentRate": 0.05,
          "averageMonthlySalesAmount": 45000,
          "averageTicketAmount": 150,
          "cardNotPresentMix": 0.05,
          "cardPresentMix": 0.05,
          "chargebackRate": 0.05,
          "currency": "USD",
          "daysInCycle": 0,
          "deliveryTimeframe": 0,
          "exposure": 100000,
          "highestTicketAmount": 2500,
          "refundRate": 0.05
        },
        "queue": "PARTNER",
        "schema": {
          "createdDateTime": "2026-01-15T14:30:00Z",
          "id": "e7c3a4b5-6d7e-8901-2cde-f34567890123",
          "underwritingDecisionComponentSchemas": [
            "example"
          ],
          "version": "example"
        },
        "stakeholders": [
          {
            "emailAddress": "ben@clacksworth.com",
            "id": "b6d4e5f6-7a8b-9012-3def-456789012345",
            "ipAddress": "example",
            "ownershipPercentage": 0.05,
            "roles": [
              "AUTHORIZED"
            ],
            "sensitiveFields": "example"
          }
        ],
        "submissionAttemptedDateTime": "2026-01-15T14:30:00Z",
        "submissionSuccessfulDateTime": "2026-01-15T14:30:00Z",
        "updatedBy": {
          "name": "Ben Torres",
          "type": "APP"
        },
        "updatedDateTime": "2026-01-15T14:30:00Z"
      }
    }
  }
}
Mutation

Arguments

input
UnderwritingApplicationCreateInput!
required

Return type

CreateUnderwritingApplicationPayload!
errors
[CreateUnderwritingApplicationError!]
underwritingApplication
UnderwritingApplication
mutation CreateUnderwritingApplication($input: UnderwritingApplicationCreateInput!) {
  createUnderwritingApplication(input: $input) {
    errors {
      ... on UnderwritingApplicationBankAccountFieldValidationError {
        bankAccountId
        code
        field
        message
      }
      ... on UnderwritingApplicationValidationError {
        code
        message
      }
      ... on UnderwritingApplicationFieldValidationError {
        code
        field
        message
      }
      ... on UnderwritingApplicationStakeholderFieldValidationError {
        code
        field
        message
        stakeholderId
      }
      ... on ForbiddenError {
        advice
        code
        message
      }
      ... on InvalidActorError {
        advice
        code
        message
      }
      ... on InvalidOrganizationError {
        advice
        code
        message
      }
      ... on NotFoundError {
        advice
        code
        message
        resourceId
        resourceName
      }
      ... on ServerError {
        advice
        code
        message
      }
    }
    underwritingApplication {
      applicationEvents {

      }
      applicationIdentity {
        applicantType
        businessEntityType
        businessName
        isKnownEntity
        isLegalAddressSameAsBusinessAddress
        legalEntityName
        merchantCategoryCode
        serviceTelephoneNumber
        underwritingReference
        underwritingRelationshipReference
        websiteUrl
      }
      applicationStatus
      assignee {
        assignedDateTime
        name
        userId
      }
      attachments {
        fileName
        id
        size
        uploadedDateTime
      }
      bankAccounts {
        accountNumberLast4
        id
        nameOnAccount
        routingNumber
      }
      comments {
        content
        createdDateTime
        id
        updatedDateTime
      }
      createdBy {
        name
        type
      }
      createdDateTime
      decisionComponents {
        hasAttachments
        hasComments
        id
        status
        updatedDateTime
      }
      id
      informationRequests {
        applicationId
        createdDateTime
        description
        fulfilledDateTime
        fulfillmentAttachmentIds
        fulfillmentResponse
        fulfillmentTypes
        id
        status
        title
        type
        updatedDateTime
      }
      informationRequestStatus
      participants {
        role
      }
      processingActivity {
        advancedPaymentRate
        averageMonthlySalesAmount
        averageTicketAmount
        cardNotPresentMix
        cardPresentMix
        chargebackRate
        currency
        daysInCycle
        deliveryTimeframe
        exposure
        highestTicketAmount
        refundRate
      }
      queue
      schema {
        createdDateTime
        id
        version
      }
      stakeholders {
        emailAddress
        id
        ipAddress
        ownershipPercentage
        roles
      }
      submissionAttemptedDateTime
      submissionSuccessfulDateTime
      updatedBy {
        name
        type
      }
      updatedDateTime
    }

}
}

{
  "data": {
    "createUnderwritingApplication": {
      "errors": [
        {
          "__typename": "UnderwritingApplicationBankAccountFieldValidationError",
          "bankAccountId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
          "code": "FIELD_TOO_LONG",
          "field": "example",
          "message": "example"
        }
      ],
      "underwritingApplication": {
        "applicationEvents": {
          "items": [
            "example"
          ],
          "pageInfo": "example"
        },
        "applicationIdentity": {
          "applicantType": "BILLER",
          "businessAddress": "example",
          "businessEntityType": "ASSOCIATION",
          "businessName": "Clacksworth Keyboards",
          "isKnownEntity": true,
          "isLegalAddressSameAsBusinessAddress": true,
          "legalAddress": "example",
          "legalEntityName": "Clacksworth Keyboards LLC",
          "merchantCategoryCode": "example",
          "sensitiveFields": "example",
          "serviceTelephoneNumber": "+15551234567",
          "taxIdentificationNumber": "example",
          "underwritingReference": "example",
          "underwritingRelationshipReference": "example",
          "websiteUrl": "https://clacksworth.com"
        },
        "applicationStatus": "APPROVED",
        "assignee": {
          "assignedBy": "example",
          "assignedDateTime": "2026-01-15T14:30:00Z",
          "name": "Ben Torres",
          "userId": "f47ac10b-58cc-4372-a567-0e02b2c3d479"
        },
        "attachments": [
          {
            "fileName": "business-license.pdf",
            "id": "c9a1e2d3-4b5f-6789-0abc-def123456789",
            "size": 0,
            "uploadedBy": "example",
            "uploadedDateTime": "2026-01-15T14:30:00Z"
          }
        ],
        "bankAccounts": [
          {
            "accountNumberLast4": "example",
            "id": "d8b2f3e4-5c6a-7890-1bcd-ef2345678901",
            "nameOnAccount": "example",
            "routingNumber": "example",
            "sensitiveFields": "example"
          }
        ],
        "comments": [
          {
            "content": "Approved for mechanical keyboard accessories line.",
            "createdBy": "example",
            "createdDateTime": "2026-01-15T14:30:00Z",
            "decisionComponent": "example",
            "id": "e7c3a4b5-6d7e-8901-2cde-f34567890123",
            "lastUpdatedBy": "example",
            "updatedDateTime": "2026-01-15T14:30:00Z"
          }
        ],
        "createdBy": {
          "name": "Ben Torres",
          "type": "APP"
        },
        "createdDateTime": "2026-01-15T14:30:00Z",
        "decisionComponents": [
          {
            "attachments": [
              "example"
            ],
            "comments": [
              "example"
            ],
            "hasAttachments": true,
            "hasComments": true,
            "id": "b6d4e5f6-7a8b-9012-3def-456789012345",
            "items": [
              "example"
            ],
            "lastUpdatedBy": "example",
            "schema": "example",
            "status": "ACCEPTED",
            "updatedDateTime": "2026-01-15T14:30:00Z"
          }
        ],
        "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
        "informationRequests": [
          {
            "applicationId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
            "createdBy": "example",
            "createdDateTime": "2026-01-15T14:30:00Z",
            "description": "example",
            "fulfilledBy": "example",
            "fulfilledDateTime": "2026-01-15T14:30:00Z",
            "fulfillmentAttachmentIds": [
              "c9a1e2d3-4b5f-6789-0abc-def123456789"
            ],
            "fulfillmentResponse": "example",
            "fulfillmentTypes": [
              "DOCUMENT"
            ],
            "id": "d8b2f3e4-5c6a-7890-1bcd-ef2345678901",
            "status": "FULFILLED",
            "title": "example",
            "type": "BANK_LETTER",
            "updatedDateTime": "2026-01-15T14:30:00Z"
          }
        ],
        "informationRequestStatus": "AWAITING_INFORMATION",
        "participants": [
          {
            "organization": "example",
            "role": "BANK"
          }
        ],
        "processingActivity": {
          "advancedPaymentRate": 0.05,
          "averageMonthlySalesAmount": 45000,
          "averageTicketAmount": 150,
          "cardNotPresentMix": 0.05,
          "cardPresentMix": 0.05,
          "chargebackRate": 0.05,
          "currency": "USD",
          "daysInCycle": 0,
          "deliveryTimeframe": 0,
          "exposure": 100000,
          "highestTicketAmount": 2500,
          "refundRate": 0.05
        },
        "queue": "PARTNER",
        "schema": {
          "createdDateTime": "2026-01-15T14:30:00Z",
          "id": "e7c3a4b5-6d7e-8901-2cde-f34567890123",
          "underwritingDecisionComponentSchemas": [
            "example"
          ],
          "version": "example"
        },
        "stakeholders": [
          {
            "emailAddress": "ben@clacksworth.com",
            "id": "b6d4e5f6-7a8b-9012-3def-456789012345",
            "ipAddress": "example",
            "ownershipPercentage": 0.05,
            "roles": [
              "AUTHORIZED"
            ],
            "sensitiveFields": "example"
          }
        ],
        "submissionAttemptedDateTime": "2026-01-15T14:30:00Z",
        "submissionSuccessfulDateTime": "2026-01-15T14:30:00Z",
        "updatedBy": {
          "name": "Ben Torres",
          "type": "APP"
        },
        "updatedDateTime": "2026-01-15T14:30:00Z"
      }
    }
  }
}