> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://beta-docs.payabli.com/api-reference/boarding/get-boarding-application-by-auth/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://beta-docs.payabli.com/_mcp/server. # Get application via auth token POST https://api-sandbox.payabli.com/api/Boarding/read/{xId} Content-Type: application/json Gets a boarding application by authentication information. This endpoint requires an `application` API token. Reference: https://beta-docs.payabli.com/api-reference/boarding/get-boarding-application-by-auth ## Authentication - `requestToken` header (required) — API Key authentication via header ## Servers - `https://api-sandbox.payabli.com/api` (Sandbox, default) - `https://api.payabli.com/api` (Production) ## Request ### Path parameters - `xId` (string, required) — The application ID in Hex format. Find this at the end of the boarding link URL returned in a call to api/Boarding/applink/\{appId}/\{mail2}. For example in: `https://boarding-sandbox.payabli.com/boarding/externalapp/load/17E`, the xId is `17E`. ### Body (application/json) This endpoint expects an object. - `email` (string, optional) — The email address the applicant used to save the application. - `referenceId` (string, optional) — The referenceId is sent to the applicant via email when they save the application. ## Response ### 200 Success - `annualRevenue` (double, optional) — Annual revenue amount. - `averageMonthlyVolume` (double, optional) — Average total amount of transactions in your local currency that are processed each month. - `averageTicketAmount` (double, optional) — The average transaction size that the business expects to process. For example, if you process $10,000 a month across 10 transactions, that's an average ticket of $1000. - `bAddress1` (string, optional) — Business address. - `bAddress2` (string, optional) — Business address additional line. - `bankData` (list of Bank, optional) — Information about associated bank accounts. - `bCity` (string, optional) — Business city - `bCountry` (string, optional) — Business country in ISO-3166-1 alpha 2 format Check out https://en.wikipedia.org/wiki/ISO_3166-1 for reference - `bFax` (string, optional) — The business's fax number. - `binPerson` (integer, optional) — Numeric percent of volume processed in person. To pass validation, `binperson`, `binweb`, and `binphone` must total 100 together. - `binPhone` (integer, optional) — Numeric percent of volume processed by phone. To pass validation, `binperson`, `binweb`, and `binphone` must total 100 together. - `binWeb` (integer, optional) — Numeric percent of volume processed on web. To pass validation, `binperson`, `binweb`, and `binphone` must total 100 together. - `boardingLinkId` (integer, optional) — The boarding link ID. Can be found at the end of the boarding link reference name. The boarding link reference name. For example `https://boarding.payabli.com/boarding/app/myorgaccountname-00091`. The ID is `91`. - `boardingStatus` (integer, optional) — The application's status in the merchant boarding process. See [Boarding Status Reference](/references/boarding-statuses) for more. - `boardingSubStatus` (integer, optional) — The application's status in the merchant boarding process. See [Boarding Status Reference](/references/boarding-statuses) for more. - `bPhone` (string, optional) — Business phone number. - `bStartdate` (string, optional) — Business start date. Accepted formats: - YYYY-MM-DD - MM/DD/YYYY - `bState` (string, optional) — Business state. - `bSummary` (string, optional) — A summary of what the business sells in terms of goods or services. - `builderData` (BuilderData, optional) - `bZip` (string, optional) — Business ZIP. - `contactData` (list of Contacts, optional) — List of contacts. - `createdAt` (datetime, optional) — Timestamp of when record was created, in UTC. - `dbaName` (string, optional) — The alternate or common name that this business is doing business under usually referred to as a DBA name. - `documentsRef` (BoardingApplicationAttachments, optional) - `ein` (string, optional) — Business EIN or tax ID. This value is masked in API responses, for example `XXXX6789`. - `externalPaypointId` (string, optional) — A custom identifier for the paypoint, if applicable. Like `entrypoint` is the Payabli identifier for the merchant, `externalPaypointId` is a custom field you can use to include the merchant's ID from your own systems. - `generalEvents` (list of GeneralEvents, optional) — Events associated with the application. - `highTicketAmount` (double, optional) — High ticket amount. - `idApplication` (integer, optional) — Boarding application ID. - `lastModified` (datetime, optional) — Timestamp of when record was last updated, in UTC. - `legalName` (string, optional) — Business legal name. - `license` (string, optional) — Business license ID or state ID number. - `licenseState` (string, optional) — Business license issuing state or province. - `logo` (FileContent, optional) — Object containing logo file. - `mAddress1` (string, optional) — The business's mailing address. - `mAddress2` (string, optional) — Additional line for the business's mailing address. - `mccid` (string, optional) - `mCity` (string, optional) — The business's mailing address state. - `mCountry` (string, optional) — Business mailing country. - `mState` (string, optional) — The business's mailing address state. - `mZip` (string, optional) — Business mailing ZIP. - `orgId` (long, optional) — Organization ID. Unique identifier assigned to an org by Payabli. - `orgParentName` (string, optional) — The name of the parent organization. - `ownerData` (list of Owners, optional) — List of Owners with at least a 25% ownership. - `ownType` (enum, optional) — The business ownership type. - Allowed values: `Limited Liability Company`, `Non-Profit Org`, `Partnership`, `Private Corp`, `Public Corp`, `Tax Exempt`, `Government`, `Sole Proprietor` - `pageidentifier` (string, optional) — Auxiliary validation used internally by payment pages and components. - `recipientEmailNotification` (boolean, optional) — When `true`, Payabli will send the applicant a boarding link. Set this value to `false` if you are sending pre-filled applications via the API and don't want Payabli to send the applicant an email to complete the boarding application. - `resumable` (boolean, optional) — When `true`, the applicant can save an incomplete application and resume it later. When `false`, the applicant won't have an option to save their progress, and must complete the application in one session. - `salesCode` (string, optional) - `serviceData` (Services, optional) — Controls which services will be enabled for the merchant. - `signer` (SignerData, optional) — Information about the application's signer. - `taxfillname` (string, optional) — Business name in tax document. This is only relevant if a government entity has given you an alternative name to file tax documents with. - `templateId` (long, optional) — The associated boarding template's ID in Payabli. - `websiteAddress` (string, optional) — The business website address. Include only the domain and TLD, do not enter the protocol (http/https). For example: `www.example.com` is acceptable. - `whencharged` (enum, optional) — Describes when customers are charged for goods or services. Accepted values: - Allowed values: `When Service Provided`, `In Advance` - `whendelivered` (enum, optional) — When goods and services are delivered. - Allowed values: `0-7 Days`, `8-14 Days`, `15-30 Days`, `Over 30 Days` - `whenProvided` (enum, optional) — Describes when goods or services are provided, from time of transaction. - Allowed values: `30 Days or Less`, `31 to 60 Days`, `60+ Days` - `whenrefund` (enum, optional) — Describes the business refund policy. - Allowed values: `Exchange Only`, `No Refund or Exchange`, `More than 30 days`, `30 Days or Less` ## Errors ### 400 Bad Request Error Bad request/ invalid data - `any` ### 401 Unauthorized Error Unauthorized request. - `any` ### 500 Internal Server Error Internal API Error - `any` ### 503 Service Unavailable Error Database connection error - `isSuccess` (boolean, optional) — Boolean indicating whether the operation was successful. A `true` value indicates success. A `false` value indicates failure. - `responseData` (map from string to any, optional) — The object containing the response data. - `responseText` (string, optional) — Response text for operation: 'Success' or 'Declined'. ## Types ### Bank Object that contains bank account details. - `accountNumber` (string, optional) — Masked account number for bank account. - `bankAccountFunction` (integer, optional) — Indicates the function of the bank account: * 0 - Deposits * 1 - Withdrawals * 2 - Deposits & Withdrawals * 3 - Remittances * 4 - Remittances & Deposits * 5 - Remittances & Withdrawals * 6 - Remittances & Withdrawals & Deposits A paypoint is required to have a single deposit and withdrawal account. A Paypoint can have as many remittance accounts as needed for pay outs (remittances). - `bankAccountHolderName` (string, optional) — The accountholder's name. - `bankAccountHolderType` (enum, optional) — Describes whether the bank is a personal or business account. - Allowed values: `Personal`, `Business` - `bankName` (string, optional) — Name of bank for account. - `id` (integer, optional) — The bank's ID in Payabli. - `nickname` (string, optional) — User-defined name for the bank account. - `routingAccount` (string, optional) — Routing number of bank account. - `typeAccount` (enum, optional) — Type of bank account: Checking or Savings. - Allowed values: `Checking`, `Savings` ### BuilderData - `services` (SSection, optional) - `attributes` (ASection, optional) - `banking` (DSection, optional) - `business` (BSection, optional) - `owners` (OSection, optional) - `processing` (PSection, optional) ### Contacts - `contactEmail` (string, optional) — Contact email address. - `contactName` (string, optional) — Contact name. - `contactPhone` (string, optional) — Contact phone number. - `contactTitle` (string, optional) — Contact title. ### BoardingApplicationAttachments - `filelist` (list of PairFiles, optional) — Array of objects describing files contained in zip file. - `zipfile` (string, optional) — Zip file containing attachments. ### GeneralEvents - `description` (string, optional) — Event description. - `eventTime` (datetime, optional) — Event timestamp, in UTC. - `extraData` (map from string to any, optional) — Extra data. - `refData` (string, optional) — Reference data. - `source` (string, optional) — The event source. ### FileContent Contains details about a file. See See [fileObject Object Model](/api-reference/schemas/filecontent) for a complete reference. Max upload size is 30 MB. - `fContent` (string, optional) — Content of file, Base64-encoded Ignored if furl is specified. Max upload size is 30 MB. - `filename` (string, optional) — The name of the attached file. - `ftype` (enum, optional) — The MIME type of the file (if content is provided) - Allowed values: `pdf`, `doc`, `docx`, `jpg`, `jpeg`, `png`, `gif`, `txt` - `furl` (string, optional) — Optional url provided to show or download the file remotely ### Owners - `oaddress` (string, optional) — Owner street address. - `ocity` (string, optional) — Owner address city. - `ocountry` (string, optional) — Owner address country in ISO-3166-1 alpha 2 format Check out https://en.wikipedia.org/wiki/ISO_3166-1 for reference - `odriverstate` (string, optional) — Owner driver's license State. Payabli strongly recommends including this. - `ostate` (string, optional) — Owner address state. - `ownerdob` (string, optional) — Owner's date of birth. - `ownerdriver` (string, optional) — Owner driver's License. Payabli strongly recommends including this. - `owneremail` (string, optional) — Owner email. - `ownername` (string, optional) — Person who is registered as the beneficial owner of the business. This is a combination of first and last name. - `ownerpercent` (integer, optional) — Percentage of ownership the person holds, in integer format. - `ownerphone1` (string, optional) — Owner phone 1. - `ownerphone2` (string, optional) — Owner phone 2. - `ownerssn` (string, optional) — The relevant identifier for the person such as a Social Security Number. - `ownertitle` (string, optional) — The job title of the person such as CEO or director. - `ozip` (string, optional) — Owner address ZIP. ### Services Controls which services will be enabled for the merchant. - `ach` (AchSetup, optional) - `card` (CardSetup, optional) - `odp` (OdpSetup, optional) ### SignerData Information about the application's signer. - `acceptance` (boolean, optional) — The signer's acceptance status. A true or false indicating an acceptance to the terms of service with the root org or provider. - `address` (string, optional) — The signer's address. - `address1` (string, optional) — Additional line for the signer's address. - `city` (string, optional) — The signer's city. - `country` (string, optional) — The signer's country in ISO-3166-1 alpha 2 format. \r\nCheck out https://en.wikipedia.org/wiki/ISO_3166-1 for reference. - `dob` (string, optional) — The signer's date of birth. - `email` (string, optional) — The signer's email address. - `name` (string, optional) — The signer's name. - `phone` (string, optional) — The signer's phone number. - `signedDocumentReference` (string, optional) — Reference to the signed document. - `signerUuid` (string, optional) — The signer's ID. This is automatically generated by Payabli. - `ssn` (string, optional) — The signer's SSN. - `state` (string, optional) — The signer's state. - `zip` (string, optional) — The signer's zip code. ### SSection - `ach` (AchSection, optional) - `card` (CardSection, optional) ### ASection - `minimumDocuments` (integer, optional) - `multipleContacts` (boolean, optional) - `multipleOwners` (boolean, optional) ### DSection - `depositAccount` (Bnk, optional) - `withdrawalAccount` (Bnk, optional) ### BSection - `address` (BAddress, optional) - `details` (BDetails, optional) ### OSection - `contact_list` (CList, optional) - `own_list` (OList, optional) ### PSection - `avgmonthly` (LinkData, optional) - `binperson` (LinkData, optional) - `binphone` (LinkData, optional) - `binweb` (LinkData, optional) - `bsummary` (LinkData, optional) - `highticketamt` (LinkData, optional) - `mcc` (LinkData, optional) - `ticketamt` (LinkData, optional) - `whenCharged` (LinkData, optional) - `whenDelivered` (LinkData, optional) - `whenProvided` (LinkData, optional) - `whenRefunded` (LinkData, optional) ### PairFiles - `originalName` (string, optional) — Original filename - `zipName` (string, optional) — Filename assigned to zipped file. This is the name to use for reference in the API functions to get files in attachments. ### AchSetup - `acceptCCD` (boolean, optional) — CCD is an ACH SEC Code that can be used in ACH transactions by the user that indicates the transaction is a Corporate Credit or Debit Entry. Options are: `true` and `false` - `acceptPPD` (boolean, optional) — PPD is an ACH SEC Code that can be used in ACH transactions by the user that indicates the transaction is a Prearranged Payment and Deposit. - `acceptWeb` (boolean, optional) — Web is an ACH SEC Code that can be used in ACH transactions by the user that indicates the transaction is a Internet Initiated/Mobile Entry Options are `true` and `false`. ### CardSetup - `acceptAmex` (boolean, optional) — Determines whether American Express is accepted. - `acceptDiscover` (boolean, optional) — Determines whether Discover is accepted. - `acceptMastercard` (boolean, optional) — Determines whether Mastercard is accepted. - `acceptVisa` (boolean, optional) — Determines whether Visa is accepted. ### OdpSetup - `allowAch` (boolean, optional) — Enables or disables ACH payout functionality - `allowChecks` (boolean, optional) — Enables or disables check printing payout functionality - `allowVCard` (boolean, optional) — Enables or disables vCard payout functionality - `processing_region` (enum, optional) — Region where payment processing occurs - Allowed values: `US`, `CA` - `processor` (string, optional) — Payment processor identifier - `programId` (string, optional) — Reference ID for the program enabled for ODP issuance ### AchSection - `acceptance` (AchLinkTypes, optional) - `fees` (BasicTable, optional) - `price` (BasicTable, optional) ### CardSection - `acceptance` (CardLinkTypes, optional) - `fees` (BasicTable, optional) - `price` (BasicTable, optional) ### Bnk - `accountNumber` (LinkData, optional) - `bankName` (LinkData, optional) - `routingAccount` (LinkData, optional) - `typeAccount` (LinkData, optional) ### BAddress - `baddress` (LinkData, optional) - `baddress1` (LinkData, optional) - `bcity` (LinkData, optional) - `bcountry` (LinkData, optional) - `bstate` (LinkData, optional) - `bzip` (LinkData, optional) - `maddress` (LinkData, optional) - `maddress1` (LinkData, optional) - `mcity` (LinkData, optional) - `mcountry` (LinkData, optional) - `mstate` (LinkData, optional) - `mzip` (LinkData, optional) ### BDetails - `btype` (LinkData, optional) - `dbaname` (LinkData, optional) - `ein` (LinkData, optional) - `faxnumber` (LinkData, optional) - `legalname` (LinkData, optional) - `license` (LinkData, optional) - `licstate` (LinkData, optional) - `phonenumber` (LinkData, optional) - `startdate` (LinkData, optional) - `taxfillname` (LinkData, optional) - `website` (LinkData, optional) ### CList - `contactEmail` (LinkData, optional) - `contactName` (LinkData, optional) - `contactPhone` (LinkData, optional) - `contactTitle` (LinkData, optional) ### OList - `oaddress` (LinkData, optional) - `ocity` (LinkData, optional) - `ocountry` (LinkData, optional) - `odriverstate` (LinkData, optional) - `ostate` (LinkData, optional) - `ownerdob` (LinkData, optional) - `ownerdriver` (LinkData, optional) - `owneremail` (LinkData, optional) - `ownername` (LinkData, optional) - `ownerpercent` (LinkData, optional) - `ownerphone1` (LinkData, optional) - `ownerphone2` (LinkData, optional) - `ownerssn` (LinkData, optional) - `ownertitle` (LinkData, optional) - `ozip` (LinkData, optional) ### LinkData - `ro` (boolean, optional) — When `true`, the element is read-only. - `rq` (boolean, optional) — When `true`, the element is required. - `validator` (string, optional) — The type of validation applied to the field. Available values: - text - alpha - ein - url - phone - alphanumeric - zipcode - numbers - float - ssn - email - routing - `value` (string, optional) ### AchLinkTypes - `ccd` (LinkData, optional) - `ppd` (LinkData, optional) - `web` (LinkData, optional) ### BasicTable - `body` (list of LinkRow, optional) - `header` (LinkRow, optional) ### CardLinkTypes - `amex` (LinkData, optional) - `discover` (LinkData, optional) - `mastercard` (LinkData, optional) - `visa` (LinkData, optional) ### LinkRow - `columns` (list of LinkData, optional) ## Examples **Request** ```json { "email": "admin@email.com", "referenceId": "n6UCd1f1ygG7" } ``` **Response** ```json { "annualRevenue": 1000, "averageMonthlyVolume": 1000, "averageTicketAmount": 1000, "bAddress1": "123 Walnut Street", "bAddress2": "Suite 103", "bankData": [ { "accountNumber": "1XXXXXX3123", "bankAccountFunction": 0, "bankAccountHolderName": "Gruzya Adventure Outfitters LLC", "bankAccountHolderType": "Personal", "bankName": "Country Bank", "id": 1, "nickname": "Business Checking 1234", "routingAccount": "123123123", "typeAccount": "Checking" } ], "bCity": "New Vegas", "bCountry": "US", "bFax": "5551234567", "binPerson": 60, "binPhone": 20, "binWeb": 20, "boardingLinkId": 91, "boardingStatus": 1, "boardingSubStatus": 1, "bPhone": "5551234567", "bStartdate": "01/01/1990", "bState": "FL", "bSummary": "Brick and mortar store that sells office supplies", "builderData": { "attributes": { "minimumDocuments": 1, "multipleContacts": true, "multipleOwners": true } }, "bZip": "33000", "contactData": [ { "contactEmail": "example@email.com", "contactName": "Herman Martinez", "contactPhone": "3055550000", "contactTitle": "Owner" } ], "createdAt": "2022-07-01T15:00:01Z", "dbaName": "Sunshine Gutters", "documentsRef": { "filelist": [ {} ], "zipfile": "zx45.zip" }, "ein": "123456789", "externalPaypointId": "Paypoint-100", "generalEvents": [ { "description": "TransferCreated", "eventTime": "2023-07-05T22:31:06Z", "extraData": { "key": "value" }, "refData": "refData", "source": "api" } ], "highTicketAmount": 1000, "idApplication": 352, "lastModified": "2022-07-01T15:00:01Z", "legalName": "Sunshine Services, LLC", "license": "2222222FFG", "licenseState": "CA", "logo": { "fContent": "TXkgdGVzdCBmaWxlHJ==...", "filename": "my-doc.pdf", "ftype": "pdf", "furl": "https://mysite.com/my-doc.pdf" }, "mAddress1": "123 Walnut Street", "mAddress2": "STE 900", "mccid": "mccid", "mCity": "TN", "mCountry": "US", "mState": "TN", "mZip": "37615", "orgId": 123, "orgParentName": "PropertyManager Pro", "ownerData": [ { "oaddress": "33 North St", "ocity": "Any City", "ocountry": "US", "odriverstate": "CA", "ostate": "CA", "ownerdob": "01/01/1990", "ownerdriver": "CA6677778", "owneremail": "example@email.com", "ownername": "John Smith", "ownerpercent": 25, "ownerphone1": "555888111", "ownerphone2": "555888111", "ownerssn": "123456789", "ownertitle": "CEO", "ozip": "55555" } ], "ownType": "Limited Liability Company", "pageidentifier": "null", "recipientEmailNotification": true, "resumable": false, "salesCode": "salesCode", "serviceData": { "ach": { "acceptCCD": false, "acceptPPD": false, "acceptWeb": true }, "card": { "acceptAmex": true, "acceptDiscover": false, "acceptMastercard": true, "acceptVisa": true }, "odp": { "allowAch": true, "allowChecks": true, "allowVCard": true, "processing_region": "US", "processor": "tysys", "programId": "programId" } }, "signer": { "acceptance": false, "address": "33 North St", "address1": "STE 900", "city": "Bristol", "country": "US", "dob": "01/01/1990", "email": "example@email.com", "name": "John Smith", "phone": "555888111", "signedDocumentReference": "signedDocumentReference", "signerUuid": "54455d5d-34ff-416c-91e0-5bc87199999", "ssn": "123456789", "state": "TN", "zip": "55555" }, "taxfillname": "Sunshine LLC", "templateId": 22, "websiteAddress": "www.example.com", "whencharged": "When Service Provided", "whendelivered": "0-7 Days", "whenProvided": "30 Days or Less", "whenrefund": "Exchange Only" } ``` **SDK Code** ```python Example import requests url = "https://api-sandbox.payabli.com/api/Boarding/read/17E" payload = { "email": "admin@email.com", "referenceId": "n6UCd1f1ygG7" } headers = { "requestToken": "", "Content-Type": "application/json" } response = requests.post(url, json=payload, headers=headers) print(response.json()) ``` ```javascript Example const url = 'https://api-sandbox.payabli.com/api/Boarding/read/17E'; const options = { method: 'POST', headers: {requestToken: '', 'Content-Type': 'application/json'}, body: '{"email":"admin@email.com","referenceId":"n6UCd1f1ygG7"}' }; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); } ``` ```go Example package main import ( "fmt" "strings" "net/http" "io" ) func main() { url := "https://api-sandbox.payabli.com/api/Boarding/read/17E" payload := strings.NewReader("{\n \"email\": \"admin@email.com\",\n \"referenceId\": \"n6UCd1f1ygG7\"\n}") req, _ := http.NewRequest("POST", url, payload) req.Header.Add("requestToken", "") req.Header.Add("Content-Type", "application/json") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) } ``` ```ruby Example require 'uri' require 'net/http' url = URI("https://api-sandbox.payabli.com/api/Boarding/read/17E") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Post.new(url) request["requestToken"] = '' request["Content-Type"] = 'application/json' request.body = "{\n \"email\": \"admin@email.com\",\n \"referenceId\": \"n6UCd1f1ygG7\"\n}" response = http.request(request) puts response.read_body ``` ```java Example import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; HttpResponse response = Unirest.post("https://api-sandbox.payabli.com/api/Boarding/read/17E") .header("requestToken", "") .header("Content-Type", "application/json") .body("{\n \"email\": \"admin@email.com\",\n \"referenceId\": \"n6UCd1f1ygG7\"\n}") .asString(); ``` ```php Example request('POST', 'https://api-sandbox.payabli.com/api/Boarding/read/17E', [ 'body' => '{ "email": "admin@email.com", "referenceId": "n6UCd1f1ygG7" }', 'headers' => [ 'Content-Type' => 'application/json', 'requestToken' => '', ], ]); echo $response->getBody(); ``` ```csharp Example using RestSharp; var client = new RestClient("https://api-sandbox.payabli.com/api/Boarding/read/17E"); var request = new RestRequest(Method.POST); request.AddHeader("requestToken", ""); request.AddHeader("Content-Type", "application/json"); request.AddParameter("application/json", "{\n \"email\": \"admin@email.com\",\n \"referenceId\": \"n6UCd1f1ygG7\"\n}", ParameterType.RequestBody); IRestResponse response = client.Execute(request); ``` ```swift Example import Foundation let headers = [ "requestToken": "", "Content-Type": "application/json" ] let parameters = [ "email": "admin@email.com", "referenceId": "n6UCd1f1ygG7" ] as [String : Any] let postData = JSONSerialization.data(withJSONObject: parameters, options: []) let request = NSMutableURLRequest(url: NSURL(string: "https://api-sandbox.payabli.com/api/Boarding/read/17E")! as URL, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 10.0) request.httpMethod = "POST" request.allHTTPHeaderFields = headers request.httpBody = postData as Data 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() ``` > If you're a software company, you're a payments company™