PayPaga
  1. Pay In - PayURL Integration
PayPaga
  • Introduction
    • Introduction
    • API Reference
    • Errors
    • Standard Codes and Values
  • Authorization
    • Authorization
    • OAuth 2.0 Token Generation
  • Pay In - Direct API Integration
    • Pay In - Direct API Integration
    • Pay In - Payment Options
    • Pay In - Payment Processing
    • Pay In - Query Transactions
  • Pay In - PayURL Integration
    • Pay In - PayURL Integration
    • Pay In - Create PayURL
      POST
  • Pay Out - Direct API Integration
    • Pay Out - Direct API Integration
    • Pay Out - Query Transactions
    • Pay Out - Payment Processing
  • Pay Out - Examples
    • Pay Out - Brazil
    • Pay Out - Mexico
    • Pay Out - Argentina (V2)
    • Pay Out - Colombia (V2)
    • Pay Out - Ecuador (V2)
    • Pay Out - Guatemala (V2)
    • Pay Out - Peru (V2)
  • Transactions Status Notification
    • Transactions Status Notification
  • Query Balance
    • Query Balance
  • Appendix
    • Transaction Status Definitions and Lifecycle
  1. Pay In - PayURL Integration

Pay In - PayURL Integration

The PayPaga PayURL is a customized checkout webpage to allow the selection of a payment method, entering any required information and submitting the payment.
The workflow steps are listed below:
1.
Call OAuth 2.0 Token Generation and retrieve OAuth2.0 token.
2.
Using the OAuth2.0 token, call the Get PayURL endpoint to get a new PayPaga PayURL based on the parameters provided in the request.
3.
Redirect the user to the generated PayPaga PayURL.
4.
The PayPaga PayURL will present to the user a list of payment methods previously approved by the merchant for the specified country.
5.
Then, the user selects their preferred payment method, enters any required information and submits the payment.
6.
Upon successful submission, the payment result is displayed, including instructions for asynchronous payments. A new transaction with status of PENDING will be created in the system.

Redirect the user to the generated PayURL#

The PayURL can be loaded directly in a new tab or browser window.
In case the PayURL is going to be embedded into the merchant’s website using an <iframe> use the following code:
WARNING
It is important to include the allow="clipboard-write" attribute in the <iframe> to allow the user to use the copy-to-clipboard functionality.
Previous
Pay In - Query Transactions
Next
Pay In - Create PayURL
Built with