PUT api/Purchase/{affiliateId}/{paymentProvider}/UpdateAccount
Updates customer account with given 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 update.
FilmFlex.Platform.Api.Models.CustomerUpdateLimitedDTOName | Description | Type | Additional information |
---|---|---|---|
TokenId |
Gets or sets the card token identifier. |
string |
None. |
Description |
Gets or sets the description. |
string |
None. |
Gets or sets the email. |
string |
None. |
|
Metadata |
Gets or sets the metadata. |
Dictionary of string [key] and string [value] |
None. |
Request Formats
application/json, text/json
Sample:
{ "TokenId": "sample string 1", "Description": "sample string 2", "Email": "sample string 3", "Metadata": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } }
Response Information
Resource Description
Updates customer account with given provider
FilmFlex.Platform.Common.API.Contracts.V2.CustomerUpdateResultDTOName | Description | Type | Additional information |
---|---|---|---|
Success |
Gets or sets a value indicating whether this is success. |
boolean |
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, "Message": "sample string 2", "HttpStatusCode": "sample string 3", "ErrorType": "sample string 4", "ErrorCode": "sample string 5", "DeclineCode": "sample string 6" }