POST MakeTokenPayment

Request Information

URI Parameters

None.

Body Parameters

TokenTransaction
NameDescriptionTypeAdditional information
token

token

None.

merchant_ref

string

None.

transaction_type

string

None.

method

string

None.

amount

string

None.

currency_code

string

None.

Lot

string

None.

Request Formats

application/json, text/json

Sample:
{
  "token": {
    "$id": "2",
    "token_type": "sample string 1",
    "token_data": {
      "$id": "3",
      "type": "sample string 1",
      "cardholder_name": "sample string 2",
      "exp_date": "sample string 3",
      "cvv": "sample string 4",
      "special_payment": "sample string 5",
      "value": "sample string 6"
    }
  },
  "merchant_ref": "sample string 1",
  "transaction_type": "sample string 2",
  "method": "sample string 3",
  "amount": "sample string 4",
  "currency_code": "sample string 5",
  "Lot": "sample string 6"
}

text/html

Sample:
{"$id":"1","token":{"$id":"2","token_type":"sample string 1","token_data":{"$id":"3","type":"sample string 1","cardholder_name":"sample string 2","exp_date":"sample string 3","cvv":"sample string 4","special_payment":"sample string 5","value":"sample string 6"}},"merchant_ref":"sample string 1","transaction_type":"sample string 2","method":"sample string 3","amount":"sample string 4","currency_code":"sample string 5","Lot":"sample string 6"}

application/xml, text/xml

Sample:
<TokenTransaction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AcePortal.Domain.Models.Payeezy">
  <Lot>sample string 6</Lot>
  <amount>sample string 4</amount>
  <currency_code>sample string 5</currency_code>
  <merchant_ref>sample string 1</merchant_ref>
  <method>sample string 3</method>
  <transaction_type>sample string 2</transaction_type>
  <token>
    <token_data>
      <cardholder_name>sample string 2</cardholder_name>
      <cvv>sample string 4</cvv>
      <exp_date>sample string 3</exp_date>
      <special_payment>sample string 5</special_payment>
      <type>sample string 1</type>
      <value>sample string 6</value>
    </token_data>
    <token_type>sample string 1</token_type>
  </token>
</TokenTransaction>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PayeezyTransactionResponse
NameDescriptionTypeAdditional information
correlation_id

string

None.

transaction_status

string

None.

validation_status

string

None.

transaction_type

string

None.

transaction_id

string

None.

transaction_tag

string

None.

method

string

None.

amount

string

None.

currency

string

None.

cvv2

string

None.

token

None.

Response Formats

application/json, text/json

Sample:
{
  "correlation_id": "sample string 1",
  "transaction_status": "sample string 2",
  "validation_status": "sample string 3",
  "transaction_type": "sample string 4",
  "transaction_id": "sample string 5",
  "transaction_tag": "sample string 6",
  "method": "sample string 7",
  "amount": "sample string 8",
  "currency": "sample string 9",
  "cvv2": "sample string 10",
  "token": {
    "$id": "2",
    "token_type": "sample string 1",
    "token_data": {
      "$id": "3",
      "value": "sample string 1"
    }
  },
  "card": {
    "$id": "4",
    "type": "sample string 1",
    "cardholder_name": "sample string 2",
    "card_number": "sample string 3",
    "exp_date": "sample string 4"
  },
  "bank_resp_code": "sample string 11",
  "bank_message": "sample string 12",
  "gateway_resp_code": "sample string 13",
  "gateway_message": "sample string 14"
}

text/html

Sample:
{"$id":"1","correlation_id":"sample string 1","transaction_status":"sample string 2","validation_status":"sample string 3","transaction_type":"sample string 4","transaction_id":"sample string 5","transaction_tag":"sample string 6","method":"sample string 7","amount":"sample string 8","currency":"sample string 9","cvv2":"sample string 10","token":{"$id":"2","token_type":"sample string 1","token_data":{"$id":"3","value":"sample string 1"}},"card":{"$id":"4","type":"sample string 1","cardholder_name":"sample string 2","card_number":"sample string 3","exp_date":"sample string 4"},"bank_resp_code":"sample string 11","bank_message":"sample string 12","gateway_resp_code":"sample string 13","gateway_message":"sample string 14"}

application/xml, text/xml

Sample:
<PayeezyTransactionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AcePortal.Domain.Models.Payeezy">
  <amount>sample string 8</amount>
  <bank_message>sample string 12</bank_message>
  <bank_resp_code>sample string 11</bank_resp_code>
  <card>
    <card_number>sample string 3</card_number>
    <cardholder_name>sample string 2</cardholder_name>
    <exp_date>sample string 4</exp_date>
    <type>sample string 1</type>
  </card>
  <correlation_id>sample string 1</correlation_id>
  <currency>sample string 9</currency>
  <cvv2>sample string 10</cvv2>
  <gateway_message>sample string 14</gateway_message>
  <gateway_resp_code>sample string 13</gateway_resp_code>
  <method>sample string 7</method>
  <token>
    <token_data>
      <value>sample string 1</value>
    </token_data>
    <token_type>sample string 1</token_type>
  </token>
  <transaction_id>sample string 5</transaction_id>
  <transaction_status>sample string 2</transaction_status>
  <transaction_tag>sample string 6</transaction_tag>
  <transaction_type>sample string 4</transaction_type>
  <validation_status>sample string 3</validation_status>
</PayeezyTransactionResponse>