POST api/account/customer/order/{id}/checkout/stripe
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
StripeCheckoutModel| Name | 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
Charge| Name | 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-12-14T04:09:28.1985645+00:00",
"CreatedByID": 1,
"CreatedBy": {
"ID": 1,
"UniqueID": "4b3403c3-9aa4-4539-b2f6-c7b404e21c98",
"FirstName": "sample string 3",
"LastName": "sample string 4",
"Name": "sample string 3 sample string 4",
"CreatedDate": "2025-12-14T04:09:28.1985645+00:00",
"Email": "sample string 6",
"Active": true,
"UserID": "0c3df4a4-bf76-4c69-8313-94f3f2be222d",
"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-12-14T04:09:28.1985645+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>4b3403c3-9aa4-4539-b2f6-c7b404e21c98</d2p1:UniqueID>
<d2p1:UserID>0c3df4a4-bf76-4c69-8313-94f3f2be222d</d2p1:UserID>
<d2p1:Username>sample string 9</d2p1:Username>
</CreatedBy>
<CreatedByID>1</CreatedByID>
<CreatedDate>2025-12-14T04:09:28.1985645+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>