Skip to main content
POST
/
v1
/
subscription-plans
/
{id}
/
image
Upload plan image
curl --request POST \
  --url https://api-global.fastpaybrasil.com/v1/subscription-plans/{id}/image \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "statusCode": 401,
  "message": "Unauthorized"
}

Authorizations

Authorization
string
header
required

HTTP Basic authentication. Use your secret key as the username and an empty string as password. The API key should be base64 encoded in the format 'username:' when sending the Authorization header.

Path Parameters

id
string
required

Unique subscription plan identifier

Body

multipart/form-data
file
file
required

Image file (PNG, JPG, JPEG)

Response

Image successfully uploaded