Paycose Docs
File
POST/files

Upload File

Multipart upload. Fields: file (binary), purpose (string).

Request

Example

curl -X POST 'https://api.paycose.com/api/v1/app1/platform/wallet/files/' \
  -H 'X-Session-Token: {{session_token}}' \
  -H 'X-Country: {{country}}' \
  -F 'file=@/path/to/file'

Headers

NameValue
X-Session-Token{{session_token}}
X-Country{{country}}

Responses

400400 Bad Request

Headers

NameValue
Content-Typeapplication/json

Body

{
  "object": "error",
  "code": "<string>",
  "key": "<string>",
  "i18n_key": "<string>",
  "message": "<string>",
  "request_id": "<string>"
}

On this page