POST api/account/customer/order/{id}/checkout/stripe
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters
StripeCheckoutModelName | Description | Type | Additional information |
---|---|---|---|
CustomerID | string |
Required |
|
CardID | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "CustomerID": "sample string 1", "CardID": "sample string 2" }
application/xml, text/xml
Sample:
<StripeCheckoutModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/cag.Web.API.Areas.Account.Models"> <CardID>sample string 2</CardID> <CustomerID>sample string 1</CustomerID> </StripeCheckoutModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ChargeName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
AccountID | string |
None. |
|
ChargeID | string |
None. |
|
CreatedDate | date |
None. |
|
CreatedByID | integer |
None. |
|
CreatedBy | Worker |
None. |
|
Amount | decimal number |
None. |
|
StatusID | integer |
None. |
|
Status | ChargeStatus |
None. |
Response Formats
application/json, text/json
Sample:
{ "ID": 1, "AccountID": "sample string 2", "ChargeID": "sample string 3", "CreatedDate": "2025-05-11T14:16:55.6028911+00:00", "CreatedByID": 1, "CreatedBy": { "ID": 1, "UniqueID": "4fbdc67d-264e-4109-89f6-ecd22063f175", "FirstName": "sample string 3", "LastName": "sample string 4", "Name": "sample string 3 sample string 4", "CreatedDate": "2025-05-11T14:16:55.6028911+00:00", "Email": "sample string 6", "Active": true, "UserID": "191f2b83-77fc-475a-899f-852b3cf4c0df", "Username": "sample string 9" }, "Amount": 5.0, "StatusID": 6, "Status": { "ID": 1, "Name": "sample string 2", "IsComplete": true, "IsSuccess": true, "IsRefund": true } }
application/xml, text/xml
Sample:
<Charge xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/cag.Data.Stripe"> <AccountID>sample string 2</AccountID> <Amount>5</Amount> <ChargeID>sample string 3</ChargeID> <CreatedBy xmlns:d2p1="http://schemas.datacontract.org/2004/07/cag.Data.User"> <d2p1:Active>true</d2p1:Active> <d2p1:CreatedDate>2025-05-11T14:16:55.6028911+00:00</d2p1:CreatedDate> <d2p1:Email>sample string 6</d2p1:Email> <d2p1:FirstName>sample string 3</d2p1:FirstName> <d2p1:ID>1</d2p1:ID> <d2p1:LastName>sample string 4</d2p1:LastName> <d2p1:UniqueID>4fbdc67d-264e-4109-89f6-ecd22063f175</d2p1:UniqueID> <d2p1:UserID>191f2b83-77fc-475a-899f-852b3cf4c0df</d2p1:UserID> <d2p1:Username>sample string 9</d2p1:Username> </CreatedBy> <CreatedByID>1</CreatedByID> <CreatedDate>2025-05-11T14:16:55.6028911+00:00</CreatedDate> <ID>1</ID> <Status> <ID>1</ID> <IsComplete>true</IsComplete> <IsRefund>true</IsRefund> <IsSuccess>true</IsSuccess> <Name>sample string 2</Name> </Status> <StatusID>6</StatusID> </Charge>