Last updated 6 months ago
This endpoint creates a new charge with the provided data.
/v1/charges
Created
Bad Request
Unauthorized
Internal Server Error
curl -L \ --request POST \ --url '//https://sandbox-api.pagou.com.br/v1/charges' \ --header 'Content-Type: application/json' \ --data '{"amount":1,"description":"text","discount":{"amount":1,"limit_date":"text","type":"fixed"},"due_date":"text","fine":1,"grace_period":1,"interest":1,"payer":{"city":"text","document":"text","name":"text","neighborhood":"text","number":"text","state":"text","street":"text","zip":"text"},"metadata":[{"key":"text","value":"text"}]}'
text