---
title: "Partner Callback"
method: POST
path: "/partner-callback-endpoint"
tags: ["Callback"]
---

# Partner Callback

`POST /partner-callback-endpoint`

This is API implemented in your system that we will call on completed submissions.

## Request body

- SubmissionData
  - `submissionId` string, uuid — Unique identification of submission record
  - `flow` string — Identification of submission type
  - `userId` string — User ID of the current session
  - `userIdType` string — Detailed name of the User ID
  - `partnerSessionId` string — Session ID used as correlation ID
  - `status` 'COMPLETED' | 'IN_PROGRESS' | 'PARTIALLY_COMPLETED' | 'ERROR' — Status of the submission
  - `result` 'VALID' | 'INVALID' | 'REJECTED' — Result of the document verification
  - `processedAt` string, date-time — Timestamp when the submission was processed
  - `reasonCode` 'FRAUD_REJECT' | 'NOT_EKTP' | 'DUKCAPIL_REJECTED' | 'AETHER_VERIFICATION_FAILED' | 'LIVENESS_CHECK_FAILED' | 'EMAIL_HAS_BEEN_USED' | 'PHONE_HAS_BEEN_USED' | 'SYSTEM_ERROR' — Code indicating the reason of rejection
  - `submissionDetails` SubmissionDetails
    - `ktpData` KtpData — Extracted values from the submitted eKTP
      - `nik` string — ID number (NIK) on the eKTP
      - `name` string — Name of the person
      - `region` string — Region of the person's residence (Place of Birth)
      - `dateOfBirth` string — Date of birth (DD-MM-YYYY)
      - `bloodType` string — Blood type of the person
      - `religion` string — Religion of the person
      - `province` string — Province of person's residence
      - `city` string — City of person's residence
      - `address` string — Address of the person's residence
      - `district` string — District of the person's residence
      - `town` string — Town of the person's residence
      - `gender` 'male' | 'female' — Gender of the person
      - `rt` string — RT of the person's residence
      - `rw` string — RW of the person's residence
      - `occupation` string — Occupation of the person
      - `validUntil` string — Validity period of eKTP
      - `citizenship` string — Citizenship (WNI for Indonesia)
      - `maritalStatus` string — Marital status of the person
      - `issuanceDate` string — Issue date of the eKTP
    - `verificationResult` VerificationResult — Verification results
      - `nik` 'PASS' | 'FAIL' — NIK verification status
      - `name` 'PASS' | 'FAIL' — Name verification status
      - `dateOfBirth` 'PASS' | 'FAIL' — Date of birth verification status
      - `selfie` 'PASS' | 'FAIL' — User selfie verification status
    - `imageUrls` ImageUrls — URLs to uploaded document images
      - `KTP` string, uri — URL to KTP image
      - `SELFIE` string, uri — URL to selfie image
      - `ADDITIONAL_SELFIE` string, uri — URL to additional selfie image
    - `certificateRegistration` CertificateRegistrationResult — Certificate Registration results
      - `eligibleToActivate` boolean
      - `shouldSkipActivation` boolean
      - `onboardingCode` 'NEW_USER'

## Response `200`

Callback processed successfully

---

[API](https://skmtc.net/midtrans/apis/snap-api.md) · [All operations](https://skmtc.net/midtrans/apis/snap-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/midtrans/snap-api/versions/67e029cf926a/schema)
