Skip to main content
POST
/
ramp
/
customer
/
{customer_id}
/
kyc
/
documents
Upload KYC documents
curl --request POST \
  --url https://api.etherfuse.com/ramp/customer/{customer_id}/kyc/documents \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "pubkey": "9Qx7r...",
  "documentType": "document",
  "images": [
    {
      "label": "id_front",
      "image": "data:image/jpeg;base64,/9j/4AAQSkZJRg..."
    },
    {
      "label": "id_back",
      "image": "data:image/jpeg;base64,/9j/4AAQSkZJRg..."
    }
  ]
}
'
{
  "status": "proposed",
  "message": "Documents uploaded for review"
}

Authorizations

Authorization
string
header
required

API key for authentication

Path Parameters

customer_id
string<uuid>
required

ID of the customer

Body

application/json

Request body for uploading KYC identity documents

pubkey
string
required

Public key of the wallet to upload documents for

documentType
enum<string>
required

Type of document being uploaded (government ID or selfie photo)

Available options:
document,
selfie
images
object[]
required

Array of images as data URLs (JPEG or PNG, max 10MB each)

Response

Documents uploaded successfully

status
string
Example:

"proposed"

message
string
Example:

"Documents uploaded for review"