POST api/Account/CreateAccountCard
Request Information
URI Parameters
None.
Body Parameters
CreateAccountCardModelName | Description | Type | Additional information |
---|---|---|---|
AccountCardKey | string |
None. |
|
AccountKey | string |
None. |
|
ProviderKey | string |
None. |
|
CardNumber | string |
None. |
|
CardHolderName | string |
None. |
|
ExpiryDate | string |
None. |
|
StatusKey | string |
None. |
|
IsActive | boolean |
None. |
|
CardTypeId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "AccountCardKey": "sample string 1", "AccountKey": "sample string 2", "ProviderKey": "sample string 3", "CardNumber": "sample string 4", "CardHolderName": "sample string 5", "ExpiryDate": "sample string 6", "StatusKey": "sample string 7", "IsActive": true, "CardTypeId": 1 }
application/xml, text/xml
Sample:
<CreateAccountCardModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vezeeta.Payment.Models"> <AccountCardKey>sample string 1</AccountCardKey> <AccountKey>sample string 2</AccountKey> <CardHolderName>sample string 5</CardHolderName> <CardNumber>sample string 4</CardNumber> <CardTypeId>1</CardTypeId> <ExpiryDate>sample string 6</ExpiryDate> <IsActive>true</IsActive> <ProviderKey>sample string 3</ProviderKey> <StatusKey>sample string 7</StatusKey> </CreateAccountCardModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |