POST v2/{token}/transacao/cartaotokenizado

Request Information

URI Parameters

NameDescriptionTypeAdditional information
token

string

Required

Body Parameters

TransacaoCartaoTokenizadoRequest
NameDescriptionTypeAdditional information
amount

integer

None.

currency

string

None.

description

string

None.

payment_type

string

None.

capture

boolean

None.

on_behalf_of

string

None.

reference_id

string

None.

token

string

None.

customer

string

None.

installment_plan

ParcelamentoRequest

None.

Request Formats

application/json, text/json

Sample:
{
  "amount": 1,
  "currency": "sample string 2",
  "description": "sample string 3",
  "payment_type": "sample string 4",
  "capture": true,
  "on_behalf_of": "sample string 6",
  "reference_id": "sample string 7",
  "token": "sample string 8",
  "customer": "sample string 9",
  "installment_plan": {
    "mode": "sample string 1",
    "number_installments": 2
  }
}

application/xml, text/xml

Sample:
<TransacaoCartaoTokenizadoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DoctusPay.Request">
  <Parcelamento>
    <mode>sample string 1</mode>
    <number_installments>2</number_installments>
  </Parcelamento>
  <amount>1</amount>
  <capture>true</capture>
  <currency>sample string 2</currency>
  <customer>sample string 9</customer>
  <description>sample string 3</description>
  <on_behalf_of>sample string 6</on_behalf_of>
  <payment_type>sample string 4</payment_type>
  <reference_id>sample string 7</reference_id>
  <token>sample string 8</token>
</TransacaoCartaoTokenizadoRequest>

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.