| POST | /payment/stripe/v1/checkout/status | Create an checkout for Booking. Note if existing checkouts already exists, i will invalidate those. | Create Stripe checkout (requires settings for Stripe Checkout 1.0) | 
|---|
import 'package:servicestack/servicestack.dart';
class StripeCheckoutStatusQueryResponse implements IConvertible
{
    /**
    * The customer email for checkout
    */
    // @ApiMember(Description="The customer email for checkout")
    String? CustomerEmail;
    /**
    * The checkout status
    */
    // @ApiMember(Description="The checkout status")
    String? Status;
    StripeCheckoutStatusQueryResponse({this.CustomerEmail,this.Status});
    StripeCheckoutStatusQueryResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
    fromMap(Map<String, dynamic> json) {
        CustomerEmail = json['CustomerEmail'];
        Status = json['Status'];
        return this;
    }
    Map<String, dynamic> toJson() => {
        'CustomerEmail': CustomerEmail,
        'Status': Status
    };
    getTypeName() => "StripeCheckoutStatusQueryResponse";
    TypeContext? context = _ctx;
}
class GetStripeCheckoutV1CheckoutStatus implements ICompany, IConvertible
{
    /**
    * The company id.
    */
    // @ApiMember(Description="The company id.", IsRequired=true)
    String? CompanyId;
    /**
    * Session id for the checkout
    */
    // @ApiMember(Description="Session id for the checkout", IsRequired=true)
    String? SessionId;
    GetStripeCheckoutV1CheckoutStatus({this.CompanyId,this.SessionId});
    GetStripeCheckoutV1CheckoutStatus.fromJson(Map<String, dynamic> json) { fromMap(json); }
    fromMap(Map<String, dynamic> json) {
        CompanyId = json['CompanyId'];
        SessionId = json['SessionId'];
        return this;
    }
    Map<String, dynamic> toJson() => {
        'CompanyId': CompanyId,
        'SessionId': SessionId
    };
    getTypeName() => "GetStripeCheckoutV1CheckoutStatus";
    TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'testapi.bokamera.se', types: <String, TypeInfo> {
    'StripeCheckoutStatusQueryResponse': TypeInfo(TypeOf.Class, create:() => StripeCheckoutStatusQueryResponse()),
    'GetStripeCheckoutV1CheckoutStatus': TypeInfo(TypeOf.Class, create:() => GetStripeCheckoutV1CheckoutStatus()),
});
Dart GetStripeCheckoutV1CheckoutStatus DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /payment/stripe/v1/checkout/status HTTP/1.1 
Host: testapi.bokamera.se 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"CompanyId":"00000000-0000-0000-0000-000000000000","SessionId":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"CustomerEmail":"String","Status":"String"}