PUT
/
Paypoint
/
logo
/
{entry}
curl --request PUT \
  --url https://api-sandbox.payabli.com/api/Paypoint/logo/{entry} \
  --header 'Content-Type: application/json' \
  --header 'requestToken: <api-key>' \
  --data '{
  "ftype": "pdf",
  "filename": "my-doc.pdf",
  "furl": "https://mysite.com/my-doc.pdf",
  "fContent": "TXkgdGVzdCBmaWxlHJ==..."
}'
{
  "isSuccess": true,
  "responseText": "Success",
  "responseCode": 1,
  "pageIdentifier": "null",
  "responseData": "<string>"
}

Authorizations

requestToken
string
header
required

Most endpoints require an organization token. Some endpoints require an application token, and those endpoints are noted.

Path Parameters

entry
string
required

The paypoint's entrypoint identifier. Learn more

Example:

"8cfec329267"

Body

Contains details about a file. See See fileObject Object Model for a complete reference. Max upload size is 30 MB.

ftype
enum<string> | null

The MIME type of the file (if content is provided)

Available options:
pdf,
doc,
docx,
jpg,
jpeg,
png,
gif,
txt
Example:

"pdf"

filename
string | null

The name of the attached file.

Example:

"my-doc.pdf"

furl
string | null

Optional url provided to show or download the file remotely

Example:

"https://mysite.com/my-doc.pdf"

fContent
string | null

Content of file, Base64-encoded Ignored if furl is specified. Max upload size is 30 MB.

Example:

"TXkgdGVzdCBmaWxlHJ==..."

Response

200 - application/json
Success
isSuccess
boolean

Boolean indicating whether the operation was successful. A true value indicates success. A false value indicates failure.

Example:

true

responseText
string | null

Response text for operation: 'Success' or 'Declined'.

Example:

"Success"

responseCode
integer | null

Code for the response. Learn more in API Response Codes.

Example:

1

pageIdentifier
string | null

Auxiliary validation used internally by payment pages and components.

Example:

null

responseData

The response data.

Was this page helpful?