def checkout(self, transparent=False, **kwargs):
self.data['<STR_LIT>'] = self.config.CURRENCY<EOL>self.build_checkout_params(**kwargs)<EOL>if transparent:<EOL><INDENT>response = self.post(url=self.config.TRANSPARENT_CHECKOUT_URL)<EOL><DEDENT>else:<EOL><INDENT>response = self.post(url=self.config.CHECKOUT_URL)<EOL><DEDENT>return PagSeguroCheckoutResponse(response.content, config=self.config)<EOL>
create a pagseguro checkout