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
  • request address
  • How the request is made
  • Response parameters
  • Callback notifications
  1. Welcome to Supefina's API documentation
  2. Payout
  3. Colombia

Transfiya

(payProduct=08)

request address

The name of the environment
URL

SandBox

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

Formal environment

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

How the request is made

Request header

Key
Value

Content-Type

application/json

Request body

Variable name
type
Required
description

countryId

String

Yes

Country number

Columbia, COL

orderAmount

String

Yes

The amount of the order 3,000<= orderAmount <= 3,000,000,decimals are not supported

payProduct

String

Yes

Transfiya:08

merId

String

Yes

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

currency

String

Yes

Currency

Colombian Peso: COP

merOrderNo

String

Yes

Merchant order number

customerName

String

Yes

Username

customerAddress

String

No

User's address

customerIdentification

String

Yes

The ID number of the user

00: Identification Card (CC) – up to 10 digits

01: Alien Identity Card (CE) - 6 digits

sign

String

Yes

nonceStr

String

Yes

Random strings The length cannot exceed 32 bits

customerEmail

String

No

The user's email address

lastName

String

No

The user's last name

customerPhone

String

No

User phone

customerIdentificationType

String

Yes

The type of ID number

00: Identification Card (CC)

01: Alien Identity Card (CE)

02: Tax identification number

03: Passport

06: Miscellaneous

07: Proof of citizenship

08: Residence permit

accountType

String

Yes

Account type 05:PHONE

account

String

Yes

Beneficiary account number. After the payment is initiated, the user needs to go to the destination APP within 12 hours to confirm, otherwise the funds will be returned to the original way and the callback transaction will fail.

bankName

String

Yes

The name of the bank

callbackUrl

String

No

Callback address

requestData

JSONObject

No

Trade additional parameters This field is a json object, and you don't need to pass it or pass "null"

Sample request

{
    "account": "3234517213",
    "accountType": "05",
    "bankName": "NEQUI",
    "callbackUrl": "https://www.3spicy.bet/api/pay_notice/out_payback/payId/5739B8C9398C4B5494A355B16D0F154C",
    "countryId": "COL",
    "currency": "COP",
    "customerAddress": "EZzpXldfRI",
    "customerEmail": "[email protected]",
    "customerIdentification": "45550444",
    "customerIdentificationType": "00",
    "customerName": "soraya",
    "customerPhone": "3234517213",
    "lastName": "cc",
    "merId": "8301066506090055",
    "merOrderNo": "W202406162339371529M",
    "nonceStr": "14CF9D011E9B4627B69E06264824DC79",
    "orderAmount": "190000",
    "payProduct": "08",
    "sign": "2837C181EABFBF7D7189D02E80715A20"
}

Response parameters

Variable name
type
description

code

String

Response coding

data

Object

Response data

amount

BigDecimal

The amount of the order

fee

BigDecimal

Advance handling fee will be charged

merCode

String

Merchant ID

merOrderNo

String

Merchant order number

supefinaOrderNo

String

Supefina order number

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

msg

String

Response Information

Sample response

{
    "code": "200",
    "data": {
        "amount": 105.00,
        "fee": 3.00,
        "merCode": "8202157333970291",
        "merOrderNo": "8485233309941743872",
        "supefinaOrderNo": "2024052001860105b0fae306a6e43",
        "transactionStatus": "00"
    },
    "msg": "success "
}

Callback notifications

Submission method:POST

Variable name
type
description

amount

String

The amount of the order

countryId

String

Country number Reference: Dictionary table - country number Columbia, COL

customerName

String

Beneficiary's name

fee

String

Advance handling fee will be charged

merId

String

Merchant ID

merOrderId

String

Merchant order number

msg

String

message

nonceStr

String

Random strings The length cannot exceed 32 bits

realityAmount

String

Paid-in amoun

realityFee

String

Actual handling fee

sign

String

signature

status

String

Transaction status

successTime

String

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": "48250.00",
    "countryId": "COL",
    "customerName": "Fredi",
    "fee": "6627.25",
    "merId": "8301409897370054",
    "merOrderId": "W20240617160938365CL",
    "msg": "null",
    "nonceStr": "26f919f0-f50a-45a2-b5f0-aa3901",
    "realityAmount": "48250.00",
    "realityFee": "6627.25",
    "sign": "FB19534FAD9FF7176CB809F9696BA565",
    "status": "01",
    "successTime": 1718657547294,
    "supefinaOrderId": "2024061700020017d60360e7ac647",
    "transactionType": "02"
}

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";
}
AnteriorTransferSiguienteExplanation of the reason for the payment failure

Última actualización hace 10 días

Reference:

Reference:

signature

Refer to:

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
List of Colombian banks
Notification Callbacks
Response Status Code
Dictionary Table - Trading Order Status