penambahan All case Satu sehat

This commit is contained in:
meninjar
2026-05-04 03:48:43 +00:00
parent 135c631021
commit af32d9cfdd
127 changed files with 617690 additions and 1160 deletions

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
package kyc
// GenerateURLRequest merepresentasikan payload untuk membuat link validasi KYC
type GenerateURLRequest struct {
AgentName string `json:"agent_name" binding:"required"`
AgentNIK string `json:"agent_nik" binding:"required,len=16"`
PublicKey string `json:"public_key"` // Diisi otomatis oleh backend
}
// CallbackRequest merepresentasikan payload webhook/callback dari Satu Sehat setelah KYC selesai.
type CallbackRequest struct {
Status string `json:"status"`
Message string `json:"message"`
Data map[string]interface{} `json:"data"`
}