Withdraw funds
Send money from your Flash Payments balances to Australian bank accounts or internationally per your approved use case.
const bodyJSON = {
variables: {
input: {
amount: 1000,
currency: "AUD",
sender: {
companyName: "Acme LLC",
address: {
street: "1 Jon St PORTLAND VA 54321",
country: "US",
},
},
recipient: {
bsb: "370370",
accountNo: "123123123",
companyName: "Acme Pty Ltd",
currency: "AUD",
accountIdType: "BSB",
address: {
street: "1 Main St SYDNEY NSW 2000",
country: "AU",
},
},
externalReference: "invoice #1234",
externalId: "12344321",
idempotencyKey: "12344321",
},
},
query: `
β¨mutation ($input: CreateWithdrawalInput!) {
createWithdrawal(input: $input) {
success code message withdrawal {
id status amount currency
}
}
}`,
}; Payment reference - externalReference
externalReferenceRecipient - recipient object or recipientId
recipient object or recipientIdSender - sender object, senderId, subClientId , or neither
sender object, senderId, subClientId , or neitherInstructing Institutions
Using existing institutions instructingInstitutionId
instructingInstitutionIdCreate institutions on the fly using the instructingInstitution field
instructingInstitution fieldCallback (aka Webhook) URI
Last updated
Was this helpful?