diff --git a/bruno/collections/Rafiki/Rafiki Admin APIs/Cancel Outgoing Payment.bru b/bruno/collections/Rafiki/Rafiki Admin APIs/Cancel Outgoing Payment.bru new file mode 100644 index 0000000000..c1ae36e746 --- /dev/null +++ b/bruno/collections/Rafiki/Rafiki Admin APIs/Cancel Outgoing Payment.bru @@ -0,0 +1,30 @@ +meta { + name: Cancel Outgoing Payment + type: graphql + seq: 43 +} + +post { + url: {{RafikiGraphqlHost}}/graphql + body: graphql + auth: none +} + +body:graphql { + mutation CancelOutgoingPayment($input: CancelOutgoingPaymentInput!) { + cancelOutgoingPayment(input: $input) { + code + message + success + } + } +} + +body:graphql:vars { + { + "input": { + "id": "{{outgoingPaymentId}}", + "reason": "Not enough balance" + } + } +}