Interface PisCommonPaymentApi


  • @RequestMapping(path="api/v1/pis/common-payments")
    public interface PisCommonPaymentApi
    • Method Detail

      • createCommonPayment

        @PostMapping(path="/")
        org.springframework.http.ResponseEntity<de.adorsys.psd2.consent.api.pis.CreatePisCommonPaymentResponse> createCommonPayment​(@RequestBody
                                                                                                                                    PisPaymentInfo request)
      • getPisCommonPaymentStatusById

        @GetMapping(path="/{payment-id}/status")
        org.springframework.http.ResponseEntity<PisCommonPaymentDataStatusResponse> getPisCommonPaymentStatusById​(@PathVariable("payment-id")
                                                                                                                  String paymentId)
      • getCommonPaymentById

        @GetMapping(path="/{payment-id}")
        org.springframework.http.ResponseEntity<PisCommonPaymentResponse> getCommonPaymentById​(@PathVariable("payment-id")
                                                                                               String paymentId)
      • updateCommonPaymentStatus

        @PutMapping(path="/{payment-id}/status/{status}")
        org.springframework.http.ResponseEntity<Void> updateCommonPaymentStatus​(@PathVariable("payment-id")
                                                                                String paymentId,
                                                                                @PathVariable("status")
                                                                                String status)
      • createAuthorisationCancellation

        @PostMapping(path="/{payment-id}/cancellation-authorisations")
        org.springframework.http.ResponseEntity<CreateAuthorisationResponse> createAuthorisationCancellation​(@PathVariable("payment-id")
                                                                                                             String paymentId,
                                                                                                             @RequestBody
                                                                                                             CreateAuthorisationRequest request)
      • updateAuthorisation

        @PutMapping(path="/authorisations/{authorisation-id}")
        org.springframework.http.ResponseEntity<de.adorsys.psd2.xs2a.core.authorisation.Authorisation> updateAuthorisation​(@PathVariable("authorisation-id")
                                                                                                                           String authorisationId,
                                                                                                                           @RequestBody
                                                                                                                           UpdateAuthorisationRequest request)
      • updateAuthorisationStatus

        @PutMapping(path="authorisations/{authorisation-id}/status/{status}")
        org.springframework.http.ResponseEntity<Void> updateAuthorisationStatus​(@PathVariable("authorisation-id")
                                                                                String authorisationId,
                                                                                @PathVariable("status")
                                                                                String authorisationStatus)
      • getAuthorisation

        @GetMapping(path="/authorisations/{authorisation-id}")
        org.springframework.http.ResponseEntity<de.adorsys.psd2.xs2a.core.authorisation.Authorisation> getAuthorisation​(@PathVariable("authorisation-id")
                                                                                                                        String authorisationId)
      • getAuthorisationScaStatus

        @GetMapping(path="/{payment-id}/authorisations/{authorisation-id}/status")
        org.springframework.http.ResponseEntity<de.adorsys.psd2.xs2a.core.sca.ScaStatus> getAuthorisationScaStatus​(@PathVariable("payment-id")
                                                                                                                   String paymentId,
                                                                                                                   @PathVariable("authorisation-id")
                                                                                                                   String authorisationId)
      • updateCancellationAuthorisation

        @PutMapping(path="/cancellation-authorisations/{authorisation-id}")
        org.springframework.http.ResponseEntity<de.adorsys.psd2.xs2a.core.authorisation.Authorisation> updateCancellationAuthorisation​(@PathVariable("authorisation-id")
                                                                                                                                       String authorisationId,
                                                                                                                                       @RequestBody
                                                                                                                                       UpdateAuthorisationRequest request)
      • getAuthorisationCancellation

        @GetMapping(path="/cancellation-authorisations/{authorisation-id}")
        org.springframework.http.ResponseEntity<List<String>> getAuthorisationCancellation​(@PathVariable("authorisation-id")
                                                                                           String authorisationId)
      • getAuthorisationsCancellation

        @GetMapping(path="/{payment-id}/cancellation-authorisations")
        org.springframework.http.ResponseEntity<List<String>> getAuthorisationsCancellation​(@PathVariable("payment-id")
                                                                                            String paymentId)
      • getCancellationAuthorisationScaStatus

        @GetMapping(path="/{payment-id}/cancellation-authorisations/{authorisation-id}/status")
        org.springframework.http.ResponseEntity<de.adorsys.psd2.xs2a.core.sca.ScaStatus> getCancellationAuthorisationScaStatus​(@PathVariable("payment-id")
                                                                                                                               String paymentId,
                                                                                                                               @PathVariable("authorisation-id")
                                                                                                                               String authorisationId)
      • getAuthorisations

        @GetMapping(path="/{payment-id}/authorisations")
        org.springframework.http.ResponseEntity<List<String>> getAuthorisations​(@PathVariable("payment-id")
                                                                                String paymentId)
      • isAuthenticationMethodDecoupled

        @GetMapping(path="/authorisations/{authorisation-id}/authentication-methods/{authentication-method-id}")
        org.springframework.http.ResponseEntity<Boolean> isAuthenticationMethodDecoupled​(@PathVariable("authorisation-id")
                                                                                         String authorisationId,
                                                                                         @PathVariable("authentication-method-id")
                                                                                         String authenticationMethodId)
      • saveAuthenticationMethods

        @PostMapping(path="/authorisations/{authorisation-id}/authentication-methods")
        org.springframework.http.ResponseEntity<Void> saveAuthenticationMethods​(@PathVariable("authorisation-id")
                                                                                String authorisationId,
                                                                                @RequestBody
                                                                                List<CmsScaMethod> methods)
      • updateScaApproach

        @PutMapping(path="/authorisations/{authorisation-id}/sca-approach/{sca-approach}")
        org.springframework.http.ResponseEntity<Boolean> updateScaApproach​(@PathVariable("authorisation-id")
                                                                           String authorisationId,
                                                                           @PathVariable("sca-approach")
                                                                           de.adorsys.psd2.xs2a.core.profile.ScaApproach scaApproach)
      • getAuthorisationScaApproach

        @GetMapping(path="/authorisations/{authorisation-id}/sca-approach")
        org.springframework.http.ResponseEntity<de.adorsys.psd2.xs2a.core.sca.AuthorisationScaApproachResponse> getAuthorisationScaApproach​(@PathVariable("authorisation-id")
                                                                                                                                            String authorisationId)
      • getCancellationAuthorisationScaApproach

        @GetMapping(path="/cancellation-authorisations/{authorisation-id}/sca-approach")
        org.springframework.http.ResponseEntity<de.adorsys.psd2.xs2a.core.sca.AuthorisationScaApproachResponse> getCancellationAuthorisationScaApproach​(@PathVariable("authorisation-id")
                                                                                                                                                        String authorisationId)
      • updateMultilevelScaRequired

        @PutMapping(path="/{payment-id}/multilevel-sca")
        org.springframework.http.ResponseEntity<Boolean> updateMultilevelScaRequired​(@PathVariable(name="payment-id")
                                                                                     String paymentId,
                                                                                     @RequestParam(value="multilevel-sca",defaultValue="false")
                                                                                     boolean multilevelSca)