POST Integration/PayNowCrediCardPC

Request Information

URI Parameters

None.

Body Parameters

PaySyncInput
NameDescriptionTypeAdditional information
Language

string

None.

Amount

string

None.

Reference

string

None.

Telephone

string

None.

AccountNumber

string

None.

MerchantID

string

None.

MerchantPassword

string

None.

PayType

string

None.

Name

string

None.

Email

string

None.

Mode

string

None.

FailureURL

string

None.

CancelURL

string

None.

SuccessURL

string

None.

NotifyURL

string

None.

cDate

string

None.

cNumber

string

None.

vCVV

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Language": "sample string 1",
  "Amount": "sample string 2",
  "Reference": "sample string 3",
  "Telephone": "sample string 4",
  "AccountNumber": "sample string 5",
  "MerchantID": "sample string 6",
  "MerchantPassword": "sample string 7",
  "PayType": "sample string 8",
  "Name": "sample string 9",
  "Email": "sample string 10",
  "Mode": "sample string 11",
  "FailureURL": "sample string 12",
  "CancelURL": "sample string 13",
  "SuccessURL": "sample string 14",
  "NotifyURL": "sample string 15",
  "cDate": "sample string 16",
  "cNumber": "sample string 17",
  "vCVV": "sample string 18"
}

application/xml, text/xml

Sample:
<PaySyncInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/dusupayproject.Models">
  <AccountNumber>sample string 5</AccountNumber>
  <Amount>sample string 2</Amount>
  <CancelURL>sample string 13</CancelURL>
  <Email>sample string 10</Email>
  <FailureURL>sample string 12</FailureURL>
  <Language>sample string 1</Language>
  <MerchantID>sample string 6</MerchantID>
  <MerchantPassword>sample string 7</MerchantPassword>
  <Mode>sample string 11</Mode>
  <Name>sample string 9</Name>
  <NotifyURL>sample string 15</NotifyURL>
  <PayType>sample string 8</PayType>
  <Reference>sample string 3</Reference>
  <SuccessURL>sample string 14</SuccessURL>
  <Telephone>sample string 4</Telephone>
  <cDate>sample string 16</cDate>
  <cNumber>sample string 17</cNumber>
  <vCVV>sample string 18</vCVV>
</PaySyncInput>

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

Response Information

Resource Description

ServiceResponse
NameDescriptionTypeAdditional information
SessionToken

string

None.

ResponseStatus

string

None.

ResponseError

string

None.

ResponseData

string

None.

TransactionID

string

None.

ResponseDesc

string

None.

PaymentURL

string

None.

Response Formats

application/json, text/json

Sample:
{
  "SessionToken": "sample string 1",
  "ResponseStatus": "sample string 2",
  "ResponseError": "sample string 3",
  "ResponseData": "sample string 4",
  "TransactionID": "sample string 5",
  "ResponseDesc": "sample string 6",
  "PaymentURL": "sample string 7"
}

application/xml, text/xml

Sample:
<ServiceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/dusupayproject.Models">
  <PaymentURL>sample string 7</PaymentURL>
  <ResponseData>sample string 4</ResponseData>
  <ResponseDesc>sample string 6</ResponseDesc>
  <ResponseError>sample string 3</ResponseError>
  <ResponseStatus>sample string 2</ResponseStatus>
  <SessionToken>sample string 1</SessionToken>
  <TransactionID>sample string 5</TransactionID>
</ServiceResponse>