POST
/
import
/
transactions
/
{cf_payment_id}
curl --request POST \
--url https://sandbox.cashfree.com/import/transactions/{cf_payment_id} \
--header 'Content-Type: multipart/form-data' \
--header 'x-api-version: <x-api-version>' \
--header 'x-client-id: <x-client-id>' \
--header 'x-client-secret: <x-client-secret>' \
--form 'doc_name=<string>' \
--form 'doc_value=<string>'
{
  "uploaded_documents": [
    {
      "doc_name": "goods_description",
      "doc_type": "VALUE",
      "doc_status": "IN_REVIEW",
      "remarks": null,
      "added_on": null,
      "last_updated_on": null
    },
    {
      "doc_name": "invoice_number",
      "doc_type": "VALUE",
      "doc_status": "VERIFIED",
      "remarks": null,
      "added_on": null,
      "last_updated_on": null
    },
    {
      "doc_name": "importer_name",
      "doc_type": "VALUE",
      "doc_status": "IN_REVIEW",
      "remarks": null,
      "added_on": null,
      "last_updated_on": null
    },
    {
      "doc_name": "importer_address",
      "doc_type": "VALUE",
      "doc_status": "VERIFIED",
      "remarks": null,
      "added_on": null,
      "last_updated_on": null
    },
    {
      "doc_name": "country_of_origin",
      "doc_type": "VALUE",
      "doc_status": "IN_REVIEW",
      "remarks": null,
      "added_on": null,
      "last_updated_on": null
    }
  ],
  "missing_documents": [
    {
      "doc_name": "invoice_file",
      "doc_type": "DOCUMENT",
      "doc_status": "ACTION_REQUIRED",
      "remarks": null,
      "added_on": null,
      "last_updated_on": null
    },
    {
      "doc_name": "ecommerce_order_serial_number",
      "doc_type": "VALUE",
      "doc_status": "ACTION_REQUIRED",
      "remarks": null,
      "added_on": null,
      "last_updated_on": null
    },
    {
      "doc_name": "hs_code",
      "doc_type": "VALUE",
      "doc_status": "ACTION_REQUIRED",
      "remarks": null,
      "added_on": null,
      "last_updated_on": null
    },
    {
      "doc_name": "shipment_date",
      "doc_type": "VALUE",
      "doc_status": "ACTION_REQUIRED",
      "remarks": null,
      "added_on": null,
      "last_updated_on": null
    },
    {
      "doc_name": "port_of_loading",
      "doc_type": "VALUE",
      "doc_status": "ACTION_REQUIRED",
      "remarks": null,
      "added_on": null,
      "last_updated_on": null
    },
    {
      "doc_name": "awb_number",
      "doc_type": "VALUE",
      "doc_status": "ACTION_REQUIRED",
      "remarks": null,
      "added_on": null,
      "last_updated_on": null
    }
  ]
}

Headers

x-client-id
string
required

Client ID generated from the merchant dashboard.

x-client-secret
string
required

Client secret generated from the merchant dashboard.

x-api-version
string
default:2023-08-01
required

API version to be used. Format is in YYYY-MM-DD.

Path Parameters

cf_payment_id
number
required

Successful payment ID for the created order.

Body

multipart/form-data

Response

200
application/json

200

The response is of type object.