blopez2010 / graphql_livestock_auction_web

1 stars 0 forks source link

As a user, I would like to update a transaction to process a payment. #10

Open blopez2010 opened 4 years ago

blopez2010 commented 4 years ago

Add an option within the row to process transaction payment.

The payload for the request should be:

mutation payTransaction(
  $id: String!, 
  $paymentDate: Date!, 
  $paymentMethod: PaymentMethods!, 
  $paymentReference: String) {
  payTransaction (id:$id, input: {
    paymentDate:$paymentDate,
    paymentMethod:$paymentMethod,
    paymentReference:$paymentReference
  }) {
    id
  }
}
blopez2010 commented 4 years ago

This feature depends on https://github.com/blopez2010/graphql_livestock_auction_web/issues/9 ticket