POST api/MeddivoService/AddSetupIntent
Request Information
URI Parameters
None.
Body Parameters
SetupIntentInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": "sample string 1"
}
application/xml, text/xml
Sample:
<SetupIntentInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Meddivo.API.Service.Models"> <CustomerId>sample string 1</CustomerId> </SetupIntentInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SetupIntent| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
None. |
|
| object | string |
None. |
|
| attach_to_self | boolean |
None. |
|
| automatic_payment_methods | SetupIntentAutomaticPaymentMethods |
None. |
|
| cancellation_reason | string |
None. |
|
| client_secret | string |
None. |
|
| created | date |
None. |
|
| description | string |
None. |
|
| flow_directions | Collection of string |
None. |
|
| last_setup_error | StripeError |
None. |
|
| livemode | boolean |
None. |
|
| metadata | Dictionary of string [key] and string [value] |
None. |
|
| next_action | SetupIntentNextAction |
None. |
|
| payment_method_configuration_details | SetupIntentPaymentMethodConfigurationDetails |
None. |
|
| payment_method_options | SetupIntentPaymentMethodOptions |
None. |
|
| payment_method_types | Collection of string |
None. |
|
| status | string |
None. |
|
| usage | string |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.