Professional Documents
Culture Documents
2. Communication Security..........................................................................................4
3. Sandbox/Testing Environment...........................................................................5
4. Avaiable Methods..........................................................................................................6
5. Status Code......................................................................................................................16
7. Additional Information..............................................................................................18
1. Use or permit the use of this document for, or in connection with, any other business whatsoever, or
for any purpose other than the analysis of the project contemplated hereby, or
2. Disclose or permit the disclosure of any part of this document to any person or entity other than
office rs, shareholders or representatives of your same organization who are made aware of the
confidential nature of this document and the restrictions on the disclosure or use of its contents and for
the purpose stated.
Lastly, you agree to immediately notify euPago of the circumstances surrounding any breach of this
confidentiality of which you become aware.
API Permission system. Partners may only use the API functions they need in accordance with their
contract with euPago. No unauthorized API calls are allowed and all calls are logged.
https://replica.eupago.pt/clientes/users/login
INPUT PARAMETERS:
OUTPUT PARAMETERS:
$result = $client->gerarReferenciaMB($arraydados);
if (is_soap_fault($result)) {
} else {
} else {
//insucess action
INPUT PARAMETERS:
OUTPUT PARAMETERS:
$result = $client->gerarReferenciaMB($arraydados);
if (is_soap_fault($result)) {
} else {
} else {
//insucess action
/***********End of gerarReferenciaPS***************/
INPUT PARAMETERS:
OUTPUT PARAMETERS:
$result = $client->gerarReferenciaPQ($arraydados);
if (is_soap_fault($result)) {
} else {
} else {
//insucess action
INPUT PARAMETERS:
OUTPUT PARAMETERS:
$result = $client->pedidoMBW($arraydados);
if (is_soap_fault($result)) {
} else {
} else {
//insucess action
INPUT PARAMETERS:
PARAMETROS DE SAÍDA:
$result = $client->informacaoReferencia($arraydados);
if (is_soap_fault($result)) {
} else {
return $result;
} else {
switch ($result->estado) {
case -10:
exit;
case -9:
exit;
case -8:
exit;
default :
exit;
5.1 References
Status Description
Pendente The reference was generated and is waiting to be paid by the customer.
Paga The reference is paid by your client, but not yet transferred to your bank account.
Transferida The reference is paid by your client, and the amount transferred to your bank account.
Code Description
0 Sucess
-8 Invalid reference
-9 Incorrect Values
EXAMPLE:
https://url_do_cliente/callback.php?
valor=6&canal=nome_do_canal&referencia=xxxxxxxx&transacao=xxxx&identificador=xxxxx&mp=PC:PT&chave_api=xxxx-
xxx-ttt-ttta&data=yyyy-mm-dd:hh:mm&entidade=xxxx&comissao=xxx&local=PORTO
VARIABLE DESCRIPTION