cURL
curl --request PATCH \ --url https://api.sandbox.wepayout.com.br/v2/automatic-pix/schedules/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "amount": 123 }'
{ "id": 1, "merchant_id": 1, "authorization": { "id": 1, "name": "Authorization Name" }, "amount": 150.00, "due_date": "2023-01-01", "settlement_date": null, "status": { "id": 1, "name": "PENDING" }, "history": [ { "id": 1, "schedule_id": 1, "status_id": 1, "status_name": "PENDING", "created_at": "2023-01-01T00:00:00Z" } ], "tx_id": null, "attempts": [], "created_at": "2023-01-01T00:00:00Z", "buyer": { "id": 1, "name": "Buyer Name", "document": "12345678900" } }
Update a schedule amount
Show authorization properties
Show status properties
Show history items
Show attempt items
Show buyer properties
Was this page helpful?