Search…
Creating identities
Most API calls require an IdentityID to operate on, and there's a few ways to get one.
An identity is the core entity on Public Mint service. It represents an individual or company and is required to be able to execute most of the operations.
The creation of an identity is executed in 2 distinct steps:
  1. 1.
    Upload all the identity KYC documentation (ex: ID Card, proof-of-address, selfie, etc.) to Public Mint's AWS secure S3 bucket;
  2. 2.
    Create the identity passing the required information, including the documents uploaded from step 1.

Step 1 - Upload KYC documents

The first step when creating an identity is to upload the KYC documents to Public Mint's AWS secure S3 bucket.
You need to first request a pre-signed url for each of the documents to be uploaded, using the following API method:
post
[ENVIRONMENT_HOST]
/presign-url
POST /presign-url
With the response from the previous request, you can upload the file to aWS S3 bucket. Please refer to AWS documentation on how to do that.

Step 2 - Create the identity

With the documents uploaded to the S3 bucket, the next step is create the identity on the Public Mint services, passing all the information including the uploaded documents. Refer to the Identities API for details on how to do it.