Payment process on an existing PaysafeCard MID - REST
The following section describes the REST payment process for an existing PaysafeCard MID.
-
The customer selects the payment method at the business partner checkout page: PaysafeCard and/or PagoEfectivo.
-
Initiate Payment: Send POST requestinitiate Payment.- 2.1. If the response returns an HTTP
20x, the business partner redirects the customer to the payment panel. - 2.2. If the response returns an HTTP
40xor50x, show an error message to the customer. - Initiate Payment error message:
Transaction could not be initiated due to connection problems. If the problem persists, please contact our business partner support.
- 2.1. If the response returns an HTTP
-
Redirection to the payment panel
auth_url: The customer reaches the PaysafeCard payment panel or the PagoEfectivo panel.- 3.1. The customer selects PagoEfectivo on the PaysafeCard payment panel.
- 3.2. The customer is redirected to the PagoEfectivo hosted payment page.
-
The customer receives a CIP code.
- 4.1. The customer has to go to a Point of Collection or pay for the CIP code with one of the available payment options.
-
Payment notification delivery: A card will be assigned once the customer completes the payment (transaction status
AUTHORIZED), and PaysafeCard sends a notification to thenotification_url. -
notification_urlhandling: Right after the payment notification delivery, the business partner performs the GET requestRetrieve payment detailsto check the status of the transaction.- 6.1. If the GET request
Retrieve payment detailsreturns the statusAUTHORIZED, immediately perform the POST requestcapture Payment. - 6.2. If the response to
capture Paymentis HTTP20xand the status returned isSUCCESS, the business partner makes a user account top up accordingly or delivers the goods.
- 6.1. If the GET request