> 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/entity/customization/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/entity/{entityId}/customization Get entity customization. Reference: https://docs.mercoa.com/embedded-ap-ar/api-reference/entity/customization/get ## Authentication - `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer `, where token is your auth token. ## Request ### Path parameters - `entityId` (string, required) — Entity ID or Entity ForeignID ## Response ### 200 - `metadata` (list of object, required) - `key` (string, required) — The key of the metadata field. This must be defined at the organization level, otherwise an error will be returned. - `disabled` (boolean, required) — If true, this field will not be available to the entity. - `paymentSource` (list of object, required) - `type`: `bankAccount` - `disabled` (boolean, required) — If true, this method will will not be available to the entity. - `availableDeliveryMethods` (list of enum, optional) — The delivery methods that are available for this payment method. - Allowed values: `ACH_STANDARD`, `ACH_SAME_DAY`, `ACH_ACCELERATED` - `defaultDeliveryMethod` (enum, optional) — The default delivery method for this payment method. - Allowed values: `ACH_STANDARD`, `ACH_SAME_DAY`, `ACH_ACCELERATED` - `originatingCompanyName` (enum, optional) — The originating company name for this payment method. If not set, the entity name will be used. - Allowed values: `ENTITY_NAME`, `BANK_NAME` - `type`: `card` - `disabled` (boolean, required) — If true, this method will will not be available to the entity. - `type`: `virtualCard` - `disabled` (boolean, required) — If true, this method will will not be available to the entity. - `type`: `check` - `disabled` (boolean, required) — If true, this method will will not be available to the entity. - `availableDeliveryMethods` (list of enum, optional) — The delivery methods that are available for this payment method. - Allowed values: `PRINT`, `MAIL`, `MAIL_PRIORITY`, `MAIL_UPS_NEXT_DAY` - `defaultDeliveryMethod` (enum, optional) — The default delivery method for this payment method. - Allowed values: `PRINT`, `MAIL`, `MAIL_PRIORITY`, `MAIL_UPS_NEXT_DAY` - `printDescription` (boolean, optional) — If true, the check will be printed with the description. - `type`: `custom` - `disabled` (boolean, required) — If true, this method will will not be available to the entity. - `schemaId` (string, required) — The ID of the schema to use for this payment method. - `type`: `bnpl` - `disabled` (boolean, required) — If true, this method will will not be available to the entity. - `type`: `offPlatform` - `disabled` (boolean, required) — If true, this method will will not be available to the entity. - `type`: `utility` - `disabled` (boolean, required) — If true, this method will will not be available to the entity. - `type`: `na` - `disabled` (boolean, required) — If true, this method will will not be available to the entity. - `type`: `wallet` - `disabled` (boolean, required) — If true, this method will will not be available to the entity. - `backupDisbursement` (list of object, required) - `type`: `bankAccount` - `disabled` (boolean, required) — If true, this method will will not be available to the entity. - `availableDeliveryMethods` (list of enum, optional) — The delivery methods that are available for this payment method. - Allowed values: `ACH_STANDARD`, `ACH_SAME_DAY`, `ACH_ACCELERATED` - `defaultDeliveryMethod` (enum, optional) — The default delivery method for this payment method. - Allowed values: `ACH_STANDARD`, `ACH_SAME_DAY`, `ACH_ACCELERATED` - `originatingCompanyName` (enum, optional) — The originating company name for this payment method. If not set, the entity name will be used. - Allowed values: `ENTITY_NAME`, `BANK_NAME` - `type`: `card` - `disabled` (boolean, required) — If true, this method will will not be available to the entity. - `type`: `virtualCard` - `disabled` (boolean, required) — If true, this method will will not be available to the entity. - `type`: `check` - `disabled` (boolean, required) — If true, this method will will not be available to the entity. - `availableDeliveryMethods` (list of enum, optional) — The delivery methods that are available for this payment method. - Allowed values: `PRINT`, `MAIL`, `MAIL_PRIORITY`, `MAIL_UPS_NEXT_DAY` - `defaultDeliveryMethod` (enum, optional) — The default delivery method for this payment method. - Allowed values: `PRINT`, `MAIL`, `MAIL_PRIORITY`, `MAIL_UPS_NEXT_DAY` - `printDescription` (boolean, optional) — If true, the check will be printed with the description. - `type`: `custom` - `disabled` (boolean, required) — If true, this method will will not be available to the entity. - `schemaId` (string, required) — The ID of the schema to use for this payment method. - `type`: `bnpl` - `disabled` (boolean, required) — If true, this method will will not be available to the entity. - `type`: `offPlatform` - `disabled` (boolean, required) — If true, this method will will not be available to the entity. - `type`: `utility` - `disabled` (boolean, required) — If true, this method will will not be available to the entity. - `type`: `na` - `disabled` (boolean, required) — If true, this method will will not be available to the entity. - `type`: `wallet` - `disabled` (boolean, required) — If true, this method will will not be available to the entity. - `paymentDestination` (list of object, required) - `type`: `bankAccount` - `disabled` (boolean, required) — If true, this method will will not be available to the entity. - `availableDeliveryMethods` (list of enum, optional) — The delivery methods that are available for this payment method. - Allowed values: `ACH_STANDARD`, `ACH_SAME_DAY`, `ACH_ACCELERATED` - `defaultDeliveryMethod` (enum, optional) — The default delivery method for this payment method. - Allowed values: `ACH_STANDARD`, `ACH_SAME_DAY`, `ACH_ACCELERATED` - `originatingCompanyName` (enum, optional) — The originating company name for this payment method. If not set, the entity name will be used. - Allowed values: `ENTITY_NAME`, `BANK_NAME` - `type`: `card` - `disabled` (boolean, required) — If true, this method will will not be available to the entity. - `type`: `virtualCard` - `disabled` (boolean, required) — If true, this method will will not be available to the entity. - `type`: `check` - `disabled` (boolean, required) — If true, this method will will not be available to the entity. - `availableDeliveryMethods` (list of enum, optional) — The delivery methods that are available for this payment method. - Allowed values: `PRINT`, `MAIL`, `MAIL_PRIORITY`, `MAIL_UPS_NEXT_DAY` - `defaultDeliveryMethod` (enum, optional) — The default delivery method for this payment method. - Allowed values: `PRINT`, `MAIL`, `MAIL_PRIORITY`, `MAIL_UPS_NEXT_DAY` - `printDescription` (boolean, optional) — If true, the check will be printed with the description. - `type`: `custom` - `disabled` (boolean, required) — If true, this method will will not be available to the entity. - `schemaId` (string, required) — The ID of the schema to use for this payment method. - `type`: `bnpl` - `disabled` (boolean, required) — If true, this method will will not be available to the entity. - `type`: `offPlatform` - `disabled` (boolean, required) — If true, this method will will not be available to the entity. - `type`: `utility` - `disabled` (boolean, required) — If true, this method will will not be available to the entity. - `type`: `na` - `disabled` (boolean, required) — If true, this method will will not be available to the entity. - `type`: `wallet` - `disabled` (boolean, required) — If true, this method will will not be available to the entity. - `ocr` (object, required) - `lineItems` (boolean, required) — Extract line items from the invoice. Defaults to true. - `collapseLineItems` (boolean, required) — If true, the line items will be collapsed into a single line item. Defaults to false. - `invoiceMetadata` (boolean, required) — Pull custom metadata at the invoice level. Defaults to true. - `lineItemMetadata` (boolean, required) — Pull custom metadata at the line item level. Defaults to true. - `lineItemGlAccountId` (boolean, required) — Pull GL Account ID at the line item level. Defaults to true. - `predictMetadata` (boolean, required) — Use AI to predict metadata from historical data. Defaults to true. - `taxAndShippingAsLineItems` (boolean, required) — Pull tax and shipping information as line items. Defaults to true. If false, tax and shipping will extracted as invoice level fields. - `splitDocuments` (boolean, required) — Use AI to intelligently split documents into multiple subdocuments. Defaults to false. - `notifications` (object, required) - `assumeRole` (string, optional) — If set, notifications to this role will be sent to the email address of the entity. Set as empty string to disable. - `workflow` (object, required) - `autoAdvanceInvoiceStatus` (boolean, optional) — If true, the invoice will be automatically advanced to the furthest stage in the payment workflow. For example, if the invoice is APPROVED, but has all necessary data to move to SCHEDULED, it will be advanced to SCHEDULED. - `invoice` (object, required) - `hideAddress` (boolean, required) — If true, the address information will be hidden from generated invoice PDFs. Defaults to false. - `hideQrCode` (boolean, required) — If true, the QR code will be hidden from generated invoice PDFs. Defaults to false. - `hideBankDetails` (boolean, required) — If true, the bank account details will be hidden from generated invoice PDFs. Defaults to false. - `hidePaymentLink` (boolean, required) — If true, the payment link will be hidden from generated invoice PDFs. Defaults to false. - `fees` (object, required) - `payable` (object, optional) — When the entity creating the invoice is the payer, these fees will be applied to the transaction. - `source` (object, optional) — Fees to be applied to the source of the transaction. - `ACH_STANDARD` (object, optional) — The fee for the ACH standard rail. - `type`: `percentage` - `amount` (double, required) — The percentage of the payment amount that will be charged as a fee. For example, if the fee is 2.5%, set this to 2.5. - `type`: `flat` - `amount` (double, required) — The flat amount that will be charged as a fee. For example, if the fee is $2.50, set this to 2.5. - `type`: `default` - `ACH_SAME_DAY` (object, optional) — The fee for the ACH same day rail. - `type`: `percentage` - `amount` (double, required) — The percentage of the payment amount that will be charged as a fee. For example, if the fee is 2.5%, set this to 2.5. - `type`: `flat` - `amount` (double, required) — The flat amount that will be charged as a fee. For example, if the fee is $2.50, set this to 2.5. - `type`: `default` - `CHECK_PRINT` (object, optional) — The fee for the check print rail. - `type`: `percentage` - `amount` (double, required) — The percentage of the payment amount that will be charged as a fee. For example, if the fee is 2.5%, set this to 2.5. - `type`: `flat` - `amount` (double, required) — The flat amount that will be charged as a fee. For example, if the fee is $2.50, set this to 2.5. - `type`: `default` - `CHECK_MAIL` (object, optional) — The fee for the check mail rail. - `type`: `percentage` - `amount` (double, required) — The percentage of the payment amount that will be charged as a fee. For example, if the fee is 2.5%, set this to 2.5. - `type`: `flat` - `amount` (double, required) — The flat amount that will be charged as a fee. For example, if the fee is $2.50, set this to 2.5. - `type`: `default` - `CHECK_MAIL_PRIORITY` (object, optional) — The fee for the check mail priority rail. - `type`: `percentage` - `amount` (double, required) — The percentage of the payment amount that will be charged as a fee. For example, if the fee is 2.5%, set this to 2.5. - `type`: `flat` - `amount` (double, required) — The flat amount that will be charged as a fee. For example, if the fee is $2.50, set this to 2.5. - `type`: `default` - `CHECK_MAIL_UPS_NEXT_DAY` (object, optional) — The fee for the check mail UPS next day rail. - `type`: `percentage` - `amount` (double, required) — The percentage of the payment amount that will be charged as a fee. For example, if the fee is 2.5%, set this to 2.5. - `type`: `flat` - `amount` (double, required) — The flat amount that will be charged as a fee. For example, if the fee is $2.50, set this to 2.5. - `type`: `default` - `destination` (object, optional) — Fees to be applied to the destination of the transaction. - `ACH_STANDARD` (object, optional) — The fee for the ACH standard rail. - `type`: `percentage` - `amount` (double, required) — The percentage of the payment amount that will be charged as a fee. For example, if the fee is 2.5%, set this to 2.5. - `type`: `flat` - `amount` (double, required) — The flat amount that will be charged as a fee. For example, if the fee is $2.50, set this to 2.5. - `type`: `default` - `ACH_SAME_DAY` (object, optional) — The fee for the ACH same day rail. - `type`: `percentage` - `amount` (double, required) — The percentage of the payment amount that will be charged as a fee. For example, if the fee is 2.5%, set this to 2.5. - `type`: `flat` - `amount` (double, required) — The flat amount that will be charged as a fee. For example, if the fee is $2.50, set this to 2.5. - `type`: `default` - `CHECK_PRINT` (object, optional) — The fee for the check print rail. - `type`: `percentage` - `amount` (double, required) — The percentage of the payment amount that will be charged as a fee. For example, if the fee is 2.5%, set this to 2.5. - `type`: `flat` - `amount` (double, required) — The flat amount that will be charged as a fee. For example, if the fee is $2.50, set this to 2.5. - `type`: `default` - `CHECK_MAIL` (object, optional) — The fee for the check mail rail. - `type`: `percentage` - `amount` (double, required) — The percentage of the payment amount that will be charged as a fee. For example, if the fee is 2.5%, set this to 2.5. - `type`: `flat` - `amount` (double, required) — The flat amount that will be charged as a fee. For example, if the fee is $2.50, set this to 2.5. - `type`: `default` - `CHECK_MAIL_PRIORITY` (object, optional) — The fee for the check mail priority rail. - `type`: `percentage` - `amount` (double, required) — The percentage of the payment amount that will be charged as a fee. For example, if the fee is 2.5%, set this to 2.5. - `type`: `flat` - `amount` (double, required) — The flat amount that will be charged as a fee. For example, if the fee is $2.50, set this to 2.5. - `type`: `default` - `CHECK_MAIL_UPS_NEXT_DAY` (object, optional) — The fee for the check mail UPS next day rail. - `type`: `percentage` - `amount` (double, required) — The percentage of the payment amount that will be charged as a fee. For example, if the fee is 2.5%, set this to 2.5. - `type`: `flat` - `amount` (double, required) — The flat amount that will be charged as a fee. For example, if the fee is $2.50, set this to 2.5. - `type`: `default` - `receivable` (object, optional) — When the entity creating the invoice is the payee, these fees will be applied to the transaction. - `source` (object, optional) — Fees to be applied to the source of the transaction. - `ACH_STANDARD` (object, optional) — The fee for the ACH standard rail. - `type`: `percentage` - `amount` (double, required) — The percentage of the payment amount that will be charged as a fee. For example, if the fee is 2.5%, set this to 2.5. - `type`: `flat` - `amount` (double, required) — The flat amount that will be charged as a fee. For example, if the fee is $2.50, set this to 2.5. - `type`: `default` - `ACH_SAME_DAY` (object, optional) — The fee for the ACH same day rail. - `type`: `percentage` - `amount` (double, required) — The percentage of the payment amount that will be charged as a fee. For example, if the fee is 2.5%, set this to 2.5. - `type`: `flat` - `amount` (double, required) — The flat amount that will be charged as a fee. For example, if the fee is $2.50, set this to 2.5. - `type`: `default` - `CHECK_PRINT` (object, optional) — The fee for the check print rail. - `type`: `percentage` - `amount` (double, required) — The percentage of the payment amount that will be charged as a fee. For example, if the fee is 2.5%, set this to 2.5. - `type`: `flat` - `amount` (double, required) — The flat amount that will be charged as a fee. For example, if the fee is $2.50, set this to 2.5. - `type`: `default` - `CHECK_MAIL` (object, optional) — The fee for the check mail rail. - `type`: `percentage` - `amount` (double, required) — The percentage of the payment amount that will be charged as a fee. For example, if the fee is 2.5%, set this to 2.5. - `type`: `flat` - `amount` (double, required) — The flat amount that will be charged as a fee. For example, if the fee is $2.50, set this to 2.5. - `type`: `default` - `CHECK_MAIL_PRIORITY` (object, optional) — The fee for the check mail priority rail. - `type`: `percentage` - `amount` (double, required) — The percentage of the payment amount that will be charged as a fee. For example, if the fee is 2.5%, set this to 2.5. - `type`: `flat` - `amount` (double, required) — The flat amount that will be charged as a fee. For example, if the fee is $2.50, set this to 2.5. - `type`: `default` - `CHECK_MAIL_UPS_NEXT_DAY` (object, optional) — The fee for the check mail UPS next day rail. - `type`: `percentage` - `amount` (double, required) — The percentage of the payment amount that will be charged as a fee. For example, if the fee is 2.5%, set this to 2.5. - `type`: `flat` - `amount` (double, required) — The flat amount that will be charged as a fee. For example, if the fee is $2.50, set this to 2.5. - `type`: `default` - `destination` (object, optional) — Fees to be applied to the destination of the transaction. - `ACH_STANDARD` (object, optional) — The fee for the ACH standard rail. - `type`: `percentage` - `amount` (double, required) — The percentage of the payment amount that will be charged as a fee. For example, if the fee is 2.5%, set this to 2.5. - `type`: `flat` - `amount` (double, required) — The flat amount that will be charged as a fee. For example, if the fee is $2.50, set this to 2.5. - `type`: `default` - `ACH_SAME_DAY` (object, optional) — The fee for the ACH same day rail. - `type`: `percentage` - `amount` (double, required) — The percentage of the payment amount that will be charged as a fee. For example, if the fee is 2.5%, set this to 2.5. - `type`: `flat` - `amount` (double, required) — The flat amount that will be charged as a fee. For example, if the fee is $2.50, set this to 2.5. - `type`: `default` - `CHECK_PRINT` (object, optional) — The fee for the check print rail. - `type`: `percentage` - `amount` (double, required) — The percentage of the payment amount that will be charged as a fee. For example, if the fee is 2.5%, set this to 2.5. - `type`: `flat` - `amount` (double, required) — The flat amount that will be charged as a fee. For example, if the fee is $2.50, set this to 2.5. - `type`: `default` - `CHECK_MAIL` (object, optional) — The fee for the check mail rail. - `type`: `percentage` - `amount` (double, required) — The percentage of the payment amount that will be charged as a fee. For example, if the fee is 2.5%, set this to 2.5. - `type`: `flat` - `amount` (double, required) — The flat amount that will be charged as a fee. For example, if the fee is $2.50, set this to 2.5. - `type`: `default` - `CHECK_MAIL_PRIORITY` (object, optional) — The fee for the check mail priority rail. - `type`: `percentage` - `amount` (double, required) — The percentage of the payment amount that will be charged as a fee. For example, if the fee is 2.5%, set this to 2.5. - `type`: `flat` - `amount` (double, required) — The flat amount that will be charged as a fee. For example, if the fee is $2.50, set this to 2.5. - `type`: `default` - `CHECK_MAIL_UPS_NEXT_DAY` (object, optional) — The fee for the check mail UPS next day rail. - `type`: `percentage` - `amount` (double, required) — The percentage of the payment amount that will be charged as a fee. For example, if the fee is 2.5%, set this to 2.5. - `type`: `flat` - `amount` (double, required) — The flat amount that will be charged as a fee. For example, if the fee is $2.50, set this to 2.5. - `type`: `default` - `rolePermissions` (map from string to list of enum, required) - 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` ## 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 { "metadata": [ { "key": "my_custom_field", "disabled": true }, { "key": "my_other_field", "disabled": false } ], "paymentSource": [ { "type": "bankAccount", "disabled": true, "defaultDeliveryMethod": "ACH_SAME_DAY" }, { "type": "custom", "disabled": true, "schemaId": "cpms_7df2974a-4069-454c-912f-7e58ebe030fb" } ], "backupDisbursement": [ { "type": "check", "disabled": true, "defaultDeliveryMethod": "MAIL", "printDescription": true } ], "paymentDestination": [ { "type": "bankAccount", "disabled": true, "defaultDeliveryMethod": "ACH_SAME_DAY" }, { "type": "check", "disabled": true, "defaultDeliveryMethod": "MAIL", "printDescription": true } ], "ocr": { "lineItems": true, "collapseLineItems": true, "invoiceMetadata": true, "lineItemMetadata": true, "lineItemGlAccountId": true, "predictMetadata": true, "taxAndShippingAsLineItems": true, "splitDocuments": true }, "notifications": { "assumeRole": "admin" }, "workflow": { "autoAdvanceInvoiceStatus": true }, "invoice": { "hideAddress": false, "hideQrCode": false, "hideBankDetails": false, "hidePaymentLink": false }, "fees": { "payable": { "source": { "ACH_STANDARD": { "type": "flat", "amount": 2.5 }, "ACH_SAME_DAY": { "type": "percentage", "amount": 2.5 }, "CHECK_PRINT": { "type": "flat", "amount": 2.5 }, "CHECK_MAIL": { "type": "flat", "amount": 2.5 }, "CHECK_MAIL_PRIORITY": { "type": "flat", "amount": 2.5 }, "CHECK_MAIL_UPS_NEXT_DAY": { "type": "flat", "amount": 2.5 } }, "destination": { "ACH_STANDARD": { "type": "flat", "amount": 2.5 }, "ACH_SAME_DAY": { "type": "percentage", "amount": 2.5 }, "CHECK_PRINT": { "type": "flat", "amount": 2.5 }, "CHECK_MAIL": { "type": "flat", "amount": 2.5 }, "CHECK_MAIL_PRIORITY": { "type": "flat", "amount": 2.5 }, "CHECK_MAIL_UPS_NEXT_DAY": { "type": "flat", "amount": 2.5 } } }, "receivable": { "source": { "ACH_STANDARD": { "type": "flat", "amount": 2.5 }, "ACH_SAME_DAY": { "type": "percentage", "amount": 2.5 }, "CHECK_PRINT": { "type": "flat", "amount": 2.5 }, "CHECK_MAIL": { "type": "flat", "amount": 2.5 }, "CHECK_MAIL_PRIORITY": { "type": "flat", "amount": 2.5 }, "CHECK_MAIL_UPS_NEXT_DAY": { "type": "flat", "amount": 2.5 } }, "destination": { "ACH_STANDARD": { "type": "flat", "amount": 2.5 }, "ACH_SAME_DAY": { "type": "percentage", "amount": 2.5 }, "CHECK_PRINT": { "type": "flat", "amount": 2.5 }, "CHECK_MAIL": { "type": "flat", "amount": 2.5 }, "CHECK_MAIL_PRIORITY": { "type": "flat", "amount": 2.5 }, "CHECK_MAIL_UPS_NEXT_DAY": { "type": "flat", "amount": 2.5 } } } }, "rolePermissions": { "admin": [ "invoice.all", "paymentMethod.all" ] } } ``` **SDK Code** ```python Default import requests url = "https://api.mercoa.com/entity/ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced/customization" headers = {"Authorization": "Bearer "} response = requests.get(url, headers=headers) print(response.json()) ``` ```typescript Default import { MercoaClient } from "@mercoa/javascript"; const client = new MercoaClient({ token: "YOUR_TOKEN" }); await client.entity.customization.get("ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced"); ``` ```go Default package main import ( "fmt" "net/http" "io" ) func main() { url := "https://api.mercoa.com/entity/ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced/customization" 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 Default require 'uri' require 'net/http' url = URI("https://api.mercoa.com/entity/ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced/customization") 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 Default import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; HttpResponse response = Unirest.get("https://api.mercoa.com/entity/ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced/customization") .header("Authorization", "Bearer ") .asString(); ``` ```php Default request('GET', 'https://api.mercoa.com/entity/ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced/customization', [ 'headers' => [ 'Authorization' => 'Bearer ', ], ]); echo $response->getBody(); ``` ```csharp Default using RestSharp; var client = new RestClient("https://api.mercoa.com/entity/ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced/customization"); var request = new RestRequest(Method.GET); request.AddHeader("Authorization", "Bearer "); IRestResponse response = client.Execute(request); ``` ```swift Default import Foundation let headers = ["Authorization": "Bearer "] let request = NSMutableURLRequest(url: NSURL(string: "https://api.mercoa.com/entity/ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced/customization")! 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() ```