Transfiya
(payProduct=08)
request address
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
Content-Type
application/json
Request body
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
Response parameters
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
Callback notifications
Submission method:POST
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
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:
Última actualización