Uncategorized

Action Code 4

Description- Action Code 4 is used to perform reprocess of original transaction through API. Currently supports only transaction type 1,2 and 9.(Auth Only, AuthCapture and Verification respectively)

Supported Transaction Types:

Transaction type

CC

DB

EBT

ACH

1 – Auth Only

Yes

Yes

2 – Auth Capture

Yes

Yes

Yes

Yes

9 – Verification

Yes

Yes

Conditions:

For Action Code: 4

  • Nonce is not mandatory

    • Code side: Auto generate Nonce if Nonce is not present.

  • Send Manual Transaction / Card Not Present transaction.

  • Reference transaction ID of the initial transaction to be stored in Internal Notes

    • Reference transaction ID from API request should not save in DB column

  • Card or check object cannot be given, 

    • If it is provided in the API request, Code consider and take only the initial transaction’s (from Reference transaction ID) card details.

Notes:

  • Add Internal Notes (varchar 255) in DB and API

    • Add Reference transaction ID in Internal notes column.

      • Format: Internal Notes – Reprocessed 7812818

Mandatory API fields:

  • Action code

  • Transaction type

  • Reference transaction ID

API Request without amount (same amount as original transaction)

{ 
    "type":"1", 
    "reference_transaction_id":{{transaction_id}},
    "action_code":"4"
}

API Request with amount (different amount as original transaction)

{ 
   "amount":51.99,
    "type":"1", 
    "reference_transaction_id":{{transaction_id}},
    "action_code":"4"
}

Leave a Reply