POST api/EntityPaymentMethods/ClientPaymentMethod
Request Information
URI Parameters
None.
Body Parameters
ClientPaymentMethodDto| Name | Description | Type | Additional information |
|---|---|---|---|
| ClientId | integer |
Required |
|
| CardCvvCode | string |
Required |
|
| CardExpiration | string |
Required |
|
| CardNumber | string |
Required |
|
| BillingStreet | string |
Required |
|
| BillingZip | string |
Required |
|
| IsNewCard | boolean |
None. |
|
| PaymentMethodToken | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ClientId": 1,
"CardCvvCode": "sample string 2",
"CardExpiration": "sample string 3",
"CardNumber": "sample string 4",
"BillingStreet": "sample string 5",
"BillingZip": "sample string 6",
"IsNewCard": true,
"PaymentMethodToken": "sample string 8"
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ApiResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Result | Object |
None. |
|
| StatusCode | integer |
None. |
|
| StatusGroup | string |
None. |
|
| Details | Collection of Object |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.