Pre-filling the registration form
To make it easier for your customer to register in PayPay, we provide the following method to pre-fill the registration form.
The submission of data should be done via browser by submitting a form to the url: https://paypay.pt/aderir. After this step the user is redirected to PayPay registration page with pre-filled data.
Example of the data structure to be submitted via form application/x-www-form-urlencoded
:
{
"clientId": "123456789",
"name": "Entidade Teste Lda",
"phoneNumber": "707451451",
"address": "Estrada Regional 104 ",
"postCode": "9000-025",
"locality": "Funchal",
"permanentCertificate": "1234-5678-9101",
"economicActivity": {
"section": "K",
"code": 668
},
"availableMethods": [
{
"code": "CC"
},
{
"code": "MB"
},
{
"code": "MW"
}
],
"user": {
"name": "John Doe",
"taxNumber": "123456789",
"email": "email@email.email",
"phoneNumber": "351#960000000",
"isPoliticallyExposedPerson": true
}
}
The complete data structure, as well as the options for economicActivity and availableMethods can be consulted .