{"title":"Implement the payment flow","category":"default","creationDate":1776961627,"content":"<p>There are a few things that any POS system should be able to do:<\/p>\n<ul>\n<li>Make a payment.<\/li>\n<li>Issue a refund.<\/li>\n<li>Cancel an in-progress payment.<\/li>\n<\/ul>\n<p>In a <a href=\"\/pt\/point-of-sale\/design-your-integration\/terminal-api\">Terminal API<\/a> integration, the above corresponds to implementing a  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/terminal-api\/latest\/post\/payment\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">PaymentRequest<\/a>, a  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/terminal-api\/latest\/post\/reversal\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">ReversalRequest<\/a>, and an  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/terminal-api\/latest\/post\/abort\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">AbortRequest<\/a>.<\/p>\n<p>There are three more features that we think should be part of a basic Terminal API integration:<\/p>\n<ul>\n<li>Generating receipts.<br \/>\nThe Terminal API  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/terminal-api\/latest\/post\/payment#responses-200\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">PaymentResponse<\/a> has a dedicated object that you can use for generating receipts that are fully compliant with regulations.<\/li>\n<li>Informing us of some details of your integration.<br \/>\nYou can add your application details in your Terminal API  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/terminal-api\/latest\/post\/payment\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">PaymentRequest<\/a>. This enables us to help you more efficiently in case of any issues.<\/li>\n<li>Verifying if a payment is still in progress or already completed in case you do not receive a payment response.<br \/>\nFor this you can use the Terminal API  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/terminal-api\/latest\/post\/transactionstatus\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">TransactionStatusRequest<\/a>.<\/li>\n<\/ul>\n<p>With just these six Terminal API features, you have a viable integration.<\/p>\n<div class=\"sc-notice info\"><div>\n<p>On top of the basic features there are many more features you could implement, depending on your business needs. For example:<\/p>\n<ul>\n<li>In hospitality you may want to add tipping, pay at table, or pre-authorization and authorization adjustment.<\/li>\n<li>In retail you may want to add cashback, direct currency conversion, or donations.<\/li>\n<\/ul>\n<p>Also see our <a href=\"\/pt\/industries\/feature-packs\/\">feature recommendations for specific industries<\/a>.<\/p>\n<\/div><\/div>","url":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/basic-tapi-integration","articleFields":{"description":"Requests and features that are minimally required in a Terminal API integration.","next_steps":[{"title":"Make a payment","description":"Start a Terminal API payment from your POS app.","url":"\/point-of-sale\/basic-tapi-integration\/make-a-payment","required":true},{"title":"Pass application info","description":"Provide application, merchant, and integrator details to Adyen.","url":"\/point-of-sale\/basic-tapi-integration\/pass-application-information","required":true},{"title":"Generate a receipt","description":"Generate fully compliant transaction receipts.","url":"\/point-of-sale\/basic-tapi-integration\/generate-receipts","required":true},{"title":"Refund a payment","description":"Return funds to a shopper after a payment is approved.","url":"\/point-of-sale\/basic-tapi-integration\/refund-payment","required":true},{"title":"Cancel an in-progress transaction","description":"Cancel a transaction while it is in progress.","url":"\/point-of-sale\/basic-tapi-integration\/cancel-a-transaction","required":true},{"title":"Verify transaction status","description":"Check the status of a transaction when you do not receive a response.","url":"\/point-of-sale\/basic-tapi-integration\/verify-transaction-status","required":true}],"feedback_component":true},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/basic-tapi-integration","title":"Implement the payment flow","content":"There are a few things that any POS system should be able to do:\n\nMake a payment.\nIssue a refund.\nCancel an in-progress payment.\n\nIn a Terminal API integration, the above corresponds to implementing a  PaymentRequest, a  ReversalRequest, and an  AbortRequest.\nThere are three more features that we think should be part of a basic Terminal API integration:\n\nGenerating receipts.\nThe Terminal API  PaymentResponse has a dedicated object that you can use for generating receipts that are fully compliant with regulations.\nInforming us of some details of your integration.\nYou can add your application details in your Terminal API  PaymentRequest. This enables us to help you more efficiently in case of any issues.\nVerifying if a payment is still in progress or already completed in case you do not receive a payment response.\nFor this you can use the Terminal API  TransactionStatusRequest.\n\nWith just these six Terminal API features, you have a viable integration.\n\nOn top of the basic features there are many more features you could implement, depending on your business needs. For example:\n\nIn hospitality you may want to add tipping, pay at table, or pre-authorization and authorization adjustment.\nIn retail you may want to add cashback, direct currency conversion, or donations.\n\nAlso see our feature recommendations for specific industries.\n","type":"page","locale":"pt","boost":18,"hierarchy":{"lvl0":"Home","lvl1":"Terminais","lvl2":"Implement the payment flow"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/point-of-sale","lvl2":"\/pt\/point-of-sale\/basic-tapi-integration"},"levels":3,"category":"In-person payments","category_color":"green","tags":["Implement","payment"]}}
