Permintaan verifikasi Anda dapat ditolak karena informasi yang hilang, dokumen tidak valid, dll. Anda akan menerima pemberitahuan webhook Account Holder yang akan memberi Anda informasi spesifik untuk memperbarui detail Account Holder. Untuk memperbarui informasi merchant, Anda harus memperbarui objek Account Holder
dengan parameter yang perlu direvisi.
Contoh callback payload:
{
"created": "2021-01-01T10:00:00Z",
"event": "account_holder.kyc.status",
"business_id": "5fe2b0137b7d62542fe6d7de",
"data": {
"id": "57fb4e076fa3fa296b7f5a97",
"created": "2021-01-01T10:00:00Z",
"updated": "2021-01-01T10:00:00Z",
"kyc": {
"status": "RESUBMISSION_REQUIRED",
"verified_at": "2021-01-01T10:00:00Z",
"requested_at": "2021-01-01T10:00:00Z",
"failure_reasons": [
{
"field": "website_url",
"message": "Website is Invalid"
}
]
}
}
}
Conoth rquest
PATCH https://api.xendit.co/account_holders/{id}
Perbarui URL situs web
{
"website_url": "sample-marketplace.xendit.com"
}
Perbarui dokumen KYC
{
"kyc_documents": [
{
"country": "PH",
"type": "LATEST_GIS_DOCUMENT",
"file_id": "63f8719642f5856dc9feje7"
}
]
}