Card Rule Assignments

Create a new Rule Assignment for the card identified in the path.

Create a new Rule Assignment for the card identified in the path.

post/pws/cards/{public_token}/rule-assignments

Request

  • Base URL
    https://api.uat.paymentology.com/ppws/api
  • URL
    https://api.uat.paymentology.com/ppws/api/pws/cards/{public_token}/rule-assignments
  • Auth
    none declared. Required headers: Client-Id, Api-Call-Unique-Identifier

Path parameters

public_tokenstring required

Headers

Client-Idinteger required

The ID of the client

Api-Call-Unique-Identifierstring required

Api call unique identifier

Request body

rule_idinteger required

Rule id

state'ENABLED' | 'DISABLED'

State of the rule assignment

disabled_untilstring

UTC timestamp until the rule assignment is disabled, formatted in ISO 8601 style yyyy-MM-dd'T'HH:mm:ss[.SSS]

Example request

{
  "rule_id": 32
}

Response

success

Changes

No recorded changes to this operation across all 1 revision of this API.