Senders
CRUD queries for your payment senders
We are legally obliged to collect the actual sender details. Please, do not send us an intermediate organisation details such as exchanges, banks, gateways, etc.
If you want to receive funds from yourself then please provide your own details. See the DOCS in Playground for other sender details options.
sender
andsenders
queries - read your address book.createSender
- creates a new record in the Flash Payments database.updateSender
- updates an existing sender.deleteSender
- deletes an existing sender.
Query single sender
{
sender(id: "59f2733f2519e236edab0efe") {
email
firstName
lastName
companyName
address {
country
}
}
}
Query multiple senders
{
senders(input: { email: "[email protected]" }) {
email
firstName
lastName
companyName
address {
country
}
# there are other properties
}
}
Create a sender
mutation {
createSender(
input: {
firstName: "Malcolm"
lastName: "Jez"
dob: "2000-01-01"
email: "[email protected]"
mobile: "+61 4123456789"
address: {
street: "1 Test St"
suburb: "London"
state: "TST"
country: GB
postcode: "2000"
}
idDoc: {
type: passport
docNumber: "GB1234321"
issuer: "His Majesty’s Passport Office (HMPO)"
issueDate: "1990-01-01"
expiryDate: "2045-01-01"
country: GB
}
}
) {
success
code
message
sender {
id
nickName
# there are many other properties
}
}
}
Update sender
mutation {
updateSender(
id: "5ca18312ace1db0af5784826"
input: {
firstName: "Malcolm"
lastName: "Jez The Seconds"
dob: "2000-01-01"
email: "[email protected]"
mobile: "+61 4123456789"
address: {
street: "1 Test St"
suburb: "London"
state: "TST"
country: GB
postcode: "2001"
}
idDoc: {
type: passport
docNumber: "GB1234321"
issuer: "His Majesty’s Passport Office (HMPO)"
issueDate: "1990-01-01"
expiryDate: "2045-01-01"
country: GB
}
}
) {
success
code
message
sender {
id
# there are many other properties
}
}
}
Delete sender
mutation {
deleteSender(id: "5ca18d25ace1db0af5784893") {
success code message
}
}
Last updated
Was this helpful?