Update Decision

This request is used when a transaction is pending for a review, and the customer need to update the information to approve the transaction, it has the following attributes

transaction_info {object}

Required: true

Represents the information details of the request in a JSON object. The object has the following attributes:

  • type: string Type value represent the type of request that is sent.

    Example: “authorization”

    Required: true

action_info {object}

Required: true Represents the action information object, that has the attributes:

  • decision_id: string

    Example: “8475986574758978745”

    Required: true

    The unique identifier of the decision.

  • decision: string

    Example: “Accept”

    Required: true

    The decision value that will be updated.

  • comments: string

    Example: 01/27

    Required: false

    An additional comment if need it.number: int Represents a Luhm compliant credit card value. Example: "4242424242424242" Required: true

Example of the JSON response
{
  "status": "success",
  "message": "Action requested successfully",
  "data": {
    "transaction_info": {
      "type": "update_decision_response",
      "reference_code": "0e411e48-1bd8-40af-9300-bb7c508be9bd",
      "transaction_id": "0001711566910563474602",
      "request_id": "7115668389676468804951",
      "status": "Accepted",
      "created_at": "2024-03-27T19:15:12.082Z"
    }
  }
}

Last updated

Was this helpful?