Query deposits
Query all deposits
const bodyJSON = {
variables: {
input: {
},
},
query: `
query ($input: DepositQueryInput!) {
deposits(input: $input) {
id amount currency status statusMessage externalId externalReference
subClient {
id fullName status clientType
}
createdAt
}
}`,
};
Query deposit by ID
const bodyJSON = {
variables:{
input: "6053d4e0e3bc655e0598a742",
},
query: `
query ($input: ID) {
deposit(id: $input) {
id
amount currency status statusMessage externalId externalReference createdAt
}
}`,
};
Last updated
Was this helpful?