POST Token/PaymentToken

Request Information

URI Parameters

None.

Body Parameters

TokenRequest
Name Description Type Additional information
method

string

None.

card

CardData

None.

check

CheckData

None.

additional_data

Collection of AdditionalData

None.

Request Formats

application/json, text/json

Sample:
{
  "method": "sample string 1",
  "card": {
    "number": "sample string 1",
    "code": "sample string 2",
    "expiration_date": "sample string 3",
    "track_data": "sample string 4",
    "action_code": "sample string 5",
    "token": "sample string 6",
    "ksn": "sample string 7",
    "pin_block": "sample string 8",
    "auth_code": "sample string 9",
    "voucher_number": "sample string 10",
    "entry_mode": "sample string 11",
    "pin_ksn": "sample string 12",
    "payment_token": "sample string 13",
    "merchant_terminal_id": "sample string 14",
    "googlepay_token": "sample string 15",
    "applepay_token": "sample string 16",
    "card_network": "sample string 17"
  },
  "check": {
    "aba_code": "sample string 1",
    "account_number": "sample string 2",
    "account_type": "sample string 3",
    "bank_name": "sample string 4",
    "check_number": "sample string 5",
    "sec_code": "sample string 6",
    "action_code": "sample string 7",
    "token": "sample string 8",
    "payment_token": "sample string 9"
  },
  "additional_data": [
    {
      "id": "sample string 1",
      "value": "sample string 2"
    },
    {
      "id": "sample string 1",
      "value": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<TokenRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <method>sample string 1</method>
  <card>
    <number>sample string 1</number>
    <code>sample string 2</code>
    <expiration_date>sample string 3</expiration_date>
    <track_data>sample string 4</track_data>
    <action_code>sample string 5</action_code>
    <token>sample string 6</token>
    <ksn>sample string 7</ksn>
    <pin_block>sample string 8</pin_block>
    <auth_code>sample string 9</auth_code>
    <voucher_number>sample string 10</voucher_number>
    <entry_mode>sample string 11</entry_mode>
    <pin_ksn>sample string 12</pin_ksn>
    <payment_token>sample string 13</payment_token>
    <merchant_terminal_id>sample string 14</merchant_terminal_id>
    <googlepay_token>sample string 15</googlepay_token>
    <applepay_token>sample string 16</applepay_token>
    <card_network>sample string 17</card_network>
  </card>
  <check>
    <aba_code>sample string 1</aba_code>
    <account_number>sample string 2</account_number>
    <account_type>sample string 3</account_type>
    <bank_name>sample string 4</bank_name>
    <check_number>sample string 5</check_number>
    <sec_code>sample string 6</sec_code>
    <action_code>sample string 7</action_code>
    <token>sample string 8</token>
    <payment_token>sample string 9</payment_token>
  </check>
  <additional_data>
    <AdditionalData>
      <id>sample string 1</id>
      <value>sample string 2</value>
    </AdditionalData>
    <AdditionalData>
      <id>sample string 1</id>
      <value>sample string 2</value>
    </AdditionalData>
  </additional_data>
</TokenRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
Name Description Type Additional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.