Interface PaymentRestAPI


  • public interface PaymentRestAPI
    • Method Detail

      • getPaymentStatusById

        @GetMapping("/{paymentId}/status")
        org.springframework.http.ResponseEntity<TransactionStatusTO> getPaymentStatusById​(@PathVariable("paymentId")
                                                                                          String paymentId)
      • getPaymentById

        @GetMapping("/{paymentId}")
        org.springframework.http.ResponseEntity<PaymentTO> getPaymentById​(@PathVariable(name="paymentId")
                                                                          String paymentId)
      • getPendingPeriodicPayments

        @GetMapping("/pending/periodic")
        org.springframework.http.ResponseEntity<List<PaymentTO>> getPendingPeriodicPayments()
      • getPendingPeriodicPaymentsPaged

        @GetMapping("/pending/periodic/paged")
        org.springframework.http.ResponseEntity<CustomPageImpl<PaymentTO>> getPendingPeriodicPaymentsPaged​(@RequestParam("page")
                                                                                                           int page,
                                                                                                           @RequestParam("size")
                                                                                                           int size)
      • initiatePayment

        @PostMapping(params="paymentType")
        org.springframework.http.ResponseEntity<SCAPaymentResponseTO> initiatePayment​(@RequestParam("paymentType")
                                                                                      PaymentTypeTO paymentType,
                                                                                      @RequestBody
                                                                                      PaymentTO payment)
      • executePayment

        @PostMapping("/{paymentId}/execution")
        org.springframework.http.ResponseEntity<SCAPaymentResponseTO> executePayment​(@PathVariable("paymentId")
                                                                                     String paymentId)
      • initiatePmtCancellation

        @PostMapping("/{paymentId}/cancellation-authorisations")
        org.springframework.http.ResponseEntity<SCAPaymentResponseTO> initiatePmtCancellation​(@PathVariable("paymentId")
                                                                                              String paymentId)
      • executeCancelPayment

        @PostMapping("/{paymentId}/cancellation-authorisations/execute")
        org.springframework.http.ResponseEntity<SCAPaymentResponseTO> executeCancelPayment​(@PathVariable("paymentId")
                                                                                           String paymentId)