@RestController
@RequestMapping(path="api/v1/payments/{payment-product}")
public class PaymentInitiationController
extends Object
| Constructor and Description |
|---|
PaymentInitiationController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<PaymentInitialisationResponse> |
createPaymentInitiation(String paymentProduct,
String tppSignatureCertificate,
@Valid SinglePayment singlePayment) |
org.springframework.http.ResponseEntity<TransactionStatusResponse> |
getPaymentInitiationStatusById(String paymentProduct,
String paymentId) |
@PostMapping public org.springframework.http.ResponseEntity<PaymentInitialisationResponse> createPaymentInitiation(@PathVariable(value="payment-product") String paymentProduct, @RequestHeader(name="tpp-signature-certificate",required=false) String tppSignatureCertificate, @RequestBody @Valid @Valid SinglePayment singlePayment)
@GetMapping(path="/{paymentId}/status")
public org.springframework.http.ResponseEntity<TransactionStatusResponse> getPaymentInitiationStatusById(@PathVariable(value="payment-product")
String paymentProduct,
@PathVariable(value="paymentId")
String paymentId)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.