POST API/PaypalPayment/UpdatePaypalTransactions

Request Information

URI Parameters

None.

Body Parameters

paymentParameter
NameDescriptionTypeAdditional information
SMSID

integer

None.

VCNO

string

None.

Amount

decimal number

None.

OnBehalfID

string

None.

UserID

string

None.

ClientIPAddress

string

None.

PaymentGetwayID

string

None.

PayMode

string

None.

OrderID

string

None.

Type

string

None.

UserType

string

None.

CommitType

string

None.

TranSequence

integer

None.

TranType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SMSID": 1,
  "VCNO": "sample string 2",
  "Amount": 3.0,
  "OnBehalfID": "sample string 4",
  "UserID": "sample string 5",
  "ClientIPAddress": "sample string 6",
  "PaymentGetwayID": "sample string 7",
  "PayMode": "sample string 8",
  "OrderID": "sample string 9",
  "Type": "sample string 10",
  "UserType": "sample string 11",
  "CommitType": "sample string 12",
  "TranSequence": 13,
  "TranType": "sample string 14"
}

application/xml, text/xml

Sample:
<paymentParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Phoenix.IN.Common.Models.Mobile">
  <Amount>3</Amount>
  <ClientIPAddress>sample string 6</ClientIPAddress>
  <CommitType>sample string 12</CommitType>
  <OnBehalfID>sample string 4</OnBehalfID>
  <OrderID>sample string 9</OrderID>
  <PayMode>sample string 8</PayMode>
  <PaymentGetwayID>sample string 7</PaymentGetwayID>
  <SMSID>1</SMSID>
  <TranSequence>13</TranSequence>
  <TranType>sample string 14</TranType>
  <Type>sample string 10</Type>
  <UserID>sample string 5</UserID>
  <UserType>sample string 11</UserType>
  <VCNO>sample string 2</VCNO>
</paymentParameter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultInfoOfString
NameDescriptionTypeAdditional information
AccessToken

string

None.

TokenType

string

None.

ResultType

TypeOfResult

None.

ResultCode

integer

None.

ResultDesc

string

None.

Result

string

None.

ErrCode

integer

None.

ErrDesc

string

None.

Response Formats

application/json, text/json

Sample:
{
  "AccessToken": "sample string 1",
  "TokenType": "sample string 2",
  "ResultType": 0,
  "ResultCode": 3,
  "ResultDesc": "sample string 4",
  "Result": "sample string 5",
  "ErrCode": 6,
  "ErrDesc": "sample string 7"
}

application/xml, text/xml

Sample:
<ResultInfoOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Phoenix.IN.Common.Models.Common">
  <AccessToken>sample string 1</AccessToken>
  <ErrCode>6</ErrCode>
  <ErrDesc>sample string 7</ErrDesc>
  <Result>sample string 5</Result>
  <ResultCode>3</ResultCode>
  <ResultDesc>sample string 4</ResultDesc>
  <ResultType>Success</ResultType>
  <TokenType>sample string 2</TokenType>
</ResultInfoOfstring>