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

Authorizations

Authorization
string
header
required

API key sent in the Authorization header.

Path Parameters

customer_id
string<uuid>
required

The customer (child org) ID. Must belong to the caller's organization or a direct child.

Body

application/json

Request body for uploading KYC document images. This endpoint is for document images only — identity fields (name, address, ID numbers, etc.) are submitted separately via Submit KYC.

documentType
enum<string>
required

The kind of image being uploaded: "document" for a government-issued ID, or "selfie" for a selfie/liveness photo.

Available options:
document,
selfie
images
object[]
required

The image(s) for this document. For a two-sided ID, upload the front and back as separate entries.

Response

KYC documents uploaded