POST api/Payment/accept-payment

Request Information

URI Parameters

None.

Body Parameters

AcceptCardPaymentRequest
NameDescriptionTypeAdditional information
PaymentIntentId

string

None.

ReaderId

string

None.

Request Formats

[application/json, { "PaymentIntentId": "sample string 1", "ReaderId": "sample string 2" }][text/json, { "PaymentIntentId": "sample string 1", "ReaderId": "sample string 2" }][application/xml, <AcceptCardPaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rebelity.Business.Stripe.Model"> <PaymentIntentId>sample string 1</PaymentIntentId> <ReaderId>sample string 2</ReaderId> </AcceptCardPaymentRequest>][text/xml, <AcceptCardPaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rebelity.Business.Stripe.Model"> <PaymentIntentId>sample string 1</PaymentIntentId> <ReaderId>sample string 2</ReaderId> </AcceptCardPaymentRequest>][application/x-www-form-urlencoded, Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AcceptCardPaymentRequest'.]

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

[application/json, ][text/json, ][application/xml, ][text/xml, ]