POST
/async-passthrough

https://api.merge.dev/api/accounting/v1/async-passthrough

US
EU
APAC

Asynchronously pull data from an endpoint not currently supported by Merge.


Body Parameters

methodEnum
Required
Must pass in one of the following choices: GET, OPTIONS, HEAD, POST, PUT, PATCH, DELETE.

pathString
Required
The path of the request in the third party's platform.

base_url_overrideString
Optional
An optional override of the third party's base url for the request.

dataString
Optional
The data with the request. You must include a request_format parameter matching the data's format

multipart_form_dataArray
Optional
Pass an array of MultipartFormField objects in here instead of using the data param if request_format is set to MULTIPART.
The object
The MultipartFormField object is used to represent fields in an HTTP request using multipart/form-data.
Properties

nameString
Required
The name of the form field

dataString
Required
The data for the form field.

encodingEnum
Optional
The encoding of the value of data. Defaults to RAW if not defined. Possible values include: RAW, BASE64, GZIP_BASE64. In cases where there is no clear mapping, the original value passed through will be returned.

file_nameString
Optional
The file name of the form field, if the field is for a file.

content_typeString
Optional
The MIME type of the file, if the field is for a file.

headersObject
Optional
The headers to use for the request (Merge will handle the account's authorization headers). Content-Type header is required for passthrough. Choose content type corresponding to expected format of receiving server.

request_formatEnum
Optional
Must pass in one of the following choices: JSON, XML, MULTIPART.

normalize_responseBoolean
Required
Optional. If true, the response will always be an object of the form {"type": T, "value": ...} where T will be one of string, boolean, number, null, array, object.

GET
/async-passthrough/{async_passthrough_receipt_id}

https://api.merge.dev/api/accounting/v1/async-passthrough/{async_passthrough_receipt_id}

US
EU
APAC

Retrieves data from earlier async-passthrough POST request


Query & Path Parameters

async_passthrough_receipt_idUUID
Required