Digital Signature SIJITU

Untuk memastikan permintaan pembayaran berasal dari pedagang ESPAY terdaftar, pedagang akan menandatangani payload menggunakan algoritma SHA256 kemudian ESPAY akan memverifikasi tanda tangan tersebut.

API Signature

Signature Elements
API Combination
Inquiry Balance rq_uuid + sender_id + user_id + CHECKBALANCE + Signature Key
Inquiry Name Search rq_uuid + sender_id + user_id + find_name + similarity + INQUIRYNAMESEARCH + Signature Key
Verify Biometric rq_uuid + sender_id + user_id + nomor_identitas + BIOMETRIC + Signature Key
Basic Verification rq_uuid + sender_id + user_id + nomor_identitas + name + BASICVERIFY + Signature Key
Batch Search rq_uuid + sender_id + user_id + organization_id + BATCHSEARCH + Signature Key
Check Status Batch Search rq_uuid + sender_id + user_id + organization_id + batch_id + CHECKSTATUSBATCHSEARCH + Signature Key
List Scoring rq_uuid + sender_id + user_id + organization_id + LISTSCORING + Signature Key
Question Scoring rq_uuid + sender_id + user_id + organization_id + id_scoring + QUESTIONSCORING + Signature Key
Answer Scoring rq_uuid + sender_id + user_id + organization_id + id_scoring + status_pep + ANSWERSCORING + Signature Key
Result Scoring rq_uuid + sender_id + user_id + organization_id + risk_scoring_id + RESULTSCORING + Signature Key
Batch Search Upload File rq_uuid + sender_id + user_id + organization_id + UPLOADBATCHDATA + Signature Key
Get Income Personal rq_uuid + sender_id + user_id + nomor_identitas + npwp + GETINCOMEPERSONAL + Signature Key
Verifikasi OCR rq_uuid + sender_id + user_id + organization_id + OCR + Signature Key
Download PDF Name Screening rq_uuid + sender_id + user_id + token + DOWNLOADPDFNAMESCREENING + Signature Key
Langkah:

Berikut adalah contoh untuk membuat tanda tangan untuk Inquiry Balance
Contoh data:

Signature Key : gloaoyfuoqlz03q3
user_id : sijitutestmerchant
Salt string : CHECKBALANCE

  • Langkah 1
  • Gabungkan semua parameter yang digunakan secara berurutan, dipisahkan dengan tanda "##"
    ##rq_uuid## sender_id ##user_id##salt string##signatureKey##
    Jadi, hasilnya adalah:
    ##rquuidtestapisijitu02987001##MERCHANT_SIJITU##sijitutestmerchant##CHECKBALANCE##gloaoyfuoqlz03q3##

  • Langkah 2
  • Hasil huruf besar dari Langkah 1:
    ##RQUUIDTESTAPISIJITU02987001##MERCHANT_SIJITU##SIJITUTESTMERCHANT##CHECKBALANCE##GLOAOYFUOQLZ03Q3##

  • Langkah 3
  • Hasil hash dari Langkah 2 menggunakan metode sha256:
    hash(“sha256”, ##RQUUIDTESTAPISIJITU02987001##MERCHANT_SIJITU##SIJITUTESTMERCHANT##CHECKBALANCE##GLOAOYFUOQLZ03Q3##)
    Hasil: 1c2acc38d8d5c15b3bb04fb05ebf47281dbe7c48714f9bc5362cd12ab8d57bcd


    Gunakan hasil dari Langkah 3 sebagai value signature.