Skip to main content

Upload payment request attachment

POST 

/api/payment_requests/:id/documents/upload

Requires the PAYPAL OAuth scope. Upload an attachment for an existing payment request draft.

Request

Path Parameters

    id stringrequired

    PaymentRequest identifier

Header Parameters

    Unique-Request-Id string

    Possible values: <= 50 characters

    An optional unique identifier for the request, limited to 50 characters. Used to track requests and prevent duplication.

Body

    file binaryrequired

    Allowed file types: PDF, JPG, JPEG, PNG.

    description string
    type stringrequired

Responses

Created - The request was processed successfully.

Schema

    object

Loading...