Skip to main content
PATCH
/
kyc
/
update-document-info
cURL
curl --request PATCH \
  --url https://sandbox.dollarpe.xyz/cms/api/v1/kyc/update-document-info \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --header 'X-SIGNATURE: <api-key>' \
  --header 'X-TIMESTAMP: <api-key>' \
  --data '
{
  "customer_id": "4e6f1b20-a73c-11ec-b909-0242ac120002",
  "full_address": "FULL_ADDRESS_OF_THE_CUSTOMER",
  "document_type": "<string>",
  "document_front_image_url": "<string>",
  "document_back_image_url": "<string>",
  "document_details": {
    "document_number": "123456123456",
    "additional_data": {}
  }
}
'
{
  "status": true,
  "message": "Success",
  "data": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "status": "UNVERIFIED"
  }
}
Update Limit: KYC information can be updated a maximum of 3 times per customer. Once this limit is reached, no further updates will be allowed.

Error Codes and Messages

API Status CodeResponseReason
400Customer not found or access deniedCustomer not found
400Customer not found or access deniedCustomer does not belong to the organization
400KYC already in useKYC is being used by another customer
500Internal Server ErrorInternal Server Error

Authorizations

X-API-KEY
string
header
required

API Key for authentication

X-TIMESTAMP
string
header
required

Current timestamp in seconds since epoch

X-SIGNATURE
string
header
required

HMAC SHA256 signature of the request encoded in Base64

Body

application/json
customer_id
string<uuid>
required
Example:

"4e6f1b20-a73c-11ec-b909-0242ac120002"

full_address
string
required
Example:

"FULL_ADDRESS_OF_THE_CUSTOMER"

document_type
string
required

Document type as returned by /kyc/configuration/{customer_id} (e.g. PASSPORT, etc.)

document_front_image_url
string<uri>
required

Accepts JPG, JPEG, PNG and PDF links

document_back_image_url
string<uri>
required

Accepts JPG, JPEG, PNG and PDF links

document_details
object
required

Response

Document information updated successfully

status
boolean
Example:

true

message
string
Example:

"Success"

data
object