Supefina Payment API
English
English
  • Welcome to Supefina's API documentation
    • Quick Start
    • Signature algorithms
    • Notification callback description
    • Cashier (only for merchants in the e.commerce industry)
      • 🇲🇽Mexico
      • 🇵🇪Peru
    • Payin
      • 🇲🇽Mexico
        • SPEI
        • Cash
        • Card
        • Payin Simulation (SPEl)
        • Payin Simulation (Cash &Card)
      • 🇨🇴Colombia
        • PSE
        • Bancolombia
        • Cash
        • All-Checkout
        • Payin simulation
      • 🇵🇪Peru
        • Transfer
        • Cash
        • Wallet
        • Card
        • Payin simulation
      • 🇧🇷Brazil
        • PIX
        • Payin simulation
      • 🇪🇨Ecuador
        • Transfer
        • Cash
        • Card
        • Wallet
        • Payin simulation
      • 🇦🇷Argentina
        • Debin
    • Payout
      • 🇲🇽Mexico
        • SPEI
        • Explanation of the reason for the payout failure
        • payout simulation
      • 🇨🇴Colombia
        • Transfer
        • Transfiya
        • Explanation of the reason for the payment failure
        • Payout simulation
      • 🇵🇪Peru
        • Transfer
        • Explanation of the reason for the payout failure
        • Payout simulation
      • 🇨🇱Chile
        • Transfer
        • Payout simulation
      • 🇧🇷Brazil
        • PIX
        • Explanation of the reason for the payment failure
        • Payout simulation
      • 🇪🇨Ecuador
        • Transfer
        • EC Transfer
        • Payout simulation
      • 🇦🇷Argentina
        • Transfer
    • Inquire
      • Transaction inquiries
      • Balance inquiry
      • Credential inquiry
      • Query the settlement status
    • Dictionaries and Resources
      • Response status code
      • Dictionary table
      • Download
      • Test parameters
Con tecnología de GitBook
En esta página
  • Payment Process
  • The address of the request
  • Request parameters
  • Sample request
  • Response parameters
  • Callback notifications
  1. Welcome to Supefina's API documentation
  2. Payin
  3. Ecuador

Transfer

(payProduct=12)

AnteriorEcuadorSiguienteCash

Última actualización hace 10 días

Payment Process

1. The user places an order on the merchant's website/app and selects Transfer to pay;

2. The merchant initiates a Transfer payment request to Supefina;

3. Supefina returns the URL address of Transfer payment;

4. The merchant will open the address on the user's side;

5. The user shall verify and pay according to the prompts on the page;

6. The user pays successfully;

7. Supefina will notify the merchant of the payment success information.

The address of the request

The name of the environment
URL

SandBox

POST http://8.130.9.219:8899/api/supefina/transactions/payin

Formal environment

POST https://api.supefina.net/api/supefina/transactions/payin

Request parameters

Request header

Key
Value

Content-Type

application/json

Request body

Variable name
type
Required
description

countryId

String

Yes

Country number

Ecuador: ECU

merId

String

Yes

Merchant ID Merchant ID acquisition path: Supefina Merchant Background - Merchant Management - Basic Information - Merchant ID

payProduct

String

Yes

Transfer:12

currency

String

Yes

Currency

USD: USD

merOrderNo

String

Yes

Merchant order number

orderAmount

String

Yes

The amount of the order 0>= orderAmount <= 10,000

customerEmail

String

Yes

The user's email address

customerName

String

Yes

User's name

lastName

String

Yes

The user's last name

customerIdentificationType

String

Yes

The type of user identification file

07: Identity Document (CI)

10: Passport number (PP) (only for cash)

03: Passport Identification (PAS) (only for BankTransfer)

02: Tax Identification Number (RUC)

customerIdentification

String

Yes

The user's ID number

nonceStr

String

Yes

Random strings The length cannot exceed 32 bits

sign

String

Yes

signature

callbackUrl

String

No

Callback address

expireTimeL

Long

No

Expiration time Unit: seconds; The default is 1 day, and merchants are advised to control the time by themselves

customerPhone

String

No

User phone

checkOut

Boolean

No

Cash register

true: The cashier is required

false: The cash register is not required It is recommended to pass true

Sample request

{
    "countryId": "ECU",
    "merId": "8101499116984570",
    "payProduct": "12",
    "currency": "USD",
    "merOrderNo": "devtest0005",
    "orderAmount": "200",
    "customerEmail": "[email protected]",
    "customerName": "testName",
    "lastName": "test",
    "customerIdentificationType": "07",
    "customerIdentification": "87654321",
    "nonceStr": "123",
    "sign": "R9d1Enp0XUS5YMwv0EP$blm9mWTWwyoB"
}

Response parameters

Variable name
type
description

code

String

Response coding

msg

String

Response Information

data

Object

Response data

merCode

String

Merchant ID

merOrderNo

String

Merchant order number

supefinaOrderNo

String

Supefina order number

amount

BigDecimal

The amount of the order

fee

BigDecimal

Advance handling fee will be charged

identifier

String

Payment Reference

transactionStatus

String

Order status

Whether the initiation status of the order is successful or not has nothing to do with the real transaction status of the order.

00: The order is successful

04: Failed to place an order

url

String

Transaction links

Sample response

{
    "code": "string",
    "msg": "string",
    "data": {
        "merCode": "string",
        "merOrderNo": "string",
        "supefinaOrderNo": "string",
        "amount": 0,
        "fee": 0,
        "transactionStatus": "string",
        "url": "string",
        "identifier": "string"
    }
}

Callback notifications

Submission method:POST

Variable name
type
description

amount

String

The amount of the order

countryId

String

Country number

fee

String

Advance handling fee will be charged

identifier

String

Payment Reference

merId

String

Merchant code

merOrderId

String

Merchant order number

msg

String

Information

nonceStr

String

Random strings The length cannot exceed 32 bits

realityAmount

String

Paid-in amount

realityFee

String

Actual handling fee

reference

String

identifier

sign

String

signature

status

String

Transaction status

successTime

Date

The time at which the transaction was successful

supefinaOrderId

String

Supefina order number

transactionType

String

The type of transaction 01:Payin 02:Payout

An example of a callback notification

{
    "amount": "230.00",
    "countryId": "ECU",
    "customerName": "Test Name",
    "fee": "6.90",
    "identifier": "90911988431",
    "merId": "8202980903390150",
    "merOrderId": "17922853818122896811753697281175369728",
    "nonceStr": "935111b9-968e-4b3d-9036-fd1acf",
    "realityAmount": "230",
    "realityFee": "6.90",
    "reference": "90911988431",
    "sign": "69DF96903B85CD1408BD6849C62254C0",
    "status": "01",
    "successTime": 1716149235000,
    "supefinaOrderId": "202405190101010696298b1ca1141",
    "transactionType": "01"
}

Callback notification response

After the merchant successfully receives the callback, it needs to return the specified string synchronously: SUCCESS does not return or returns other content by default, and the notification fails As:

public String test(){
	return "SUCCESS";
}

Reference:

Reference:

For details, see

For details, see

For details, please refer to:

🇪🇨
Dictionary table - country number
Payment type
Dictionary Table - Currency
For details, please refer to: Signature algorithm
Notification Callbacks
Response Status Code
Dictionary Table - Trading Order Status