Request Data for Process Transaction

Additional data can be sent to store information along with the transaction. The following keys are NOT allowed: _accountNumber, userAgent, fingerprint, sourcePlatform, tokenizationID, trazabilyCode, transactionCycle, RequestId, PartnerAuthCode, onTest, threeDSEnrolled, threeDSAuthenticated.

Additionally, certain processing parameters can be included in this field:

Transaction Initiator Indicator

If a specific Payment Initiator Indicator value is required for processing, it can be sent as additional data.

{
  //...
  "additional": {
    "initiatorIndicator": "CARDHOLDER_COF"
  }
}

Response Data for Process Transaction

There is additional data received in response to a transaction processing request. The reception of this data depends on various factors and comes in the response as additional.

{
    "status": {
        "status": "APPROVED",
        "reason": "00",
        "message": "Approved",
        "date": "2024-07-17T15:28:35-05:00"
    },
    // ...
    "additional": {
      // Additional data
      "bin": "411076",
      "terminalNumber": "00990101",
      // ...
    }
}

Examples of Additional Data

KeyExampleDescription
credit{"type": "00", "groupCode": "C", "code": "0", "installments": 0}

Credit data, learn more at Credit.

totalAmount63.58

Total amount.

interestAmount5.78

Interest amount.

installmentAmount2.65

Installment amount.

iceAmount0

ICE amount.

line123

Position in the closing file (Line).

cardTypecredit

Card type.

trazabilyCode999900

Traceability code.

transactionCycle3

Transaction cycle.

RequestId1560778247

Request ID.

PartnerAuthCode5d029607e1abb

Partner authorization code.

merchantCode4682312740123

Merchant code.

terminalNumber00990101

Terminal number.

bin411076

BIN, first digits of the card.

bankNameBank Name

Bank name.

accountNumber1111

Account number.

expiration1222

Card expiration in the format (month)(year).

installments2

Number of installments.

pocket80

Pocket identification number depending on the provider.

fiscalControlNumberControl: MYHFC-KEHKC

Fiscal control number.

fiscalControlProviderET

Fiscal control provider, example ET as Evertec.

PANklbrfTC1ol9BV7sFP9bw66 nLH77QMYAA3GRZrzjutci Fv/gqg9xZs8n7gPNxRRsl

Card number + initialization vector encrypted in base64, learn more at Card return

canRetrytrue

Indicates whether a declined or failed transaction is eligible for reprocessing with an alternative payment method.

requiresConfirmationtrue

Indicates whether a transaction requires confirmation before processing.

Credit

This field specifies the credit options available to finance the total amount of a payment. The structure of the credits array depends on the provider and service configuration.

There are two ways to report credits:

  • Grouped structure: groups the same credit condition in installments and uses type, code, and groupCode as provider codes.
  • Per-installment structure: reports each financing option as a separate element and uses kind as the functional identifier of the credit modality.

Grouped Structure:

  • type: Identifier that represents the credit type.
  • groupCode: Code that groups credits by category.
  • installments: Number of installments available for the credit.
  • code: Unique code associated with the specific credit.
  • description: Detailed description of the financing terms.

Credits by Provider

DATAFAST - MEDIANET - AUSTRO - INTERDIN

They share the same structure and credit description according to groupCode and code:

groupCode
description
C
Current payment
Payment in one installment
D
Deferred without interest
Payment in installments without interest
M
Deferred plus
Mix with or without interest, defined by the issuing bank
P
Deferred with interest
Payment in installments with interest
N
Regular payment plan
X
Special payment plan
Payment with no interest charged
L
Preferential deferred
Payment in installments with lower interest
B
0% plan
  [
    {
      "code" : "1",
      "type" : "00",
      "groupCode" : "C",
      "installments" : [1],
      "description" : "Current payment, 1-month grace period",
    }
    {
      "code" : "3",
      "type" : "01",
      "groupCode" : "D",
      "installments" : [3],
      "description" : "Interest-free installment payment with a 3-month grace period before payments begin",
    }
    ...
  ]

REDEBAN

groupCode
description
C
Installments
{
      "code": "0",
      "groupCode": "C",
      "type": "00",
      "installments": [1,2,3,4,5,12],
      "description": "Installments",
}

TRANSERVER

groupCode
description
Q
PLAN 0
C
Current payment
  [
    {
      "code": "000000",
      "groupCode": "C",
      "type": "00",
      "description": "Current payment",
      "installments": [1]
    },
    {
      "code": "03BCR",
      "type": "0",
      "groupCode": "Q",
      "installments": [3],
      "description": "PLAN 0 BCR 3C BCR"
    },
  ]

PAYSTUDIO

groupCode
installments
description
Q
[1,12]
Installments
Q
[1]
No installments
Q
[1,12]
Installments at cash price
 [
    {
      "code": "00",
      "groupCode": "Q",
      "type": "00",
      "description": "No installments",
      "installments": [1]
    },
    {
      "code": "00",
      "groupCode": "Q",
      "type": "00",
      "installments": [3],
      "description": "Installments",
    },
    {
      "code": "00",
      "groupCode": "Q",
      "type": "00",
      "installments": [2,24],
      "description": "Installments at cash price",
    },
 ]

PAYSTUDIO TS flavour with per-installment structure

This structure is currently available only for PAYSTUDIO services with flavour equal to TS. Other providers and other PAYSTUDIO flavour values continue to use the grouped structure described above.

In PAYSTUDIO TS flavour, credits is returned without type, code, groupCode, or installments. Each element represents a single financing option.

Structure:

  • installment: Number of installments for the option.
  • description: Text visible to the payer.
  • kind: Classification of the credit modality. This value replaces network codes when selecting and processing the installment.
[
  {
    "installment": 1,
    "description": "No installments",
    "kind": "ISSUER_NOT_FEE"
  },
  {
    "installment": 2,
    "description": "Interest-free installments",
    "kind": "MERCHANT_WITHOUT_INTEREST"
  },
  {
    "installment": 3,
    "description": "Interest-free installments",
    "kind": "ISSUER_WITHOUT_INTEREST"
  },
  {
    "installment": 6,
    "description": "Installments",
    "kind": "ISSUER_UNKNOWN"
  }
]

In this structure, the integrator must send the selected option's kind inside instrument.credit along with the installment number:

{
  "instrument": {
    "credit": {
      "installment": 6,
      "kind": "ISSUER_UNKNOWN"
    }
  }
}

If kind is sent together with type or code, kind takes priority for PAYSTUDIO TS flavour services with this structure. If credit is not sent, the default one-installment credit is used.

kind Values

The kind value is built using the SOURCE_MODALITY format:

Source
Meaning
MERCHANT
Merchant credit
ISSUER
Issuer credit
Modality
Meaning
NOT_FEE
Payment without installments or current credit
WITHOUT_INTEREST
Interest-free installments
UNKNOWN
Installments with unknown interest

Equivalence examples:

salePlan
subType
installment
kind
01
01
1
MERCHANT_NOT_FEE
01
01
2 or more
MERCHANT_WITHOUT_INTEREST
02
02
1
ISSUER_NOT_FEE
02
04
2 or more
ISSUER_WITHOUT_INTEREST
02
02
2 or more
ISSUER_UNKNOWN

For UNKNOWN credits in PAYSTUDIO TS flavour, use the interest service before processing when the final installment amount needs to be known. If the service cannot determine the applicable rate, the request may be rejected with reason NR.