POST Api/Subscription/StripePayment/AttachPaymentMethodToPaymentIntent

Request Information

URI Parameters

None.

Body Parameters

AttachPaymentMethodModel
NameDescriptionTypeAdditional information
PaymentIntentId

string

None.

PaymentMethodId

string

None.

Invoice_Id

integer

None.

CustomerId

string

None.

Amount

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "PaymentIntentId": "sample string 1",
  "PaymentMethodId": "sample string 2",
  "Invoice_Id": 3,
  "CustomerId": "sample string 4",
  "Amount": 5.0
}

application/xml, text/xml

Sample:
<AttachPaymentMethodModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALOHA.GLOBAL.Models.Subscription">
  <Amount>5</Amount>
  <CustomerId>sample string 4</CustomerId>
  <Invoice_Id>3</Invoice_Id>
  <PaymentIntentId>sample string 1</PaymentIntentId>
  <PaymentMethodId>sample string 2</PaymentMethodId>
</AttachPaymentMethodModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.