Skip to main content

handleFileUploadForDealer


ApiScope: payment.files.upload
API Scope Level: DealerScope
Path Parameters
    ServiceSubscriberDealer string required
Query Parameters
    fileType string

    Possible values: [IMAGE, PDF, XSLT, AUDIO, VIDEO, HTML, XML, PAYMENT_REPORT_EXCEL, STRIPE_GATEWAY_REPORT_FILES, PAYOUT_REPORT_FILES, ESIG, OTHER]

    Default value: OTHER

    contentType string
Request Body
    file binary required
Responses

OK


Schema
    errors object[]
  • Array [
  • errorCode int32
    errorTitle string
    errorMessage string
    errorDescription string
  • ]
  • warnings object[]
  • Array [
  • warningCode int32
    warningTitle string
    warningMessage string
    warningDescription string
  • ]
  • fileName string
    fileUrl string
    fileKey string
POST /kpayment/v1/file/:ServiceSubscriberDealer/upload

Request

Base URL
/payment
ServiceSubscriberDealer — path required
fileType — query
contentType — query
Body
{
"file": "string"
}
curl / cURL
curl -L -X POST '/payment/kpayment/v1/file/:ServiceSubscriberDealer/upload' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"file": "string"
}'