Interface PaymentApi

All Known Implementing Classes:
PaymentApiController

@Generated(value="org.openapitools.codegen.languages.SpringCodegen", date="2022-09-25T19:34:30.087552571Z[Etc/UTC]") @Validated public interface PaymentApi
  • Method Summary

    Modifier and Type
    Method
    Description
    default reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CreateSubsriptionPayment201Response>>
    createSubsriptionPayment(UUID xRequestID, UUID idempotencyKey, @Valid reactor.core.publisher.Mono<CreateSubsriptionPaymentRequest> createSubsriptionPaymentRequest, org.springframework.web.server.ServerWebExchange exchange)
    POST /payment/subscription : Создать платеж на выбранный тарифный план
  • Method Details

    • createSubsriptionPayment

      @RequestMapping(method=POST, value="/payment/subscription", produces="application/json", consumes="application/json") default reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CreateSubsriptionPayment201Response>> createSubsriptionPayment(@RequestHeader(value="X-Request-ID",required=true) UUID xRequestID, @RequestHeader(value="Idempotency-Key",required=true) UUID idempotencyKey, @Valid @RequestBody(required=false) @Valid reactor.core.publisher.Mono<CreateSubsriptionPaymentRequest> createSubsriptionPaymentRequest, org.springframework.web.server.ServerWebExchange exchange)
      POST /payment/subscription : Создать платеж на выбранный тарифный план
      Parameters:
      xRequestID - Уникальный идентификатор запроса к системе (required)
      idempotencyKey - Idempotency key (required)
      createSubsriptionPaymentRequest - (optional)
      Returns:
      Платеж создан (status code 201) or Переданы ошибочные данные (status code 400) or Несанкционированный доступ, использовались неверные учетные данные. (status code 401) or Доступ запрещен. (status code 403) or Достигнуто максимальное кол-во товаров в пуле (status code 409)