Two Click Payment
Two-click payment is a payment model concept that refers to a simplified checkout process for online purchases. The idea behind two-click payment is to reduce the number of steps required for customers to complete a transaction, making the process fast and convenient. Since the customer's credit card data information is already stored, they only need to fill in the Card Security Code to process the transaction.
Environment
Method
URL
Data Request
No
Name
Type
Mandatory
Min Length
Max Length
Description
Sample Request
{
"customer": {
"id": "hajar.finnet@gmail.com",
"email": "hajar.finnet@gmail.com",
"firstName": "Hajar",
"lastName": "Ismail",
"mobilePhone": "+6281286288844"
},
"order": {
"id": "1685522371836",
"amount": "1000",
"currency": "IDR",
"description": "Testing"
},
"url": {
"callbackUrl": "https://sandbox.finpay.co.id/simdev/finpay/result/tangkapCurl.php"
},
"card": {
"token": "81b36a850c2e40458bad296f952084b516c919ca717d448722782769b81b9fd9",
"storedOnFile": "STORED"
},
"sourceOfFunds": {
"type": "cc"
}
}Data Response
No
Name
Type
Mandatory
Min Length
Max Length
Description
2
responseMessage
String
M
1
500
Response Message
3
paymentCode
String
O
1
30
Payment Code
4
redirecturl
String
M
1
320
Redirect URL
5
expiryLink
String
M
1
19
Expiry Link
6
processingTime
Number
M
1
20
Processing Time
7
appurl
String
O
1
320
App URL
8
imageurl
String
O
1
320
Image URL
9
accountList
Array
O
1
4
Account List
Sample Response
Last updated

