Skip to main content

Capture Pre-Auth Transaction

Capture the funds from a previously authorized pre-auth transaction.

Endpoint Information

Name: Capture Transaction (Pre Auth)
Method: POST
URL: {{BASE_URL}}/api/v1/payment/capture-pre-auth-transaction

Description

After a pre-authorization holds funds on a customer's card, you must use this endpoint to finalize the transaction and capture payment.

Authentication

Type: Basic Auth

  • Username: App Key
  • Password: Secret Key

Request Body

Content-Type: application/json

{
"merchantAccountId": "{{your_account_no}}",
"reference": "DuqXNBv0Q-sk-151s2"
}

Parameters

ParameterTypeRequiredDescription
merchantAccountIdstringYesYour merchant account ID
referencestringYesThe reference ID of the pre-authorized transaction

Response

Success Response

{
"success": true,
"message": "Capture success",
"data": []
}

Response Fields

FieldTypeDescription
successbooleanCapture success status
messagestringResponse message

Usage

Use this endpoint only after a successful pre-authorization payment. This completes the payment flow.