POST api/MeddivoService/AddPaymentIntent
Request Information
URI Parameters
None.
Body Parameters
PaymentInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | string |
None. |
|
| Amount | integer |
None. |
|
| CurrencyCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": "sample string 1",
"Amount": 2,
"CurrencyCode": "sample string 3"
}
application/xml, text/xml
Sample:
<PaymentInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Meddivo.API.Service.Models"> <Amount>2</Amount> <CurrencyCode>sample string 3</CurrencyCode> <CustomerId>sample string 1</CustomerId> </PaymentInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PaymentIntent| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
None. |
|
| object | string |
None. |
|
| amount | integer |
None. |
|
| amount_capturable | integer |
None. |
|
| amount_details | PaymentIntentAmountDetails |
None. |
|
| amount_received | integer |
None. |
|
| application_fee_amount | integer |
None. |
|
| automatic_payment_methods | PaymentIntentAutomaticPaymentMethods |
None. |
|
| canceled_at | date |
None. |
|
| cancellation_reason | string |
None. |
|
| capture_method | string |
None. |
|
| client_secret | string |
None. |
|
| confirmation_method | string |
None. |
|
| created | date |
None. |
|
| currency | string |
None. |
|
| description | string |
None. |
|
| last_payment_error | StripeError |
None. |
|
| livemode | boolean |
None. |
|
| metadata | Dictionary of string [key] and string [value] |
None. |
|
| next_action | PaymentIntentNextAction |
None. |
|
| payment_method_configuration_details | PaymentIntentPaymentMethodConfigurationDetails |
None. |
|
| payment_method_options | PaymentIntentPaymentMethodOptions |
None. |
|
| payment_method_types | Collection of string |
None. |
|
| processing | PaymentIntentProcessing |
None. |
|
| receipt_email | string |
None. |
|
| setup_future_usage | string |
None. |
|
| shipping | Shipping |
None. |
|
| statement_descriptor | string |
None. |
|
| statement_descriptor_suffix | string |
None. |
|
| status | string |
None. |
|
| transfer_data | PaymentIntentTransferData |
None. |
|
| transfer_group | 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.