POST api/Purchase/{affiliateId}/{paymentProvider}/CreateAccount
Creates the customer account with provider.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
affiliateId |
The affiliate identifier. |
integer |
Required |
paymentProvider |
The provider. |
string |
Required |
v |
The requested API version |
string |
Default value is 2.0 |
Body Parameters
The customer.
FilmFlex.Platform.Common.API.Contracts.V2.CreateCustomerDTOName | Description | Type | Additional information |
---|---|---|---|
TokenId |
Gets or sets the token identifier. |
string |
None. |
Gets or sets the email. |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "TokenId": "sample string 1", "Email": "sample string 2" }
Response Information
Resource Description
Creates the customer account with provider.
FilmFlex.Platform.Common.API.Contracts.V2.CreateCustomerResultDTOName | Description | Type | Additional information |
---|---|---|---|
Success |
Gets or sets a value indicating whether this is success. |
boolean |
None. |
ClientSecret | string |
None. |
|
Message | string |
None. |
|
HttpStatusCode |
Http status code |
string |
None. |
ErrorType | string |
None. |
|
ErrorCode | string |
None. |
|
DeclineCode |
Gets or sets the decline code. |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "ClientSecret": "sample string 2", "Message": "sample string 3", "HttpStatusCode": "sample string 4", "ErrorType": "sample string 5", "ErrorCode": "sample string 6", "DeclineCode": "sample string 7" }