post https://api.sumsub.com/resources/applicantActions//images
Adds an image to the specified applicant action.
Overview
Use this method to add an image file to an applicant action (for example, a bank card image to the payment method). This endpoint is helpful for working through the API without using the SDKs.
Request example
curl -X POST \
'https://api.sumsub.com/resources/applicantActions/5e022e0f0a975a45325c7ff5/images' \
-H 'Content-Type: multipart/form-data' \
-F 'metadata={"idDocType":"PAYMENT_METHOD","country":"GBR"}' \
-F 'content=@/Sumsub/Example/name.jpg'
Response explained
If the request is sent and processed correctly, in the response, you will get the JSON file representing the document information added.