Transactions

Get transaction

Get the details of a transaction

get/transactions/{id}

Request

Path parameters

idstring required
Example:6307a60c41de27127515a575

Identifier of the resource

Headers

Accept-Language'es' | 'en'

Use for knowing which language to use

X-Child-Company-Idstring

In the case of a holding company, the company id of the child company to which will process the request.

Response

successful

amountinteger required

The amount of the transaction.

chargestring required

Randomly assigned unique order identifier associated with the charge.

created_atinteger required

Date and time of creation of the transaction in Unix format.

currencystring required

The currency of the transaction. It uses the 3-letter code of the International Standard ISO 4217.

feeinteger required

The amount to be deducted for taxes and commissions.

idstring required

Unique identifier of the transaction.

livemodeboolean required

Indicates whether the transaction was created in live mode or test mode.

netinteger required

The net amount after deducting commissions and taxes.

objectstring required

Object name, which is transaction.

statusstring required

Code indicating transaction status.

typestring required

Transaction Type

Example response

{
  "amount": 1000,
  "charge": "5ee7ec58885a45585e6d9f8m",
  "created_at": 1553273553,
  "currency": "MXN",
  "fee": 560,
  "id": "5ee7ec5b8dea41085erb7f9e",
  "livemode": true,
  "net": 440,
  "object": "transaction",
  "status": "pending",
  "type": "capture"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.