How does it work?
The Custom Microsite allows PlacetoPay to query an external service to obtain invoice information and manage its payment, and also allows the settlement of payments when they are processed through the platform.
Service Operation
-
Authentication:
- Se soportan dos tipos de autenticación:
- Web Services Security (WSS): Uses
UsernameToken Profile 1.1
, where credentials includelogin
,tranKey
,nonce
andseed
. - JSON Web Token (JWT): It is based on basic authentication with
username
andpassword
, generating anaccess_token
for requests. - For more information about this please go to the following section Authentication.
- Web Services Security (WSS): Uses
- Se soportan dos tipos de autenticación:
-
Invoice inquiries:
- This is done by
POST /invoice/search/
. - Invoices can be searched by reference, payer document or alternate reference.
- Additional filters can be applied and payment restrictions can be defined..
- The response includes information such as invoice status, amounts, taxes and available payment methods..
- For more information about this please go to the following section search.
- This is done by
-
Blocking and Release of Invoices:
- Invoices can be blocked (
POST /invoice/hold
) to prevent payments while they are in the validation process. - To unlock them, a request must be sent with the parameter
revoke: true
. - For more information about this please go to the following section hold.
- Invoices can be blocked (
-
Settlement of Payments:
- Once the payment has been made, we send a
POST /invoice/settle/
request with the transaction details. - It includes data such as invoice ID, authorization code, amount, date, payment method and internal reference.
- For more information about this please go to the following section settle.
- Once the payment has been made, we send a
-
Error Handling:
-
Payment Method Configuration:
- You can define the payment methods available per invoice.
- Intersection or merging of methods is allowed when multiple invoices are paid in a single transaction.
- For more information about this please go to the following section paymentMethod.
This web service is designed to integrate with any system that supports REST communication, allowing a secure and efficient payment flow.
Payment flow
