POST v2/{token}/transacao/cancelar/{transacao}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
token

string

Required

transacao

string

Required

Body Parameters

CapturaRequest
NameDescriptionTypeAdditional information
on_behalf_of

string

None.

amount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "on_behalf_of": "sample string 1",
  "amount": 2
}

application/xml, text/xml

Sample:
<CapturaRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DoctusPay.Request">
  <amount>2</amount>
  <on_behalf_of>sample string 1</on_behalf_of>
</CapturaRequest>

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.