Card
(payProduct=18)
Última actualización
(payProduct=18)
Última actualización
1. The user places an order on the merchant's website/app and selects Card payment;
2. The merchant initiates a card payment request to Supefina;
3. Supefina returns the card payment URL address;
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.
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
Peru: PER
currency
String
Yes
Currency
Peruvian Sol: PEN
orderAmount
String
Yes
The amount of the order The unit peso, which needs to be divided into decimal places, supports two decimal places
merId
String
Yes
Merchant ID Merchant ID acquisition path: Supefina Merchant Background - Merchant Management - Basic Information - Merchant IDID
merOrderNo
String
Yes
Merchant order number
nonceStr
String
Yes
Random strings The length cannot exceed 32 bits
payProduct
String
Yes
Card:18
checkOut
Boolean
Yes
Cash register
true
: The cashier is required
false
: The cash register is not required
Pass true
returnUrl
Boolean
No
Return address where the payment is complete
callbackUrl
String
No
Callback address
productName
String
Yes
The title of the product The maximum number of characters is 50
productQuantity
Integer
No
The number of units Radius[0,1000]
customerEmail
String
No
Customer's email address
3-256 characters
The e-commerce industry must be transmitted
receiverAddressMain
String
No
Address, street
0-50 characters
The e-commerce industry must be transmitted
receiverAddressExtra
String
No
Address, community, house number
0-50 characters
The e-commerce industry must be transmitted
receiverCity
String
No
Recipient city
0-50 characters, can include spaces, hyphens, apostrophes, commas, and dots
The e-commerce industry must be transmitted
receiverProvince
String
No
receiverCountry
String
No
Recipient country
The e-commerce industry must be transmitted
receiverZipCode
String
No
Zip code 0-12 letters or numbers The e-commerce industry must be transmitted
receiverPhone
String
No
Recipient's phone 5-20 characters, add area code. For example: +1 111111111 The e-commerce industry must be transmitted
alias
String
No
Username 0-60 characters A must-have for the gaming industry
sign
String
Yes
customerName
String
Yes
Username
lastName
String
No
The user's last name
firstName
String
No
Username
customerIdentification
String
No
Proof of identity (e.g. ID number)
customerIdentificationType
String
No
Type of identification (e.g. ID card)
description
String
Yes
description
It cannot contain special symbols and should not exceed 200 characters in length
code
String
Response coding
data
Object
Response data
amount
BigDecimal
The amount of the order
currency
String
Currency
merCode
String
Merchant ID
merOrderNo
String
Merchant order number
url
String
Transaction links
msg
String
Response Information
Submission method:POST
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 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
identifier
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:
The test environment provides full payment functionality, but it is only simulated processing with no actual banking transactions.
Below you will find some test cards that you can use in Test Mode (UAT) to ensure that your integration is ready. Use them with any CVV, enter a future expiration date.
If the order amount in the test environment is higher than 1000, the 3DS authentication mode will be triggered, once the 3DS mode appears, enter 1234 as the verification code.
Test card number for 3D Secure Verified transactions:
4456528080389860
4456529267234200
4456529165328302
4456524869770255
4456523340069956
Test card number for transactions rejected by 3D Secure Authentication:
5451951574925480
Test card number for transactions rejected without 3D Secure authentication:
4349008516656431
If you encounter an abnormal status code during the test, please contact Supefina operation personnel directly.
Reference:
Reference:
For details, see
The recipient's province 0-40 characters Parameter: Example: NY The e-commerce industry must be transmitted
Reference: Example: BRA
signature
For details, see
Reference:
Peruvian Sol: PEN
Reference: Peru: PER
For details, please refer to: