POST api/EntityPaymentMethods/ClientPaymentMethod

Request Information

URI Parameters

None.

Body Parameters

ClientPaymentMethodDto
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ClientPaymentMethodDto'.

Response Information

Resource Description

ApiResponse
NameDescriptionTypeAdditional 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.