Decide SME PDF

Endpoint

HTTP

POST https://api.indicina.co/api/v3/client/pdf/extract

Header

HTTP

Content Type: multipart/form-data Authentication: Bearer <Token>

 

📘

NOTE:

  • The request body takes the path to the customer's bank statement alongside some other data including their bank_code, pdf, currency, request_type, customer_id, and model_name.

  • Header Content-Type: multipart/form-data

Sample Request cURL

curl --location 'https://api.indicina.co/api/v3/client/pdf/extract' \ --header 'Content-Type: multipart/form-data' \ --header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6DUMMY.----jEtYWI2NS02NzdlNjdlMWE4MmIiLCJleHAiOjE3MTYyMTU5NzAsImlhdCI6MTcxNjIxMjM3MCwiaXNzIjoiaW5kaWNpbmEuY28iLCJzdWIiOiIzZGM4ZjAwMi1jOWMzLTRmZDctODQyNi01NDYxMTQ4Mzk2ZjciLCJqdGkiOiI2ZTRiODNkMS1jZDdkLTRlNzctYWQzMS1mMjQzYzczZjE2MTUiLCJhdXRoZW50aWNhdGlvblR5cGUiOiJQQVNTV09SRCIsImVtYWlsIjoic3VwcG9ydEBpbmRpY2luYS5jbyIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJhcHBsaWNhdGlvbklkIjoiNWFiODUxOGQtOThjZi00N2IxLWFiNjUtNjc3ZTY3ZTFhODJiIiwicm9sZXMiOlsiT3JpZ2luYXRlTVAiXSwic2lkIjoiODVkZWY2ZjgtNmE3Yi00NmY0LWI4YTctODk2N2JhYzI2NWQ0IiwiYXV0aF90aW1lIjoxNzE2MjEyMzcwLCJ0aWQiOiI0YjM4YWYwOS03ZmRkLTQ0OGUtOWFkZS02MmQ2MzBhY2JhNTUiLCJtZXJjaGFudFNsdWciOiJpbmRpY2luYSIsInVzZXJJZCI6IjYzYTMzZDg1N2NhYTQyODg2N2Y3YmVmYiIsImFjY291bnRJZCI6IjYzYTMzZDgzN2NhYTQyODg2N2Y3YmUzNiIsInRlbmFudElkIjoiNGIzOGFmMDktN2ZkZC00NDhlLTlhZGUtNjJkNjMwYWNiYTU1Iiwic2x1ZyI6ImluZGljaW5hIn0.VGHUn25t7h6-XK9I4Crv4qsRkSg4Z4gziKggn6Lj-Lg' \ --form 'bank_code="058"' \ --form 'currency="NGN"' \ --form 'request_type="score"' \ --form 'customer_id="admoll.test@mail.com"' \ --form 'pdf=@"/Users/mac/Downloads/admoll dummy.pdf"' \ --form 'model_name="bsp-sme"'

 

Sample Request

 

Sample Response