public interface PisCancellationApi
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<PaymentAuthorizeResponse> |
authorisePayment(String encryptedPaymentId,
String authorisationId,
String consentAndaccessTokenCookieString,
String authCode)
Provides a TAN for the validation of an authorization
|
org.springframework.http.ResponseEntity<PaymentAuthorizeResponse> |
login(String encryptedPaymentId,
String authorisationId,
String login,
String pin,
String consentCookieString)
Identifies the user by login an pin.
|
org.springframework.http.ResponseEntity<PaymentAuthorizeResponse> |
pisDone(String encryptedPaymentId,
String authorisationId,
String consentAndAccessTokenCookieString,
Boolean forgetConsent,
Boolean backToTpp)
This call provides the server with the opportunity to close this session and
redirect the PSU to the TPP or close the application window.
|
org.springframework.http.ResponseEntity<PaymentAuthorizeResponse> |
selectMethod(String encryptedPaymentId,
String authorisationId,
String scaMethodId,
String consentAndaccessTokenCookieString)
Selects the SCA Method for use.
|
static final String BASE_PATH
@PostMapping(path="/{encryptedPaymentId}/authorisation/{authorisationId}/login")
org.springframework.http.ResponseEntity<PaymentAuthorizeResponse> login(@PathVariable(value="encryptedPaymentId")
String encryptedPaymentId,
@PathVariable(value="authorisationId")
String authorisationId,
@RequestParam(value="login")
String login,
@RequestParam(value="pin")
String pin,
@RequestHeader(name="Cookie",required=false)
String consentCookieString)
encryptedPaymentId - the encryptedPaymentIdauthorisationId - the auth idlogin - the loginpin - the passwordconsentCookieString - the cosent cookie@PostMapping(value="/{encryptedPaymentId}/authorisation/{authorisationId}/methods/{scaMethodId}")
org.springframework.http.ResponseEntity<PaymentAuthorizeResponse> selectMethod(@PathVariable(value="encryptedPaymentId")
String encryptedPaymentId,
@PathVariable(value="authorisationId")
String authorisationId,
@PathVariable(value="scaMethodId")
String scaMethodId,
@RequestHeader(name="Cookie",required=false)
String consentAndaccessTokenCookieString)
encryptedPaymentId - the sca idauthorisationId - the auth idscaMethodId - scaconsentAndaccessTokenCookieString - the cosent cookie@PostMapping(path="/{encryptedPaymentId}/authorisation/{authorisationId}/authCode",
params="authCode")
org.springframework.http.ResponseEntity<PaymentAuthorizeResponse> authorisePayment(@PathVariable(value="encryptedPaymentId")
String encryptedPaymentId,
@PathVariable(value="authorisationId")
String authorisationId,
@RequestHeader(name="Cookie",required=false)
String consentAndaccessTokenCookieString,
@RequestParam(value="authCode")
String authCode)
encryptedPaymentId - the sca idauthorisationId - the auth idconsentAndaccessTokenCookieString - the cosent cookieauthCode - the auth code@GetMapping(path="/{encryptedPaymentId}/authorisation/{authorisationId}/done",
params={"forgetConsent","backToTpp"})
org.springframework.http.ResponseEntity<PaymentAuthorizeResponse> pisDone(@PathVariable(value="encryptedPaymentId")
String encryptedPaymentId,
@PathVariable(value="authorisationId")
String authorisationId,
@RequestHeader(name="Cookie",required=false)
String consentAndAccessTokenCookieString,
@RequestParam(name="forgetConsent",required=false)
Boolean forgetConsent,
@RequestParam(name="backToTpp",required=false)
Boolean backToTpp)
In any case, the session of the user will be closed and cookies will be deleted.
encryptedPaymentId - ID of PaymentauthorisationId - ID of related Payment AuthorisationCopyright © 2019. All rights reserved.