POST ChargeProcess/Pay

Request Information

URI Parameters

None.

Body Parameters

EndChargeProcessPayment
NameDescriptionTypeAdditional information
process_id

integer

None.

payment_type

string

None.

payment_number

string

None.

Request Formats

application/json, text/json

Sample:
{
  "process_id": 1,
  "payment_type": "sample string 2",
  "payment_number": "sample string 3"
}

application/xml, text/xml

Sample:
<EndChargeProcessPayment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChargeCloudAPI.Models">
  <payment_number>sample string 3</payment_number>
  <payment_type>sample string 2</payment_type>
  <process_id>1</process_id>
</EndChargeProcessPayment>

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 'EndChargeProcessPayment'.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Success

boolean

None.

ResponseCode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "ResponseCode": "sample string 2"
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChargeCloudAPI.Models">
  <ResponseCode>sample string 2</ResponseCode>
  <Success>true</Success>
</Response>