Capture Transaction

Captures a previously uncaptured/authorised-only transaction

SecurityLimepay-SecretKey
Request
path Parameters
transactionId
required
string
Request Body schema: application/json
captureAmount
integer <int64>

The amount to capture from a previously authorised transaction. If left unset, the full amount of the transaction will be captured

Responses
200
400
401
403
404
405
406
409
422
429
500
503
post/transactions/{transactionId}/authorisation:capture
Request samples
application/json
{
  • "captureAmount": 0
}
Response samples
application/json
{
  • "_id": "tran_Zz5FyPz_YQaAoSHX",
  • "merchantId": "mcht_Zz5Fx_z_YQaAoSHU",
  • "customerId": "cust_Zz5Fx_z_YQaAoSHV",
  • "merchantOrderId": "ordr_Zz5FyPz_YQaAoSHY",
  • "transactionPayType": {
    },
  • "amount": 0,
  • "currency": "AUD",
  • "surchargeAmount": 0,
  • "status": "accepted",
  • "statusBeforeDispute": "accepted",
  • "lastChargeId": "chrg_Zz5FyPz_YQaAoSHZ",
  • "refundedAmount": 0,
  • "payoutId": "payout_Zz5FyPz_YQaAoSHh",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "fee": 0
}
Copyright © April Solutions 2023. All right reserved.