List funding instructions

> Important: You can return a list of funding instructions from only the previous two years. If you want to view a funding instruction from more than two years ago and you have its instructionId, use our [Retrieve Funding Instruction](https://docs.payroc.com/api/schema/funding/funding-instructions/retrieve) method. Use this method to return a [paginated](https://docs.payroc.com/api/pagination) list of funding instructions within a specific date range. **Note:** If you want to view the details of a specific funding instruction and you have its instructionId, use our [Retrieve Funding Instruction](https://docs.payroc.com/api/schema/funding/funding-instructions/retrieve) method. Our gateway returns the following information for each instruction in the list: - Status of the funding instruction. - Funding information, including which merchant's funding balance we distribute and the funding account that we send the balance to. For each funding instruction, we also return the instructionId, which you can use to perform follow-on actions.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query Parameters

beforestringOptional

Return the previous page of results before the value that you specify.

You can’t send the before parameter in the same request as the after parameter.

afterstringOptional

Return the next page of results after the value that you specify.

You can’t send the after parameter in the same request as the before parameter.

limitintegerOptional<=100Defaults to 10
Limit the maximum number of results that we return for each page.
dateFromdateRequired

Filter by funding instructions sent after a specific date. Send a value in YYYY-MM-DD format.

dateTodateRequired

Filter by funding instructions sent before a specific date. Send a value in YYYY-MM-DD format.

Response

Successful request. Returns a list of funding instructions.
datalist of objects
Array of fundingInstruction objects.
countdouble or null

Number of results we returned on this page.

Note: This might not be the total number of results that match your query.

hasMoreboolean or null
Indicates whether there is another page of results available.
limitdouble or null
Maximum number of results that we return for each page.

Errors