Class ByProjectKeyMePaymentsPostString

All Implemented Interfaces:
Deprecatable201Trait<ByProjectKeyMePaymentsPostString>, ErrorableTrait<ByProjectKeyMePaymentsPostString>, ExpandableTrait<ByProjectKeyMePaymentsPostString>, ClientRequestCommand<MyPayment>, CreateHttpRequestCommand, HttpRequestCommand<MyPayment>, RequestCommand<MyPayment>

Creates a Payment for the Customer or an anonymous user. Creating a Payment produces the PaymentCreated Message.



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.me.MyPayment>> result = apiRoot
            .withProjectKey("{projectKey}")
            .me()
            .payments()
            .post("")
            .execute()