POST api/Purchase/{affiliateId}/DEBUG/GetToken?useOld={useOld}
DEBUG Generates one-off payment token
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
affiliateId |
The affiliate identifier. |
integer |
Required |
useOld | boolean |
Default value is False |
|
v |
The requested API version |
string |
Default value is 2.0 |
Body Parameters
The card details.
FilmFlex.Platform.Common.API.Contracts.V2.CreateCardDetailsDTOName | Description | Type | Additional information |
---|---|---|---|
CardNumber |
Credit/debit card number |
string |
None. |
Cvc |
Secure digit code |
string |
None. |
ExpirationYear |
Card expiration year |
integer |
None. |
ExpirationMonth |
Card expiration month |
integer |
None. |
CardOwnerName |
Card owner name |
string |
None. |
Country |
Country of card owner |
string |
None. |
CountryCode |
Country iso code |
string |
None. |
City |
City of card owner |
string |
None. |
AddressState |
State |
string |
None. |
AddressLine1 |
Address line of card owner |
string |
None. |
AddressLine2 |
Address line of card owner |
string |
None. |
PostalCode |
Postal code of card owner |
string |
None. |
ProviderType | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "CardNumber": "sample string 1", "Cvc": "sample string 2", "ExpirationYear": 3, "ExpirationMonth": 4, "CardOwnerName": "sample string 5", "Country": "sample string 6", "CountryCode": "sample string 7", "City": "sample string 8", "AddressState": "sample string 9", "AddressLine1": "sample string 10", "AddressLine2": "sample string 11", "PostalCode": "sample string 12", "ProviderType": "sample string 13" }
Response Information
Resource Description
DEBUG Generates one-off payment token
FilmFlex.Platform.Common.API.Contracts.V2.PaymentTokenDTOName | Description | Type | Additional information |
---|---|---|---|
TokenId | 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:
Sample not available.