Retrieve a file

Retrieves the details of an existing file object. After you supply a unique file ID, Paypercut returns the corresponding file object.

Path Parameters
  • id
    Type: string
    max length:  
    5000
    required
Query Parameters
  • expand
    Type: array string[]

    Specifies which fields in the response should be expanded.

Responses
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for get/v1/files/{id}
curl 'https://api.paypercut.io/v1/files/{id}' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "id": "string",
  "type": null,
  "url": null,
  "purpose": "account_requirement"
}