cURL
curl --request PATCH \ --url https://api.sandbox.wepayout.com.br/v2/automatic-pix/authorizations/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "amount": 123 }'
{ "id": 1, "merchant_id": 1, "contract_id": "123", "identifier": "identifier", "frequency": "MONTHLY", "contract_name": "Contract Name", "type": "RECURRING", "authorization_amount": 100.00, "amount": 150.00, "maximum_authorization_amount": 200.00, "start_date": "2023-01-01", "end_date": "2023-12-31", "created_at": "2023-01-01T00:00:00Z", "status": { "id": 1, "name": "ACTIVE" }, "history": [ { "id": 1, "authorization_id": 1, "status_id": 1, "status_name": "ACTIVE", "created_at": "2023-01-01T00:00:00Z" } ], "buyer": { "id": 1, "name": "Buyer Name", "document": "12345678900" } }
Update an authorization amount
Show status properties
Show history items
Show buyer properties
Was this page helpful?