curl --request POST \
--url https://api.wppfy.com/message/payment/status \
--header 'Content-Type: application/json' \
--header 'token: <api-key>' \
--data '
{
"id": "3EB012345678",
"status": "shipped",
"paid": true,
"note": "Seu pedido saiu para entrega."
}
'{
"referenceId": "<string>",
"orderStatus": "<string>",
"paymentChanged": true,
"manual": true,
"status": "<string>",
"paymentStatusMessageID": "<string>",
"paid": true
}{
"error": "<string>",
"partial": true,
"paymentStatusMessageID": "<string>"
}Send Message
Update payment and order
Sends the customer an update for an order originated by
POST /send/request-payment. In the id field, send the id or the
messageid returned by the request. paid is optional: when
omitted, only the order status is sent. note appears in the
order update.
POST
/
message
/
payment
/
status
curl --request POST \
--url https://api.wppfy.com/message/payment/status \
--header 'Content-Type: application/json' \
--header 'token: <api-key>' \
--data '
{
"id": "3EB012345678",
"status": "shipped",
"paid": true,
"note": "Seu pedido saiu para entrega."
}
'{
"referenceId": "<string>",
"orderStatus": "<string>",
"paymentChanged": true,
"manual": true,
"status": "<string>",
"paymentStatusMessageID": "<string>",
"paid": true
}{
"error": "<string>",
"partial": true,
"paymentStatusMessageID": "<string>"
}Authorizations
Body
application/json
Accepts the id or messageid of the sent payment request.
New request state.
Available options:
payment_requested, preparing_to_ship, shipped, delivered, completed, canceled true confirms the payment; false marks it as pending. Omit to leave unchanged.
Maximum string length:
500Response
Update sent
Applied order status; not to be confused with the message status in status.
Status of the sent update message (for example, Pending).
Present when paid was provided.
Present when paid was provided.
