POST check/{siteId}/{checkId}/pay/cc
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
siteId | integer |
Required |
|
checkId | integer |
Required |
Body Parameters
NewCardPaymentRequestName | Description | Type | Additional information |
---|---|---|---|
cardNumber | string |
None. |
|
cardExpiration | string |
None. |
|
cvv | string |
None. |
|
zip | string |
None. |
|
amount | decimal number |
None. |
|
tipAmount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "cardNumber": "sample string 1", "cardExpiration": "sample string 2", "cvv": "sample string 3", "zip": "sample string 4", "amount": 5.0, "tipAmount": 6.0 }
application/xml, text/xml
Sample:
<NewCardPaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pay.Platform.Site.Core.Contracts.Requests"> <amount>5</amount> <cardExpiration>sample string 2</cardExpiration> <cardNumber>sample string 1</cardNumber> <cvv>sample string 3</cvv> <tipAmount>6</tipAmount> <zip>sample string 4</zip> </NewCardPaymentRequest>
Response Information
Resource Description
ApplyTenderPaymentResponseName | Description | Type | Additional information |
---|---|---|---|
PaymentId | integer |
None. |
|
Code | ErrorCode |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "PaymentId": 1, "Code": 0, "Message": "" }
application/xml, text/xml
Sample:
<ApplyTenderPaymentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pay.Platform.Site.Core.Contracts.Responses"> <Code>None</Code> <Message></Message> <PaymentId>1</PaymentId> </ApplyTenderPaymentResponse>