Upgrade Account KYC Detail
Get approved KYC data for a Finpay Money user.
Technical Specification
Header
1
Authorization
String
M
Bearer B2B access token. Format: Bearer <access_token>.
2
X-TIMESTAMP
String
M
ISO 8601 timestamp. Format: YYYY-MM-DDTHH:mm:ss+07:00.
3
X-SIGNATURE
String
M
HMAC-SHA512 signature of the request payload.
4
X-PARTNER-ID
String
M
Merchant ID provided by Finnet. Example: SNAPDEVPSD.
5
Content-Type
String
M
Always application/json.
Body Request
1
partnerReferenceNo
String
M
10
64
Unique partner-side reference. Must match the value used for the account upgrade.
2
merchantId
String
M
—
128
Registered and user-bound merchant ID. Finnet provides this during onboarding.
3
merchantPass
String
M
—
—
Merchant password provided by Finnet. Encrypt it with AES-128. Example: 123456 becomes 1jdzWuniG6UMtoa3T6uNLA==.
4
phoneNo
String
M
10
15
Finpay Money user phone number. Use 62xx or 08xx. This identifies the KYC record.
Sample Request
{
"partnerReferenceNo": "3891230000000000029",
"merchantId": "SNAPDEVPSD",
"merchantPass": "1jdzWuniG6UMtoa3T6uNLA==",
"phoneNo": "628123456789"
}Body Response
2
responseMessage
String
M
Request result description.
3
partnerReferenceNo
String
M
Echoes the partnerReferenceNo sent in the request.
4
kycData
Object
C
KYC data object. Returned only when responseCode is 2001200.
5
kycData.encryptedData
String
C
All KYC fields encrypted as an AES-256-CBC Base64 string.
6
kycData.checksum
String
C
SHA-256 hash of the plaintext JSON. Use it to validate data integrity after decryption.
Decrypted KYC data
Decrypt kycData.encryptedData with AES-256-CBC. Use the secret key and IV provided during onboarding. The decrypted plaintext is JSON with the following fields.
1
phoneNumber
String
628123456789
Active user phone number in 62xx format.
2
fullName
String
nabil nur
Full name from the KTP.
3
birthPlace
String
bogor
Place of birth.
4
birthDate
String
1979-04-23
Date of birth in YYYY-MM-DD format.
5
gender
String
P
L for male or P for female.
6
nationalId
String
1536216304290001
16-digit NIK.
7
address
String
kp. tolenjeng RT/RW 007/002, SUKAGALIH, SUKARATU, KAB. TASIKMALAYA 46415
Full KTP address.
8
occupation
String
KARYAWAN SWASTA
Current occupation.
9
nationality
String
WNI
WNI or WNA.
10
String
nabil@gmail.com
Registered email address.
Sample Response
KYC approved — HTTP 200
KYC not approved — HTTP 403
Merchant not bound — HTTP 403
User not found — HTTP 404
Bad request — HTTP 400
Response Code List
1
200
2001200
KYC data retrieved successfully.
2
400
4001200
Bad request. A parameter is missing or invalid.
3
401
4011200
Unauthorized. The token is invalid or expired.
4
403
4031200
KYC is not approved. Status: In Process, Rejected, or Not Found.
5
403
4031201
Merchant is not bound to this user.
6
404
4041200
No user matches the provided phoneNo.
7
500
5001200
Internal server error.
Last updated

