accountPaymentById
Query a payment for an account by id.
Arguments
Returns
OEGBAccountPaymentTypeExamples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
query AccountPaymentById(
$accountNumber: String!,
$paymentId: ID!
) {
accountPaymentById(
accountNumber: $accountNumber,
paymentId: $paymentId
) {
amount
id
isAmendable
isCancelled
paymentDate
}
}
Variables
{
"accountNumber": "A-7B04B2E4",
"paymentId": "98791514"
}
Response
{
"data": {
"accountPaymentById": {
"amount": 73,
"id": "14865364",
"isAmendable": true,
"isCancelled": true,
"paymentDate": "1990-11-13"
}
}
}