Send funds
How to send orchestrated account-to-account payments which include FX
const bodyJSON = {
variables: {
input: {
fromCurrency: "AUD",
toCurrency: "GBP",
size: 1000,
currency: "AUD",
reason: "BUSINESS",
sourceOfFunds: "BUSINESS_FUNDS",
externalReference: "my ref 221b",
sender: {
companyName: "Acme AU Ltd",
address: {
street: "1 Hay St SYDNEY NSW 2000",
country: "AU",
},
},
recipient: {
iban: "GB33BARC20001234567890",
companyName: "Acme GB Ltd",
currency: "GBP",
accountIdType: "IBAN",
address: {
street: "1 Main St LONDON SW1A 1AA",
country: "GB",
},
},
externalId: "12344321",
idempotencyKey: "12344321",
},
},
query: `
mutation ($input: PaymentInput!) {
createPayment(input: $input) {
success code message
payment {
id status size
}
}
}`,
};Recipient - recipient object or recipientId
recipient object or recipientIdSender - sender object, senderId, subClientId , or neither
sender object, senderId, subClientId , or neitherCallback (aka Webhook) URI
Last updated
Was this helpful?