Package de.adorsys.psd2.consent.api
Interface PisCommonPaymentApi
-
@RequestMapping(path="api/v1/pis/common-payments") public interface PisCommonPaymentApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<CreateAuthorisationResponse>createAuthorisation(String paymentId, CreateAuthorisationRequest request)org.springframework.http.ResponseEntity<CreateAuthorisationResponse>createAuthorisationCancellation(String paymentId, CreateAuthorisationRequest request)org.springframework.http.ResponseEntity<de.adorsys.psd2.consent.api.pis.CreatePisCommonPaymentResponse>createCommonPayment(PisPaymentInfo request)org.springframework.http.ResponseEntity<de.adorsys.psd2.xs2a.core.authorisation.Authorisation>getAuthorisation(String authorisationId)org.springframework.http.ResponseEntity<List<String>>getAuthorisationCancellation(String authorisationId)org.springframework.http.ResponseEntity<List<String>>getAuthorisations(String paymentId)org.springframework.http.ResponseEntity<de.adorsys.psd2.xs2a.core.sca.AuthorisationScaApproachResponse>getAuthorisationScaApproach(String authorisationId)org.springframework.http.ResponseEntity<List<String>>getAuthorisationsCancellation(String paymentId)org.springframework.http.ResponseEntity<de.adorsys.psd2.xs2a.core.sca.ScaStatus>getAuthorisationScaStatus(String paymentId, String authorisationId)org.springframework.http.ResponseEntity<de.adorsys.psd2.xs2a.core.sca.AuthorisationScaApproachResponse>getCancellationAuthorisationScaApproach(String authorisationId)org.springframework.http.ResponseEntity<de.adorsys.psd2.xs2a.core.sca.ScaStatus>getCancellationAuthorisationScaStatus(String paymentId, String authorisationId)org.springframework.http.ResponseEntity<PisCommonPaymentResponse>getCommonPaymentById(String paymentId)org.springframework.http.ResponseEntity<PisCommonPaymentDataStatusResponse>getPisCommonPaymentStatusById(String paymentId)org.springframework.http.ResponseEntity<Boolean>isAuthenticationMethodDecoupled(String authorisationId, String authenticationMethodId)org.springframework.http.ResponseEntity<Void>saveAuthenticationMethods(String authorisationId, List<CmsScaMethod> methods)org.springframework.http.ResponseEntity<de.adorsys.psd2.xs2a.core.authorisation.Authorisation>updateAuthorisation(String authorisationId, UpdateAuthorisationRequest request)org.springframework.http.ResponseEntity<Void>updateAuthorisationStatus(String authorisationId, String authorisationStatus)org.springframework.http.ResponseEntity<de.adorsys.psd2.xs2a.core.authorisation.Authorisation>updateCancellationAuthorisation(String authorisationId, UpdateAuthorisationRequest request)org.springframework.http.ResponseEntity<Void>updateCommonPaymentStatus(String paymentId, String status)org.springframework.http.ResponseEntity<Boolean>updateMultilevelScaRequired(String paymentId, boolean multilevelSca)org.springframework.http.ResponseEntity<Boolean>updateScaApproach(String authorisationId, de.adorsys.psd2.xs2a.core.profile.ScaApproach scaApproach)
-
-
-
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)
-
createAuthorisation
@PostMapping(path="/{payment-id}/authorisations") org.springframework.http.ResponseEntity<CreateAuthorisationResponse> createAuthorisation(@PathVariable("payment-id") String paymentId, @RequestBody CreateAuthorisationRequest request)
-
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)
-
-