Skip to content

Config

Configure account URLs for notifications and credit card transactions

Get Account Config

Request

Required scope: config:read

Security
accountId and apiKey
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'

Responses

OK

Bodyapplication/json
genericstring

URL for generic notification.

authorisationstring

URL for authorisation notification.

transactionstring

URL for transaction notification.

visa_fwdstring

URL for redirect clients on credit card forward.

visa_detailstring

URL for credit card payment detail.

accountstring, (uuid)

The UUID of the related account.

Example:"b2080452-bad1-4455-8ae7-9f5ea552a274"
client_idstring

The id of the related client.

Example:"EASYP030002"
payment_methodsArray of strings

The available payments for the related account.

Response
{ "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" ] }