Integration Types
Other Features
Card Payments
Mobile Wallets
Alternative Payment Methods
Resources
The Direct Payment integration method oversees payment details and manages your end-to-end payment experience. You can control your transactions, manage your payment pages, and collect payment details.
With this method, you first collect the payment details of a payer in the application or website, and then, send the payment details directly to the Mastercard Gateway to process the transaction.
To implement a Direct Payment solution, you need basic knowledge of HTTP and the skills to formulate an HTTP request in your preferred server-side scripting language.
The Direct Payment integration method supports the following operations:
Payment methods | Operations |
---|---|
All | All |
Following are the details to learn about the Direct Payment integration method. For more information about:
The Direct Payment provides the following benefits:
These are the stages of information flow for the Direct Payment.
Purchases and provides the card details directly to the application or website.
Creates the transaction request and sends it using an HTTPS POST or PUT request over the Internet to the gateway through an API call. Depending on your business needs, you can provide additional fields in the transaction request.
Passes the transaction to the payment processor or acquirer for processing.
Returns a response to the gateway.
Generates a transaction response and passes it to the application or website, in response to your API call. The transaction response indicates whether the transaction was successful and includes other response data.
Based on the result of the transaction, the application or website displays a receipt, other confirmation, or an error page to the payer.