Approve Payment Transaction
URL
The endpoint and http method information to approve a payment transaction are stated below.
Request Parameters
The parameters expected to be sent in the requests to be made to approve the payment transaction are listed under the table and subheadings below;
List of payment transaction id
Set this parameter true if you want payment transactions to be approved in a single transaction otherwise system only approves a transaction what it can
Response Parameters
The parameters returned as a result of the payment are also subject to the rules specified in
the Response Formats section of the API documentation home page. In the absence of a systematic
or fictional error, the sub-parameters of the object returned in the data
parameter are as follows:
Size of the payment transaction id list
Payment Transaction Approval Information
Payment transaction is the object that contains information about the transaction and payment transaction in the return object while making the approval and withdrawal of the approval request.
ID of the payment transaction
Returns SUCCESS
and FAILURE
regarding to the status of the operation
Contains error information if an error occurred when approval operation is failed
Sample Codes
You can review the sample codes in the open source Craftgate API clients.