![]() |
Start here |
![]() |
Configuration |
![]() |
WSPG |
![]() |
APIPG |
![]() |
Webhooks |
![]() |
Charts |
![]() |
Example |
![]() |
Downloads |
![]() |
SandBox |
Pagadito offers the APIPG, an API that Pagadito Merchants can integrate into their platforms to connect with Pagadito and use it as a means of payment.
Pagadito enables Pagadito Merchants to make collections quickly and securely, through its payment platform. The technology developed in Pagadito, enables communication with multiple platforms synchronously, through secure, unique, and authorized connections.
APIPG contains the following functions:
Function | PHP | Java |
---|---|---|
add_detail | X | X |
calc_amount | X | X |
call | X | X |
change_currency_crc | X | |
change_currency_dop | X | |
change_currency_gtq | X | |
change_currency_hnl | X | |
change_currency_nio | X | |
change_currency_pab | X | |
change_currency_usd | X | |
change_format_json | X | X |
change_format_php | X | X |
change_format_xml | X | X |
config | X | X |
connect | X | X |
construct | X | X |
decode_response | X | X |
decode_response_extended | X | |
encode_details | X | |
exec_trans | X | X |
format_post_vars | X | X |
get_exchange_rate_crc | X | |
get_exchange_rate_dop | X | |
get_exchange_rate_gtq | X | |
get_exchange_rate_hnl | X | |
get_exchange_rate_nio | X | |
get_exchange_rate_pab | X | |
get_rs_code | X | X |
get_rs_datetime | X | X |
get_rs_date_trans | X | X |
get_rs_message | X | X |
get_rs_reference | X | X |
get_rs_status | X | X |
get_rs_value | X | X |
get_status | X | X |
get_xml_element | X | |
get_xml_value | X | |
mode_sandbox_on | X | X |
return_attr_response | X | X |
return_attr_value | X | X |
set_custom_param | X |
(PHP, Java)
Adds a detail to the collection order, prior to its execution.
(PHP, Java)
Returns the sum of the products of both quantity and price of all the details of the transaction.
(Double) The total.
(PHP, Java)
It places a call to Pagadito, and it returns the response.
(PHP: String / Java: HashMap): The string returned by Pagadito.
(PHP)
It changes the currency in use to Costa Rican colon.
(PHP)
It changes the currency in use to Dominican peso.
(PHP)
It changes the currency in use to quetzal.
(PHP)
It changes the currency in use to lempira.
(PHP)
It changes the currency in use to cordoba.
(PHP)
It changes the currency in use to balboa.
(PHP)
It changes the currency in use to US dollar.
(PHP, Java)
It changes the return format to JSON.
(PHP, Java)
It changes the return format to PHP.
(PHP, Java)
It changes the return format to XML.
(PHP, Java)
It sets the default values.
(PHP, Java)
It connects with Pagadito and authenticates Pagadito Merchant.
(Boolean) It returns true if you successfully made the connection. Otherwise, it returns false.
(PHP, Java)
Class constructor, who initializes the default values.
(PHP, Java)
Returns an object with the Pagadito response data.
(PHP: Object / Java: HashMap) A structure with the data returned by Pagadito.
(Java)
It returns an object with the Pagadito response data.
(HashMap) A structure with the data returned by Pagadito.
(Java)
It returns a string in the valid format of details of the products to be sent in a call.
(String) Details of the purchase in string format.
(PHP, Java)
It requests the transaction registration and redirects to the Pagadito collections screen.
(Boolean) It returns true if the transaction was successfully registered. Otherwise, it returns false.
(PHP, Java)
It returns a string in the valid format of variables and values to send in a call.
(String) Variables with their values in string format.
(PHP)
It returns the exchange rate of the Costa Rican colon.
(PHP)
It returns the exchange rate of the Dominican peso.
(PHP)
It returns the exchange rate of the quetzal.
(PHP)
It returns the exchange rate of the lempira.
(PHP)
It returns the exchange rate of the cordoba.
(PHP)
It returns the exchange rate of the balboa.
(PHP, Java)
It returns the response code.
(String) Response code.
(PHP, Java)
It returns date and time of the response.
(String) date and time of the response.
(PHP, Java)
It returns the date and time of the transaction viewed, after a get_status().
(String) Date and time of the transaction inquired.
(PHP, Java)
It returns the response message.
(String) Response message.
(PHP, Java)
Returns the reference of the transaction inquired after a get_status().
(String) Reference of the transaction inquired.
(PHP, Java)
It returns the status of the transaction inquired, after a get_status().
(String) Status of the transaction inquired.
(PHP, Java)
It returns the response value.
(String) Response value.
(PHP, Java)
It requests the status of a transaction based on its token.
(Boolean) It returns true if you successfully queried. Otherwise, it returns false.
(Java)
It returns the object of the requested item.
(Element) A child object of an XML.
(Java)
It returns the value of the requested item.
(String) The value of an XML element.
(PHP, Java)
Enables SandBox test mode.
(PHP, Java)
It returns the value of the requested attribute.
(String) The value of an attribute of the response from Pagadito.
(PHP, Java)
It returns the value of the requested attribute.
(String) Value of an attribute of the response value from Pagadito.
(PHP)
Sets the value that the custom parameter specified in the collection order will take, prior to its execution.