POST | /payment-settings/stripe-api/stripe-auth | Create an account for company. | Create an account for company. |
---|
namespace BokaMera.API.ServiceModel.Dtos
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type StripeAccountResponse() =
member val Message:String = null with get,set
member val Success:Boolean = new Boolean() with get,set
[<AllowNullLiteral>]
type StripeConnectAccountCallbackRequest() =
///<summary>
///The company id.
///</summary>
[<ApiMember(Description="The company id.", IsRequired=true)>]
member val CompanyId:Nullable<Guid> = new Nullable<Guid>() with get,set
member val Code:String = null with get,set
member val Scope:String = null with get,set
///<summary>
///The company id.
///</summary>
[<ApiMember(Description="The company id.")>]
member val State:String = null with get,set
member val Error:String = null with get,set
member val ErrorDescription:String = null with get,set
F# StripeConnectAccountCallbackRequest 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-settings/stripe-api/stripe-auth HTTP/1.1
Host: api.bokamera.se
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"CompanyId":"00000000-0000-0000-0000-000000000000","Code":"String","Scope":"String","State":"String","Error":"String","ErrorDescription":"String"}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"Message":"String","Success":false}