v2025-01-01
- Overview
- Orders
- Payments
- Payment Links
- Refunds
- Customers
- Easy-Split
- Payment Methods
- Offers
- Token Vault
- Disputes
- Settlements
- softPOS
- Simulation
- Subscription
- VBA
- Cross Border
- Utilities
Other Versions
- v2023-08-01
- End Points
- Release Notes
- Orders
- Payments
- Payment Links
- Refunds
- Customers
- Easy-Split
- Eligibility
- Offers
- Dispute
- Settlements
- Partners
- Token Vault
- softPOS
- Simulation
- Subscription
- VBA
- Cross Border
- v2022-01-01
Upload Payment Verification Details
This API is used to upload the required payment details for the verification
curl --request POST \
--url https://sandbox.cashfree.com/import/transactions/{cf_payment_id} \
--header 'Content-Type: multipart/form-data' \
--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": "shop_or_brand_name",
"doc_type": "VALUE",
"doc_status": "VERIFIED",
"remarks": null,
"added_on": null,
"last_updated_on": null
},
{
"doc_name": "partner_order_number",
"doc_type": "VALUE",
"doc_status": "IN_REVIEW",
"remarks": null,
"added_on": null,
"last_updated_on": null
},
{
"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
client id generated from the merchant dashboard
client secret generated from the merchant dashboard
API version to be used. Format is in YYYY-MM-DD
Path Parameters
Successful payment id for the created order.
Body
Required doc name for the given payment
Attach file for the given doc_name if input_type is DOCUMENT
Pass the doc value for the given doc_name if input_type is VALUE
Response
Name of the missing doc
"shop_or_brand_name"
Status of the missing doc
"ACTION_REQUIRED"
Type of the missing doc
"VALUE"
Remarks for the missing doc
"Doc is waiting to be uploaded"
Date and time at which the doc requirement was added
Date and time at which the doc was uploaded
Name of the missing doc
"shop_or_brand_name"
Status of the missing doc
"ACTION_REQUIRED"
Type of the missing doc
"VALUE"
Remarks for the missing doc
"Doc is waiting to be uploaded"
Date and time at which the doc requirement was added
"2025-01-16T12:34:10+05:30"
Date and time at which the doc was uploaded
"2025-01-16T12:34:10+05:30"
Was this page helpful?
curl --request POST \
--url https://sandbox.cashfree.com/import/transactions/{cf_payment_id} \
--header 'Content-Type: multipart/form-data' \
--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": "shop_or_brand_name",
"doc_type": "VALUE",
"doc_status": "VERIFIED",
"remarks": null,
"added_on": null,
"last_updated_on": null
},
{
"doc_name": "partner_order_number",
"doc_type": "VALUE",
"doc_status": "IN_REVIEW",
"remarks": null,
"added_on": null,
"last_updated_on": null
},
{
"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
}
]
}