Prosa

This page provides a guide to integrate Prosa with DEUNA.

Supported operations

Prosa integration in your payment strategy with DEUNA allows you to perform the following operations:

OperationProsa NameMTI Request / ResponseComment
AuthorizationCheck-in0200 / 0210Field 3: "000000"
Field 125: "**HOSTB24 00"
Field 126: "(hold days)+000****000000"
Purchase (Auto Capture)Venta0200 / 0210Field 3: "000000"
Field 125: "**HOSTB24 10"
Field 126: "0000****000000"
Full Refund-Next day / Partial RefundDevolucion0200 / 0210Field 3: "020000"
Field 125: "**HOSTB24 10"
Full / Partial CaptureCheck-out0220 / 0230
Full Refund-Same dayReverso0420 / 0430
VoidReverso0420 / 0430

Supported features

  • 3DS (Deuna's or external MPI)
  • Recurrent Payments
  • MSI / MCI
  • MOTO
📘

Multiple partial captures and refunds can be enabled through configuration. Contact DEUNA to activate these features

Supported payment methods

  • Debit and Credit Cards: Visa and Mastercard.

Integrate Prosa

After searching for Prosa in Connections, you must configure Prosa in your store.

1. Configure Prosa in your store

In Connections, a window like the following will open:

  1. Enter the following credentials:

    CredentialProsa FieldDescriptionValue in Sandbox
    MonedaProcessor CurrencyMXN
    MCC18 MERCHANT TYPEBusiness Line (MCC)4-digit code. E.g. 3076
    Código de Adquirente32 ACQUIRING INSTITUTION ID CODEAcquiring bank code"127" for BAZ
    Merchant ID42 CARD ACCEPTOR ID CODECode of the institution that accepts the transaction. Suggested to send as "00000000"Code provided by Prosa
    Receiving Institution Id Code100 RECEIVING INSTITUTION ID CODEApplies only to switches. Send the value "000000000"9-digit code provided by Prosa, if one is not available, place "000000000"
    Pre Authorization hold (days)126.2 Preauthorization HoldDays you want the authorization to remain valid. Suggested to keep as "00"Example: "2"
    ID Terminal41 CARD ACCEPTOR TERMINAL IDTerminal ID, assigned by DEUNA (Can be any value, even repeated)Suggested value: "00000001"
    Afiliación148.2 Retailer IDAffiliation code provided by the Merchant's Bank (7 digits for MX)Example: "8092738"
    Terminal Name120.2 Terminal NameTerminal code in Deuna"DEUNA T1"
    Dueño de la Terminal60.2 Owner FIIDBank FIID - B, P or D depending on the bank + 3 digits"B127" For BAZ
    Red Lógica de la Terminal60.3 Logic NetworkDeuna logic network with Prosa. Constant value "DUNA""DUNA"
    Time Offset de la Terminal en Minutos (e.g +1h -> +060)60.4 Time OffsetTime difference of the terminal with Prosa. Constant value "+000"Suggested value: "+000"
    Terminal City43.2 Terminal CityAbbreviation of the City where the business is located (max 4 characters)Example: "CDMX"
    Terminal State43.3 Terminal StateState where the business is located (two digits)Example: "DF"
    Terminal Country43.4 Terminal CountryCountry where the business is located (two digits)Example: "MX"
    Terminal ZIP Code
    1. POSTAL CODE
    Postal code where the business is located (5 digits)Example: "11510"
  2. Choose the type of operation you want to perform:

    • Purchase
    • Authorization
  3. Choose if you want to activate 3DS.

  4. Click Connect.

📘

Strongly recommended to use async refunds for Authorization + Capture flow

If you are using authorization and capture flow, it is strongly recommended to configure the Refund delay capability to one day at minimum. Despite Prosa may return a success response, the issuing bank can deny internally the Capture and the Authorization reversals within the same day.

2. Process transactions in Prosa

From this point on, you can now process transactions with Prosa through DEUNA.

3. Test your Prosa connection in Sandbox

Credentials

Moneda *
MXN

MCC *
3076

Código de Adquirente *
127

Merchant ID *
123456789

Receiving Institution Id Code *
000000000

Pre Authorization hold (days) *
2

ID Terminal *
00000001

Afiliación *
8092738

Terminal Name *
DEUNA T1

Dueño de la Terminal *
B127

Red Lógica de la Terminal *
DUNA

Time Offset de la Terminal en Minutos (e.g +1h -> +060) *
+000

Terminal City *
CDMX

Terminal State *
DF

Terminal Country *
MX

Terminal ZIP Code *
11510

Simulate approvals and denials

  • Approve transactions: order.total_amount <10000 cents
  • Deny transactions: order.total_amount > 9999 and < 1000000 cents
"order": {
	"total_amount": 10100, //larger than 9999 cents, then, denied.

Testing Subscriptions and Recurrent Payments

  1. Recurrence fields to be included in the purchase v2 request:
    Field nameTypeValuesComments
    card_idUUIDObtained when storing (tokenizing) the card with Deuna's vault:
    - The card_id is unique for each credit card PAN and Expiration.
    - A merchant might store the same card_id for different accounts.
    initiator_typeENUM String (mandatory)customer, merchantTo define if the transaction is generated by the cardholder or by the merchant
    recurrence.first_time_useBoolean (mandatory)true, falseTo define if it is the first transaction in the series or a subsequent one
    recurrence.scheduledBoolean (optional)true, falseTo define if the recurrent payment
    recurrence.idUUIDObtained when requesting a first transaction of a recurrent series.
    recurrence.bill_referenceStringMandatory only in periodic payments requested by the merchant as subscriptions.
  2. Prosa subscription and recurrent payment related fields
    Prosa FieldValuesPurchase V2 Input
    Field 22 (POS Entry mode)01: First Transaction
    10: Subsequent transaction
    recurrence.first_time_use
    Field 25 (POS Condition Code)00: Customer-Initiated
    01: Merchant-Initiated
    08: MOTO
    initiator_type
    market_type
    Field 63 - Token Q209: Non-scheduled payment (ecommerce)
    02: Automatic scheduled payment
    08: MOTO transactions
    initiator_type
    recurrence.scheduled
    market_type
    Field 63 - Token PJ

    First Digit:
    - E: First Transaction
    - M: Subsequent Transaction merchant-initiated
    - C: Customer Subsequent Transation customer-initiated
    - " ": Customer-Non scheduled

    Second Digit:
    - C: Non-Scheduled Payment
    - R: Scheduled Payment

    initiator_type
    recurrence.first_time_use
    recurrence.scheduled
    Field 63 - Token C4Customer-Initiated: "1025100Y3660"
    Merchant-Initiated: "102410003660"
    MOTO Transactions: "203310003014"

    Y*: Antifraud or 3DS Results (0, 1, 2)
    initiator_type
    recurrence.first_time_use
    market_type
    Field 63 - Token R4Stringrecurrence.bill_reference
    Field 63 - Token 17Network Transaction ID for VisaRelated to recurrence.id, obtained in the first transaction and sent in the subsequents
    ,Field 63 - Token 20Network Transaction ID for MCRelated to recurrence.id, obtained in the first transaction and sent in the subsequents
    Field 63 - Token CHValue depending if it is scheduled, and if it was requested by the customer or the merchantinitiator_type
    recurrence.first_time_use
    recurrence.scheduled

Postman collection

Credentials Merchant MX.postman_environment.json

Prosa Collections.postman_collection.json


Did this page help you?