Create and manage one-time payment transactions
Easypay Payments API (2.0)
Download OpenAPI description
Overview
Easypay Documentation
License
Languages
Servers
Sandbox
https://api.test.easypay.pt/2.0
Production
https://api.prod.easypay.pt/2.0
- Sandboxhttps://api.test.easypay.pt/2.0/config
- Productionhttps://api.prod.easypay.pt/2.0/config
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://api.test.easypay.pt/2.0/config \
-H 'AccountId: 2b0f63e2-9fb5-4e52-aca0-b4bf0339bbe6' \
-H 'ApiKey: eae4aa59-8e5b-4ec2-887d-b02768481a92'Response
application/json
{ "generic": "https://www.easypay.pt/generic", "authorisation": "https://www.easypay.pt/authorisation", "transaction": "https://www.easypay.pt/transaction", "visa_fwd": "https://www.easypay.pt/visa_fwd", "visa_detail": "https://www.easypay.pt/visa_detail", "account": "b2080452-bad1-4455-8ae7-9f5ea552a274", "client_id": "EASYP030002", "payment_methods": [ "mb" ] }
Request
This endpoint is useful for setting up the correct URLs for event notifications. For more details, see Notifications-Webhooks.
Security
accountId and apiKey
Configuration object to edit an account.
URL for generic notification.
Example: "https://www.easypay.pt/generic"
URL for authorisation notification.
Example: "https://www.easypay.pt/authorisation"
URL for transaction notification.
Example: "https://www.easypay.pt/transaction"
URL for redirect clients on credit card forward.
Example: "https://www.easypay.pt/visa_fwd"
- Sandboxhttps://api.test.easypay.pt/2.0/config
- Productionhttps://api.prod.easypay.pt/2.0/config
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://api.test.easypay.pt/2.0/config \
-H 'AccountId: 2b0f63e2-9fb5-4e52-aca0-b4bf0339bbe6' \
-H 'ApiKey: eae4aa59-8e5b-4ec2-887d-b02768481a92' \
-H 'Content-Type: application/json' \
-d '{
"generic": "https://www.easypay.pt/generic",
"authorisation": "https://www.easypay.pt/authorisation",
"transaction": "https://www.easypay.pt/transaction",
"visa_fwd": "https://www.easypay.pt/visa_fwd",
"visa_detail": "https://www.easypay.pt/visa_detail"
}'Response
application/json
{ "generic": "https://www.easypay.pt/generic", "authorisation": "https://www.easypay.pt/authorisation", "transaction": "https://www.easypay.pt/transaction", "visa_fwd": "https://www.easypay.pt/visa_fwd", "visa_detail": "https://www.easypay.pt/visa_detail", "account": "b2080452-bad1-4455-8ae7-9f5ea552a274", "client_id": "EASYP030002", "payment_methods": [ "mb" ] }