For the complete documentation index, see llms.txt. This page is also available as Markdown.

Recipients

CRUD queries for your payment recipients

We are legally obliged to collect the actual recipient details. Please, do not send us the details of an intermediate organisation such as an exchange, bank or gateway.

Please, send us the final funds recipient. If sending to self then please provide your own details. See the DOCS in Playground for other recipient details options.

  • recipient and recipients queries - read your address book.

  • createRecipient - creates a new record in the Flash Payments database.

  • updateRecipient - updates an existing recipient.

  • deleteRecipient - deletes an existing recipient.

Query a single recipient

const bodyJSON = {
  variables: {
    input: "6b04c62ec0bf606bf216ae21",
  },
  query: `
query ($input: ID) {
  recipient(id: $input) {
    accountIdType currency country email
  }
}`,
};
query($input: ID) {
  recipient(id: $input) {
    accountIdType
    currency
    country
    email
    # there are many other properties
  }
}
{
  "input": "6b04c62ec0bf606bf216ae21"
}

Query multiple recipients

Create a recipient

In addresses the suburb field is an Australian suburb. For other countries you should put the city (e.g. Manila or London) or any other small administrative area name.

If you find it technically challenging to submit all components of the recipient’s address, we would appreciate it if you could at least collect the recipient’s country along with a complete address string that includes the postcode and put them into the country and street fields, respectively. In this case, you can skip the postcode, suburb, and state fields, and the recipient record will still be created.

Please note that the street field is mandatory for Australian addresses.

Create an Individual recipient

Create a Company recipient

A company recipient can also carry an optional orgType, its legal structure: COMPANY, TRUST, PARTNERSHIP or SOLE_TRADER. When sent, companyName is required. For a SOLE_TRADER, companyName is the person's own full name. The value is returned on the Recipient, including the recipient copy inside a Withdrawal or Payment. The values are the same as for sub-clients.

Update recipient

Please note the recipient’s accountIdType can’t be changed.

orgType can be set or changed on update, send it together with companyName.

Delete recipient

Last updated

Was this helpful?