Skip to content

Get Payout Instructions

Request

Retrieves a paginated list of payout instructions, optionally filtered by distribution id(s), status(es), external id, email, phone number, creation-date range, the upload batch that created them (batchId), or a tag. A payout instruction represents an intention to pay a specific amount of money to a beneficiary and is associated with exactly one distribution. Filters of different kinds combine with AND. Multiple statuses (statuses) or distributions (distributionIds) may be supplied either as repeated query parameters or as a single comma-separated value, and match any of the listed values; each status must be a defined status name (numeric or unknown values are rejected with 400) and each distribution id a valid guid. Supplying both a singular filter and its plural form (status + statuses, or distributionId + distributionIds) is rejected. fromDate and toDate bound the payout instruction's creation date (UTC, inclusive on both ends); fromDate must not be after toDate. The phone number filter matches the beneficiary's number exactly after normalization, so common US formats all match the same record (for example '+15551234567', '15551234567', or '(555) 123-4567'); a number written in full international form (a leading '+' followed by its country code) matches too, but its '+' must be percent-encoded as '%2B' -- an unencoded '+' decodes to a space and is only reliable for US-length numbers. The email filter matches on the beginning of the address rather than the whole of it, so a partial address (for example 'john') matches every address starting with it, and a full address matches that beneficiary plus any address that extends it. Any characters in the term, including '%', '_' and '', are matched literally rather than as wildcards. The tag filter matches exactly: tagKey together with tagValue returns the instructions that carry that exact key-value pair, while tagKey alone returns the instructions that carry the key with any value. tagValue without tagKey is rejected with 400. The tag filter combines with all the other filters. Results are returned by creation date, newest first, with the instruction id breaking ties.

Security
oauth2(Required scopes: payoutInstructions:view)
Query
distributionIdstring, (uuid)
statusstring
Enum:"Draft""Ready""PushInitiated""Initiated""InitiationFailed""PayoutMethodSelected""Requested""Restored""Reinitiated""ExpiryRequested"
externalIdstring
emailstring
pageNumberinteger, (int32)required
pageSizeinteger, (int32), [ 1 .. 100 ]required
batchIdstring, (uuid)
tagKeystring
tagValuestring
statusesArray of strings
Items Enum:"Draft""Ready""PushInitiated""Initiated""InitiationFailed""PayoutMethodSelected""Requested""Restored""Reinitiated""ExpiryRequested"
distributionIdsArray of strings, (uuid)
phoneNumberstring
fromDatestring, (date)
toDatestring, (date)
curl -i -X GET \
  'https://docs.talli.ai/_mock/referencev3/swagger/v3/distribution-manager/payout-instructions?distributionId=497f6eca-6276-4993-bfeb-53cbbbba6f08&status=Draft&externalId=string&email=string&pageNumber=0&pageSize=1&batchId=497f6eca-6276-4993-bfeb-53cbbbba6f08&tagKey=string&tagValue=string&statuses=Draft&distributionIds=497f6eca-6276-4993-bfeb-53cbbbba6f08&phoneNumber=string&fromDate=2019-08-24&toDate=2019-08-24' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

OK

Bodyapplication/json
pageNumberinteger, (int32)
pageSizeinteger, (int32)
totalPagesinteger, (int32)read-only
totalItemsinteger, (int32)
dataArray of objects(V3PayoutInstructionResponse)
Response
{ "pageNumber": 0, "pageSize": 0, "totalPages": 0, "totalItems": 0, "data": [ { … } ] }