Capture / Ticket Request
API Explorer-
Pre-Auth (Auth-Only) transactions allow users to hold a specific amount for processing at a later time without needing to re-enter account details. A Capture/Ticket Request is used to finalize an Auth-Only (Ticket) transaction, ensuring the held amount is processed without requiring the account data to be entered again.
-
Follow the steps and references outlined in this section to perform a Capture/Ticket transaction.
-
Capture request used to post capture an Auth only transaction without re-entering account data.
Request Body
application/xml
Response Body
application/xml
curl -X GET "https://example.com" \ -H "Content-Type: application/xml" \ -d '<request> <AuthKey/> <RegisterId>3</RegisterId> <TPN/> <TransType>Capture</TransType> <Amount>100.00</Amount> <Tip>10.00</Tip> <AcntLast4/> <RefId>2</RefId> <MerchantId/> <CustomerMobile/> <CustomerEmail/> <IsTxnStatusScreenRequired>true</IsTxnStatusScreenRequired> </request>'<response>
<RefId>2</RefId>
<RegisterId>3</RegisterId>
<TPN>xxx</TPN>
<ResultCode>0</ResultCode>
<Message>Success</Message>
<PaymentType>Credit</PaymentType>
</response>