POST Api/Subscription/StripePayment/AttachPaymentMethodToPaymentIntent
Request Information
URI Parameters
None.
Body Parameters
AttachPaymentMethodModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentIntentId | string |
None. |
|
| PaymentMethodId | string |
None. |
|
| Invoice_Id | integer |
None. |
|
| CustomerId | string |
None. |
|
| Amount | decimal number |
None. |
|
| UserName | string |
None. |
|
| PaymentMethod | string |
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,
"UserName": "sample string 6",
"PaymentMethod": "sample string 7"
}
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> <PaymentMethod>sample string 7</PaymentMethod> <PaymentMethodId>sample string 2</PaymentMethodId> <UserName>sample string 6</UserName> </AttachPaymentMethodModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |