Config

Patch Account Config

Changed on

Sets the URLs we send the generic, authorisation and transaction notifications to. Send only the fields you want to change. This endpoint manages URLs only; the x-easypay-code value and Basic auth credentials for each notification are set in the backoffice. Changes can take a few minutes to start being applied. See Configuring your webhook URLs in the webhooks guide.

Required scope: <code style="background:#e8f0fe;color:#1a73e8;padding:2px 8px;border-radius:12px;font-size:0.85em">config:update</code>

patch/config

Request

  • Base URL
    https://api.test.easypay.pt/2.0
  • Auth
    API key in header AccountId and API key in header ApiKey

Request body

object required
generic, string

URL we send the generic notification to.

authorisation, string

URL we send the authorisation notification to.

transaction, string

URL we send the transaction notification to.

visa_fwd, string

URL for redirect clients on credit card forward.

visa_detail, string

URL for credit card payment detail.

Example request

{
  "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

OK

ConfigDetails required
generic, string

URL we send the generic notification to.

authorisation, string

URL we send the authorisation notification to.

transaction, string

URL we send the transaction notification to.

visa_fwd, string

URL for redirect clients on credit card forward.

visa_detail, string

URL for credit card payment detail.

account, string uuid

The UUID of the related account.

client_id, string

The id of the related client.

payment_methods, string[]

The available payments for the related account.

can_refund_direct_debit, boolean

Whether the account is allowed to refund direct debit payments.

Example response

{
  "account": "b2080452-bad1-4455-8ae7-9f5ea552a274",
  "client_id": "EASYP030002"
}

Changes