POST v2/{token}/token

Request Information

URI Parameters

NameDescriptionTypeAdditional information
token

string

Required

Body Parameters

TokenCartaoRequest
NameDescriptionTypeAdditional information
holder_name

string

None.

expiration_month

string

None.

expiration_year

string

None.

card_number

string

None.

security_code

string

None.

Request Formats

application/json, text/json

Sample:
{
  "holder_name": "sample string 1",
  "expiration_month": "sample string 2",
  "expiration_year": "sample string 3",
  "card_number": "sample string 4",
  "security_code": "sample string 5"
}

application/xml, text/xml

Sample:
<TokenCartaoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DoctusPay.Request">
  <AnoValidade>sample string 3</AnoValidade>
  <CCV>sample string 5</CCV>
  <MesValidade>sample string 2</MesValidade>
  <Numero>sample string 4</Numero>
  <holdNomeer_name>sample string 1</holdNomeer_name>
</TokenCartaoRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.