public interface PaymentRestAPI
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<SCAPaymentResponseTO> |
authorizeCancelPayment(String paymentId,
String cancellationId,
String authCode) |
org.springframework.http.ResponseEntity<SCAPaymentResponseTO> |
authorizePayment(String paymentId,
String authorisationId,
String authCode) |
org.springframework.http.ResponseEntity<SCAPaymentResponseTO> |
getCancelSCA(String paymentId,
String cancellationId) |
org.springframework.http.ResponseEntity<?> |
getPaymentById(String paymentId) |
org.springframework.http.ResponseEntity<TransactionStatusTO> |
getPaymentStatusById(String paymentId) |
org.springframework.http.ResponseEntity<List<PaymentTO>> |
getPendingPeriodicPayments() |
org.springframework.http.ResponseEntity<SCAPaymentResponseTO> |
getSCA(String paymentId,
String authorisationId) |
org.springframework.http.ResponseEntity<String> |
initiatePainPayment(PaymentTypeTO paymentType,
String payment) |
org.springframework.http.ResponseEntity<SCAPaymentResponseTO> |
initiatePayment(PaymentTypeTO paymentType,
Object payment) |
org.springframework.http.ResponseEntity<SCAPaymentResponseTO> |
initiatePmtCancellation(String paymentId) |
org.springframework.http.ResponseEntity<SCAPaymentResponseTO> |
selecCancelPaymentSCAtMethod(String paymentId,
String cancellationId,
String scaMethodId) |
org.springframework.http.ResponseEntity<SCAPaymentResponseTO> |
selectMethod(String paymentId,
String authorisationId,
String scaMethodId) |
static final String BASE_PATH
@GetMapping(value="/{paymentId}/status")
org.springframework.http.ResponseEntity<TransactionStatusTO> getPaymentStatusById(@PathVariable(value="paymentId")
String paymentId)
@GetMapping(value="/{paymentId}")
org.springframework.http.ResponseEntity<?> getPaymentById(@PathVariable(name="paymentId")
String paymentId)
@GetMapping(value="/pending/periodic") org.springframework.http.ResponseEntity<List<PaymentTO>> getPendingPeriodicPayments()
@PostMapping(params="paymentType") org.springframework.http.ResponseEntity<SCAPaymentResponseTO> initiatePayment(@RequestParam(value="paymentType") PaymentTypeTO paymentType, @RequestBody Object payment)
@PostMapping(value="/pain",
params="paymentType",
consumes="application/xml",
produces="application/xml")
org.springframework.http.ResponseEntity<String> initiatePainPayment(@RequestParam(value="paymentType")
PaymentTypeTO paymentType,
@RequestBody
String payment)
@GetMapping(value="/{paymentId}/authorisations/{authorisationId}")
org.springframework.http.ResponseEntity<SCAPaymentResponseTO> getSCA(@PathVariable(value="paymentId")
String paymentId,
@PathVariable(value="authorisationId")
String authorisationId)
@PutMapping(value="/{paymentId}/authorisations/{authorisationId}/scaMethods/{scaMethodId}")
org.springframework.http.ResponseEntity<SCAPaymentResponseTO> selectMethod(@PathVariable(value="paymentId")
String paymentId,
@PathVariable(value="authorisationId")
String authorisationId,
@PathVariable(value="scaMethodId")
String scaMethodId)
@PutMapping(value="/{paymentId}/authorisations/{authorisationId}/authCode")
org.springframework.http.ResponseEntity<SCAPaymentResponseTO> authorizePayment(@PathVariable(value="paymentId")
String paymentId,
@PathVariable(value="authorisationId")
String authorisationId,
@RequestParam(name="authCode")
String authCode)
@PostMapping(value="/{paymentId}/cancellation-authorisations")
org.springframework.http.ResponseEntity<SCAPaymentResponseTO> initiatePmtCancellation(@PathVariable(value="paymentId")
String paymentId)
@GetMapping(value="/{paymentId}/cancellation-authorisations/{cancellationId}")
org.springframework.http.ResponseEntity<SCAPaymentResponseTO> getCancelSCA(@PathVariable(value="paymentId")
String paymentId,
@PathVariable(value="cancellationId")
String cancellationId)
@PutMapping(value="/{paymentId}/cancellation-authorisations/{cancellationId}/scaMethods/{scaMethodId}")
org.springframework.http.ResponseEntity<SCAPaymentResponseTO> selecCancelPaymentSCAtMethod(@PathVariable(value="paymentId")
String paymentId,
@PathVariable(value="cancellationId")
String cancellationId,
@PathVariable(value="scaMethodId")
String scaMethodId)
@PutMapping(value="/{paymentId}/cancellation-authorisations/{cancellationId}/authCode")
org.springframework.http.ResponseEntity<SCAPaymentResponseTO> authorizeCancelPayment(@PathVariable(value="paymentId")
String paymentId,
@PathVariable(value="cancellationId")
String cancellationId,
@RequestParam(name="authCode")
String authCode)
Copyright © 2019. All rights reserved.