POST OdemeEntegrasyon/ProcessPayment

Request Information

URI Parameters

None.

Body Parameters

PaymentRequest
NameDescriptionTypeAdditional information
cardHolderName

string

None.

cardNumber

string

None.

expirationYear

string

None.

expirationMonth

string

None.

amount

string

None.

cvv

string

None.

Request Formats

application/json, text/json

Sample:
{
  "cardHolderName": "sample string 1",
  "cardNumber": "sample string 2",
  "expirationYear": "sample string 3",
  "expirationMonth": "sample string 4",
  "amount": "sample string 5",
  "cvv": "sample string 6"
}

application/xml, text/xml

Sample:
<PaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentekerAPIProject.Controllers">
  <amount>sample string 5</amount>
  <cardHolderName>sample string 1</cardHolderName>
  <cardNumber>sample string 2</cardNumber>
  <cvv>sample string 6</cvv>
  <expirationMonth>sample string 4</expirationMonth>
  <expirationYear>sample string 3</expirationYear>
</PaymentRequest>

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

Response Information

Resource Description

PaymentResponse
NameDescriptionTypeAdditional information
USE_3D

string

None.

BANK_REQUEST_MESSAGE

string

None.

REFERENCE_CODE

string

None.

AUTH_CODE

string

None.

COMMISION

string

None.

COMMISION_RATE

string

None.

INSTALLMENT

string

None.

AUTHORIZATION_AMOUNT

string

None.

BANK_CODE

string

None.

TRANSACTION_AMOUNT

string

None.

MERCHANT_NO

string

None.

CLIENT_REFERENCE_CODE

string

None.

BANK_RESULT

string

None.

BANK_MESSAGE

string

None.

HTML_STRING

string

None.

RND

string

None.

CARD_TYPE

string

None.

RESPONSE_CODE

integer

None.

ERROR_CODE

string

None.

RESPONSE_DATA

string

None.

sessionId

string

None.

CORE_TRX_ID_RESERVED

string

None.

ERROR_MESSAGE

string

None.

TimeStamp

string

None.

Response Formats

application/json, text/json

Sample:
{
  "USE_3D": "sample string 1",
  "BANK_REQUEST_MESSAGE": "sample string 2",
  "REFERENCE_CODE": "sample string 3",
  "AUTH_CODE": "sample string 4",
  "COMMISION": "sample string 5",
  "COMMISION_RATE": "sample string 6",
  "INSTALLMENT": "sample string 7",
  "AUTHORIZATION_AMOUNT": "sample string 8",
  "BANK_CODE": "sample string 9",
  "TRANSACTION_AMOUNT": "sample string 10",
  "MERCHANT_NO": "sample string 11",
  "CLIENT_REFERENCE_CODE": "sample string 12",
  "BANK_RESULT": "sample string 13",
  "BANK_MESSAGE": "sample string 14",
  "HTML_STRING": "sample string 15",
  "RND": "sample string 16",
  "CARD_TYPE": "sample string 17",
  "RESPONSE_CODE": 18,
  "ERROR_CODE": "sample string 19",
  "RESPONSE_DATA": "sample string 20",
  "sessionId": "sample string 21",
  "CORE_TRX_ID_RESERVED": "sample string 22",
  "ERROR_MESSAGE": "sample string 23",
  "TimeStamp": "sample string 24"
}

application/xml, text/xml

Sample:
<PaymentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentekerAPIProject.Controllers">
  <AUTHORIZATION_AMOUNT>sample string 8</AUTHORIZATION_AMOUNT>
  <AUTH_CODE>sample string 4</AUTH_CODE>
  <BANK_CODE>sample string 9</BANK_CODE>
  <BANK_MESSAGE>sample string 14</BANK_MESSAGE>
  <BANK_REQUEST_MESSAGE>sample string 2</BANK_REQUEST_MESSAGE>
  <BANK_RESULT>sample string 13</BANK_RESULT>
  <CARD_TYPE>sample string 17</CARD_TYPE>
  <CLIENT_REFERENCE_CODE>sample string 12</CLIENT_REFERENCE_CODE>
  <COMMISION>sample string 5</COMMISION>
  <COMMISION_RATE>sample string 6</COMMISION_RATE>
  <CORE_TRX_ID_RESERVED>sample string 22</CORE_TRX_ID_RESERVED>
  <ERROR_CODE>sample string 19</ERROR_CODE>
  <ERROR_MESSAGE>sample string 23</ERROR_MESSAGE>
  <HTML_STRING>sample string 15</HTML_STRING>
  <INSTALLMENT>sample string 7</INSTALLMENT>
  <MERCHANT_NO>sample string 11</MERCHANT_NO>
  <REFERENCE_CODE>sample string 3</REFERENCE_CODE>
  <RESPONSE_CODE>18</RESPONSE_CODE>
  <RESPONSE_DATA>sample string 20</RESPONSE_DATA>
  <RND>sample string 16</RND>
  <TRANSACTION_AMOUNT>sample string 10</TRANSACTION_AMOUNT>
  <TimeStamp>sample string 24</TimeStamp>
  <USE_3D>sample string 1</USE_3D>
  <sessionId>sample string 21</sessionId>
</PaymentResponse>