> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.mercoa.com/embedded-ap-ar/api-reference/organization/get/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.mercoa.com/_mcp/server. # Get GET https://api.mercoa.com/organization Get current organization information Reference: https://docs.mercoa.com/embedded-ap-ar/api-reference/organization/get ## Authentication - `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer `, where token is your auth token. ## Request ### Query parameters - `paymentMethods` (boolean, optional) — include supported payment methods in response - `emailProvider` (boolean, optional) — include email provider info in response - `externalAccountingSystemProvider` (boolean, optional) — include external accounting system provider info in response - `colorScheme` (boolean, optional) — include color scheme info in response - `payeeOnboardingOptions` (boolean, optional) — include payee onboarding options in response - `payorOnboardingOptions` (boolean, optional) — include payor onboarding options in response - `metadataSchema` (boolean, optional) — include metadata schema in response - `notificationEmailTemplate` (boolean, optional) — include notification-email-template in response - `rolePermissions` (boolean, optional) — include role permission config in response - `customDomains` (boolean, optional) — include custom domains in response ## Response ### 200 - `id` (string, required) - `sandbox` (boolean, required) - `name` (string, required) - `logoUrl` (string, optional) - `faviconUrl` (string, optional) - `websiteUrl` (string, optional) - `supportEmail` (string, optional) - `paymentMethods` (object, optional) - `payerPayments` (list of object, required) — List of payment methods that can be used to pay invoices. - `type`: `bankAccount` - `active` (boolean, required) - `availableDeliveryMethods` (list of enum, required) - Allowed values: `ACH_STANDARD`, `ACH_SAME_DAY`, `ACH_ACCELERATED` - `defaultDeliveryMethod` (enum, required) - Allowed values: `ACH_STANDARD`, `ACH_SAME_DAY`, `ACH_ACCELERATED` - `name` (string, required, deprecated) — unused - `type`: `card` - `active` (boolean, required) - `name` (string, required, deprecated) — unused - `type`: `virtualCard` - `active` (boolean, required) - `name` (string, required, deprecated) — unused - `type`: `check` - `active` (boolean, required) - `availableDeliveryMethods` (list of enum, required) - Allowed values: `PRINT`, `MAIL`, `MAIL_PRIORITY`, `MAIL_UPS_NEXT_DAY` - `defaultDeliveryMethod` (enum, required) - Allowed values: `PRINT`, `MAIL`, `MAIL_PRIORITY`, `MAIL_UPS_NEXT_DAY` - `printDescription` (boolean, required) - `name` (string, required, deprecated) — unused - `type`: `custom` - `active` (boolean, required) - `schemaId` (string, required) - `name` (string, required, deprecated) — unused - `type`: `bnpl` - `active` (boolean, required) - `name` (string, required, deprecated) — unused - `type`: `offPlatform` - `active` (boolean, required) - `name` (string, required, deprecated) — unused - `type`: `utility` - `active` (boolean, required) - `name` (string, required, deprecated) — unused - `type`: `na` - `active` (boolean, required) - `name` (string, required, deprecated) — unused - `type`: `wallet` - `active` (boolean, required) - `name` (string, required, deprecated) — unused - `backupDisbursements` (list of object, required) — List of payment methods that can be created by a payor to send disbursements. - `type`: `bankAccount` - `active` (boolean, required) - `availableDeliveryMethods` (list of enum, required) - Allowed values: `ACH_STANDARD`, `ACH_SAME_DAY`, `ACH_ACCELERATED` - `defaultDeliveryMethod` (enum, required) - Allowed values: `ACH_STANDARD`, `ACH_SAME_DAY`, `ACH_ACCELERATED` - `name` (string, required, deprecated) — unused - `type`: `card` - `active` (boolean, required) - `name` (string, required, deprecated) — unused - `type`: `virtualCard` - `active` (boolean, required) - `name` (string, required, deprecated) — unused - `type`: `check` - `active` (boolean, required) - `availableDeliveryMethods` (list of enum, required) - Allowed values: `PRINT`, `MAIL`, `MAIL_PRIORITY`, `MAIL_UPS_NEXT_DAY` - `defaultDeliveryMethod` (enum, required) - Allowed values: `PRINT`, `MAIL`, `MAIL_PRIORITY`, `MAIL_UPS_NEXT_DAY` - `printDescription` (boolean, required) - `name` (string, required, deprecated) — unused - `type`: `custom` - `active` (boolean, required) - `schemaId` (string, required) - `name` (string, required, deprecated) — unused - `type`: `bnpl` - `active` (boolean, required) - `name` (string, required, deprecated) — unused - `type`: `offPlatform` - `active` (boolean, required) - `name` (string, required, deprecated) — unused - `type`: `utility` - `active` (boolean, required) - `name` (string, required, deprecated) — unused - `type`: `na` - `active` (boolean, required) - `name` (string, required, deprecated) — unused - `type`: `wallet` - `active` (boolean, required) - `name` (string, required, deprecated) — unused - `vendorDisbursements` (list of object, required) — List of payment methods that can be created by a payee to receive disbursements. - `type`: `bankAccount` - `active` (boolean, required) - `availableDeliveryMethods` (list of enum, required) - Allowed values: `ACH_STANDARD`, `ACH_SAME_DAY`, `ACH_ACCELERATED` - `defaultDeliveryMethod` (enum, required) - Allowed values: `ACH_STANDARD`, `ACH_SAME_DAY`, `ACH_ACCELERATED` - `name` (string, required, deprecated) — unused - `type`: `card` - `active` (boolean, required) - `name` (string, required, deprecated) — unused - `type`: `virtualCard` - `active` (boolean, required) - `name` (string, required, deprecated) — unused - `type`: `check` - `active` (boolean, required) - `availableDeliveryMethods` (list of enum, required) - Allowed values: `PRINT`, `MAIL`, `MAIL_PRIORITY`, `MAIL_UPS_NEXT_DAY` - `defaultDeliveryMethod` (enum, required) - Allowed values: `PRINT`, `MAIL`, `MAIL_PRIORITY`, `MAIL_UPS_NEXT_DAY` - `printDescription` (boolean, required) - `name` (string, required, deprecated) — unused - `type`: `custom` - `active` (boolean, required) - `schemaId` (string, required) - `name` (string, required, deprecated) — unused - `type`: `bnpl` - `active` (boolean, required) - `name` (string, required, deprecated) — unused - `type`: `offPlatform` - `active` (boolean, required) - `name` (string, required, deprecated) — unused - `type`: `utility` - `active` (boolean, required) - `name` (string, required, deprecated) — unused - `type`: `na` - `active` (boolean, required) - `name` (string, required, deprecated) — unused - `type`: `wallet` - `active` (boolean, required) - `name` (string, required, deprecated) — unused - `emailProvider` (object, optional) - `sender` (object, required) - `provider` (enum, required) - Allowed values: `none`, `sendgrid`, `ses`, `resend`, `cloudmailin` - `fromEmail` (string, required) - `fromName` (string, required) - `hasApiKey` (boolean, required) - `useSmartReplyTo` (boolean, optional) - `inboxDomain` (string, required) - `alternativeInboxDomains` (list of string, required) - `externalAccountingSystemProvider` (object, optional) - `type`: `none` - `hasApiKey` (boolean, required) - `type`: `codat` - `hasApiKey` (boolean, required) - `type`: `rutter` - `hasClientId` (boolean, required) - `hasClientSecret` (boolean, required) - `colorScheme` (object, optional) - `primaryColor` (string, optional) - `secondaryColor` (string, optional) - `logoBackgroundColor` (string, optional) - `roundedCorners` (integer, optional) - `fontFamily` (string, optional) - `fontSize` (string, optional) - `payeeOnboardingOptions` (object, optional) - `enableBusiness` (boolean, required) - `enableIndividual` (boolean, required) - `paymentMethod` (boolean, required) - `business` (object, required) - `address` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `averageMonthlyTransactionVolume` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `averageTransactionSize` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `bankStatement` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `description` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `doingBusinessAs` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `ein` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `email` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `formationDate` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `logo` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `maxTransactionSize` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `mcc` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `name` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `phone` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `representatives` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `tenNinetyNine` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `termsOfService` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `type` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `w9` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `website` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `individual` (object, required) - `address` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `bankStatement` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `dateOfBirth` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `email` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `name` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `phone` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `ssn` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `tenNinetyNine` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `termsOfService` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `w9` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `payorOnboardingOptions` (object, optional) - `enableBusiness` (boolean, required) - `enableIndividual` (boolean, required) - `paymentMethod` (boolean, required) - `business` (object, required) - `address` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `averageMonthlyTransactionVolume` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `averageTransactionSize` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `bankStatement` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `description` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `doingBusinessAs` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `ein` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `email` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `formationDate` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `logo` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `maxTransactionSize` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `mcc` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `name` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `phone` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `representatives` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `tenNinetyNine` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `termsOfService` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `type` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `w9` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `website` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `individual` (object, required) - `address` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `bankStatement` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `dateOfBirth` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `email` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `name` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `phone` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `ssn` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `tenNinetyNine` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `termsOfService` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `w9` (object, required) — How this field will be shown on the onboarding page. Note that `required` implies `edit`, and `edit` implies `show`. - `show` (boolean, required) - `edit` (boolean, required) - `required` (boolean, required) - `metadataSchema` (list of object, optional) - `key` (string, required) - `displayName` (string, required) - `type` (enum, required) - Allowed values: `STRING`, `NUMBER`, `DATE`, `BOOLEAN`, `KEY_VALUE` - `description` (string, optional) - `lineItem` (boolean, optional) — Whether or not this field should be shown on line items. If true, this field will be shown on each line item. If false, the field will be shown on the invoice level. Defaults to false. - `allowMultiple` (boolean, optional) — Whether or not multiple values are allowed for this field. Defaults to false. If true, the value will be a list of the specified type. - `validationRules` (object, optional) — Validation rules are currently only supported for STRING types. - `type`: `regex` - `errorMessage` (string, required) — The error message to display if the value does not match the regular expression. - `regex` (string, required) — A regular expression that the value must match. - `showConditions` (object, optional) — A list of conditional rules that determine whether or not this field should be shown. The field will only be shown if all of the conditions are met. If no conditions are specified, the field will always be shown. - `alwaysHide` (boolean, optional) — Always hide this field. Useful for getting data from OCR and AI predictions that you don't want to show in the UI. - `hasOptions` (boolean, optional) — Show this field only if the entity has values set for the metadata key. - `hasDocument` (boolean, optional) — Show this field only if a document has been attached. - `hasNoLineItems` (boolean, optional) — Show this field only if the invoice has no line items. Useful for showing a field that applies to the entire invoice but overridden by line items if present. - `paymentSourceTypes` (list of enum, optional) — Show this field only if the payment source type is in this list. - Allowed values: `custom`, `check`, `bankAccount`, `na`, `card`, `bnpl`, `virtualCard`, `offPlatform`, `utility`, `wallet` - `paymentSourceCustomSchemaIds` (list of string, optional) — Show this field only if the payment source schema ID is in this list of payment source schema IDs. This is only applicable if paymentSourceTypes contains CUSTOM. - `paymentDestinationTypes` (list of enum, optional) — Show this field only if the payment destination type is in this list. - Allowed values: `custom`, `check`, `bankAccount`, `na`, `card`, `bnpl`, `virtualCard`, `offPlatform`, `utility`, `wallet` - `paymentDestinationCustomSchemaIds` (list of string, optional) — Show this field only if the payment destination schema ID is in this list of payment destination schema IDs. This is only applicable if paymentDestinationTypes contains CUSTOM. - `ocrRules` (object, optional) — A collection of rules that determine how this field is populated during OCR. - `extractFromDocument` (boolean, optional) — Attempt to extract this field from reading the document. Only applicable to line item metadata fields. Defaults to false. - `predictFromHistory` (boolean, optional) — Attempt to predict this field from historical invoice metadata. Only applicable to line item metadata fields. Defaults to true. - `notificationEmailTemplate` (object, optional) - `backgroundStyle` (string, optional) - `header` (string, optional) - `body` (string, optional) - `signature` (string, optional) - `footer` (string, optional) - `button` (string, optional) - `customDomains` (list of string, optional) - `organizationEntityId` (string, optional) - `rolePermissions` (map from string to list of enum, optional) - Allowed values: `invoice.all`, `invoice.view.all`, `invoice.view.draft`, `invoice.view.new`, `invoice.view.approved`, `invoice.view.scheduled`, `invoice.view.pending`, `invoice.view.paid`, `invoice.view.archived`, `invoice.view.refused`, `invoice.view.canceled`, `invoice.view.failed`, `invoice.create.all`, `invoice.create.draft`, `invoice.create.new`, `invoice.create.approved`, `invoice.create.scheduled`, `invoice.create.archived`, `invoice.create.cancel`, `invoice.update.all`, `invoice.update.draft`, `invoice.update.new`, `invoice.update.approved`, `invoice.update.scheduled`, `invoice.update.archived`, `invoice.update.cancel`, `invoice.delete`, `invoice.comment.view`, `invoice.comment.create`, `invoice.approver.override`, `invoice.check.print`, `paymentMethod.all`, `paymentMethod.view`, `paymentMethod.create`, `paymentMethod.update`, `paymentMethod.delete` - `notificationsDisabled` (boolean, optional) ## Errors ### 400 Bad Request - `errorName` ("BadRequest", required) - `content` (string, required) ### 401 Unauthorized - `errorName` ("Unauthorized", required) - `content` (string, required) ### 403 Forbidden - `errorName` ("Forbidden", required) - `content` (string, required) ### 404 Not Found - `errorName` ("NotFound", required) - `content` (string, required) ### 409 Conflict - `errorName` ("Conflict", required) - `content` (string, required) ### 500 Internal Server Error - `errorName` ("InternalServerError", required) - `content` (string, required) ### 501 Unimplemented - `errorName` ("Unimplemented", required) - `content` (string, required) ## Examples **Response** ```json { "id": "id", "sandbox": true, "name": "name", "logoUrl": "logoUrl", "faviconUrl": "faviconUrl", "websiteUrl": "websiteUrl", "supportEmail": "supportEmail", "paymentMethods": { "payerPayments": [ { "type": "bankAccount", "active": true, "availableDeliveryMethods": [ "ACH_STANDARD", "ACH_STANDARD" ], "defaultDeliveryMethod": "ACH_STANDARD", "name": "name" }, { "type": "bankAccount", "active": true, "availableDeliveryMethods": [ "ACH_STANDARD", "ACH_STANDARD" ], "defaultDeliveryMethod": "ACH_STANDARD", "name": "name" } ], "backupDisbursements": [ { "type": "bankAccount", "active": true, "availableDeliveryMethods": [ "ACH_STANDARD", "ACH_STANDARD" ], "defaultDeliveryMethod": "ACH_STANDARD", "name": "name" }, { "type": "bankAccount", "active": true, "availableDeliveryMethods": [ "ACH_STANDARD", "ACH_STANDARD" ], "defaultDeliveryMethod": "ACH_STANDARD", "name": "name" } ], "vendorDisbursements": [ { "type": "bankAccount", "active": true, "availableDeliveryMethods": [ "ACH_STANDARD", "ACH_STANDARD" ], "defaultDeliveryMethod": "ACH_STANDARD", "name": "name" }, { "type": "bankAccount", "active": true, "availableDeliveryMethods": [ "ACH_STANDARD", "ACH_STANDARD" ], "defaultDeliveryMethod": "ACH_STANDARD", "name": "name" } ] }, "emailProvider": { "sender": { "provider": "none", "fromEmail": "fromEmail", "fromName": "fromName", "hasApiKey": true, "useSmartReplyTo": true }, "inboxDomain": "inboxDomain", "alternativeInboxDomains": [ "alternativeInboxDomains", "alternativeInboxDomains" ] }, "externalAccountingSystemProvider": { "type": "none", "hasApiKey": true }, "colorScheme": { "primaryColor": "primaryColor", "secondaryColor": "secondaryColor", "logoBackgroundColor": "logoBackgroundColor", "roundedCorners": 1, "fontFamily": "fontFamily", "fontSize": "fontSize" }, "payeeOnboardingOptions": { "enableBusiness": true, "enableIndividual": true, "paymentMethod": true, "business": { "address": { "show": true, "edit": true, "required": true }, "averageMonthlyTransactionVolume": { "show": true, "edit": true, "required": true }, "averageTransactionSize": { "show": true, "edit": true, "required": true }, "bankStatement": { "show": true, "edit": true, "required": true }, "description": { "show": true, "edit": true, "required": true }, "doingBusinessAs": { "show": true, "edit": true, "required": true }, "ein": { "show": true, "edit": true, "required": true }, "email": { "show": true, "edit": true, "required": true }, "formationDate": { "show": true, "edit": true, "required": true }, "logo": { "show": true, "edit": true, "required": true }, "maxTransactionSize": { "show": true, "edit": true, "required": true }, "mcc": { "show": true, "edit": true, "required": true }, "name": { "show": true, "edit": true, "required": true }, "phone": { "show": true, "edit": true, "required": true }, "representatives": { "show": true, "edit": true, "required": true }, "tenNinetyNine": { "show": true, "edit": true, "required": true }, "termsOfService": { "show": true, "edit": true, "required": true }, "type": { "show": true, "edit": true, "required": true }, "w9": { "show": true, "edit": true, "required": true }, "website": { "show": true, "edit": true, "required": true } }, "individual": { "address": { "show": true, "edit": true, "required": true }, "bankStatement": { "show": true, "edit": true, "required": true }, "dateOfBirth": { "show": true, "edit": true, "required": true }, "email": { "show": true, "edit": true, "required": true }, "name": { "show": true, "edit": true, "required": true }, "phone": { "show": true, "edit": true, "required": true }, "ssn": { "show": true, "edit": true, "required": true }, "tenNinetyNine": { "show": true, "edit": true, "required": true }, "termsOfService": { "show": true, "edit": true, "required": true }, "w9": { "show": true, "edit": true, "required": true } } }, "payorOnboardingOptions": { "enableBusiness": true, "enableIndividual": true, "paymentMethod": true, "business": { "address": { "show": true, "edit": true, "required": true }, "averageMonthlyTransactionVolume": { "show": true, "edit": true, "required": true }, "averageTransactionSize": { "show": true, "edit": true, "required": true }, "bankStatement": { "show": true, "edit": true, "required": true }, "description": { "show": true, "edit": true, "required": true }, "doingBusinessAs": { "show": true, "edit": true, "required": true }, "ein": { "show": true, "edit": true, "required": true }, "email": { "show": true, "edit": true, "required": true }, "formationDate": { "show": true, "edit": true, "required": true }, "logo": { "show": true, "edit": true, "required": true }, "maxTransactionSize": { "show": true, "edit": true, "required": true }, "mcc": { "show": true, "edit": true, "required": true }, "name": { "show": true, "edit": true, "required": true }, "phone": { "show": true, "edit": true, "required": true }, "representatives": { "show": true, "edit": true, "required": true }, "tenNinetyNine": { "show": true, "edit": true, "required": true }, "termsOfService": { "show": true, "edit": true, "required": true }, "type": { "show": true, "edit": true, "required": true }, "w9": { "show": true, "edit": true, "required": true }, "website": { "show": true, "edit": true, "required": true } }, "individual": { "address": { "show": true, "edit": true, "required": true }, "bankStatement": { "show": true, "edit": true, "required": true }, "dateOfBirth": { "show": true, "edit": true, "required": true }, "email": { "show": true, "edit": true, "required": true }, "name": { "show": true, "edit": true, "required": true }, "phone": { "show": true, "edit": true, "required": true }, "ssn": { "show": true, "edit": true, "required": true }, "tenNinetyNine": { "show": true, "edit": true, "required": true }, "termsOfService": { "show": true, "edit": true, "required": true }, "w9": { "show": true, "edit": true, "required": true } } }, "metadataSchema": [ { "key": "key", "displayName": "displayName", "type": "STRING", "description": "description", "lineItem": true, "allowMultiple": true, "validationRules": { "type": "regex", "errorMessage": "errorMessage", "regex": "regex" }, "showConditions": { "alwaysHide": true, "hasOptions": true, "hasDocument": true, "hasNoLineItems": true, "paymentSourceTypes": [ "custom", "custom" ], "paymentSourceCustomSchemaIds": [ "paymentSourceCustomSchemaIds", "paymentSourceCustomSchemaIds" ], "paymentDestinationTypes": [ "custom", "custom" ], "paymentDestinationCustomSchemaIds": [ "paymentDestinationCustomSchemaIds", "paymentDestinationCustomSchemaIds" ] }, "ocrRules": { "extractFromDocument": true, "predictFromHistory": true } }, { "key": "key", "displayName": "displayName", "type": "STRING", "description": "description", "lineItem": true, "allowMultiple": true, "validationRules": { "type": "regex", "errorMessage": "errorMessage", "regex": "regex" }, "showConditions": { "alwaysHide": true, "hasOptions": true, "hasDocument": true, "hasNoLineItems": true, "paymentSourceTypes": [ "custom", "custom" ], "paymentSourceCustomSchemaIds": [ "paymentSourceCustomSchemaIds", "paymentSourceCustomSchemaIds" ], "paymentDestinationTypes": [ "custom", "custom" ], "paymentDestinationCustomSchemaIds": [ "paymentDestinationCustomSchemaIds", "paymentDestinationCustomSchemaIds" ] }, "ocrRules": { "extractFromDocument": true, "predictFromHistory": true } } ], "notificationEmailTemplate": { "backgroundStyle": "backgroundStyle", "header": "header", "body": "body", "signature": "signature", "footer": "footer", "button": "button" }, "customDomains": [ "customDomains", "customDomains" ], "organizationEntityId": "organizationEntityId", "rolePermissions": { "rolePermissions": [ "invoice.all", "invoice.all" ] }, "notificationsDisabled": true } ``` **SDK Code** ```python import requests url = "https://api.mercoa.com/organization" headers = {"Authorization": "Bearer "} response = requests.get(url, headers=headers) print(response.json()) ``` ```typescript import { MercoaClient } from "@mercoa/javascript"; const client = new MercoaClient({ token: "YOUR_TOKEN" }); await client.organization.get(); ``` ```go package main import ( "fmt" "net/http" "io" ) func main() { url := "https://api.mercoa.com/organization" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("Authorization", "Bearer ") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) } ``` ```ruby require 'uri' require 'net/http' url = URI("https://api.mercoa.com/organization") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Get.new(url) request["Authorization"] = 'Bearer ' response = http.request(request) puts response.read_body ``` ```java import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; HttpResponse response = Unirest.get("https://api.mercoa.com/organization") .header("Authorization", "Bearer ") .asString(); ``` ```php request('GET', 'https://api.mercoa.com/organization', [ 'headers' => [ 'Authorization' => 'Bearer ', ], ]); echo $response->getBody(); ``` ```csharp using RestSharp; var client = new RestClient("https://api.mercoa.com/organization"); var request = new RestRequest(Method.GET); request.AddHeader("Authorization", "Bearer "); IRestResponse response = client.Execute(request); ``` ```swift import Foundation let headers = ["Authorization": "Bearer "] let request = NSMutableURLRequest(url: NSURL(string: "https://api.mercoa.com/organization")! as URL, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 10.0) request.httpMethod = "GET" request.allHTTPHeaderFields = headers let session = URLSession.shared let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in if (error != nil) { print(error as Any) } else { let httpResponse = response as? HTTPURLResponse print(httpResponse) } }) dataTask.resume() ```