Frequent Payment

Request Authorisation

Create a new authorisation on a given Frequent Payment

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

post/frequent/authorisation/{id}

Request

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

Path parameters

id, string uuid required

Resource Identification

Request body

object required
mbway_sdk, object

MB WAY SDK configuration for payment processing

transaction_key, string

Your internal key identifying this authorisation.

force_3ds, boolean

Whether or not you want to force the 3DS authentication.

descriptive, string required

This will appear in the bank statement/MB WAY application.

value, number double required

Value will be rounded to 2 decimals.

Example request

{
  "mbway_sdk": {
    "initial_timestamp": "2018-01-01 23:59:59",
    "merchant_operation_id": "TESTACCOUNT5436"
  },
  "transaction_key": "transaction_key_123",
  "descriptive": "Descriptive Example",
  "value": 10.5
}

Response

Created

object required
id, string uuid

Unique identifier for the authorization

status, string

Status of the request

message, string[]

Array of status messages

Example response

{
  "id": "4c67e74b-a256-4e0a-965d-97bf5d01bd50",
  "status": "ok",
  "message": [
    "Your request was successfully created"
  ]
}

Changes

No recorded changes to this operation across all 11 revisions of this API.