Cash
(payProduct=03)
Última actualización
(payProduct=03)
Última actualización
1. The user places an order on the merchant's website and selects Cash payment;
2. The merchant initiates a Cash payment request to Supefina;
3. Supefina returns the Cash payment code information;
4. The merchant will display the payment code to the user;
5. The user saves the payment code information to the supported offline outlets for payment;
6. The payment is successful;
7. Supefina notifies the merchant that the order is successful.
SandBox
POST
http://8.130.9.219:8899/api/supefina/transactions/payin
Formal environment
POST
https://api.supefina.net/api/supefina/transactions/payin
Content-Type
application/json
countryId
String
Yes
Country number
Mexico: MEX
currency
String
Yes
Currency
Mexican Peso: MXN
orderAmount
String
Yes
The amount of the order The unit peso, which needs to be divided into decimal places, supports two decimal places
payProduct
String
Yes
Cash:03
merId
String
Yes
Merchant ID Merchant ID acquisition path: Supefina Merchant Background - Merchant Management - Basic Information - Merchant ID
expireTimeL
long
No
Expiration time Unit: seconds
description
String
Yes
Description of the order
merOrderNo
String
Yes
Merchant order number
requestData
Object
Yes
Additional parameters
businessUnit
String
Yes
Business Units
name
String
Yes
The name of the business unit
key
String
Yes
A unique identifier for a business unit
showHtmlFlag
String
Yes
Display the HTML payment page
Use only Cash QR code: 0
Receipts page URL: 1
customerEmail
String
No
Customer's email address
appName
String
No
The name of the app principal
sign
String
Yes
signature
nonceStr
String
Yes
Random strings The length cannot exceed 32 bits
callbackUrl
String
No
Callback address
Note: For the generation of the sign field with the requestData field it is necessary to do it with this format:
&requestData={“businessUnit”:{“name”:“nameExample”,“key”:“111”},‘showHtmlFlag’:“1”}
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
url
String
Transaction links
msg
String
Response description
Submission method:POST
amount
String
The amount of the order
countryId
String
Country number Reference: Dictionary table - country number
fee
String
Advance handling fee will be charged
merId
String
Merchant ID
merOrderId
String
Merchant order number
nonceStr
String
Random strings The length cannot exceed 32 bits
realityAmount
String
Paid-in amount
realityFee
String
Actual handling fee
reference
String
Payment Reference Payment code
sign
String
signature
status
String
supefinaOrderId
String
Supefina order number
transactionType
String
The type of transaction
01
: Payin
02
: Payout
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:
Reference:
Reference:
For details, see
For details, see
For details, please refer to: