-
Notifications
You must be signed in to change notification settings - Fork 1
CAPTURE
Zohaib edited this page Feb 9, 2023
·
4 revisions
This page describes the ExpressPay Android SDK CAPTURE Adapter.
CAPTURE request is used to submit previously authorized transaction (created by SALE request with parameter auth = Y).
Hold funds will be transferred to Merchants account.

- The CAPTURE Adapter operation method based on the cardholder data:
/**
* @param transactionId transaction ID in the Payment Platform. UUID format value.
* @param payerEmail customer’s email. String up to 256 characters.
* @param cardNumber the credit card number.
* @param amount the amount for capture. Only one partial capture is allowed. Numbers in the form XXXX.XX (without leading zeros).
* @param callback the [ExpressPayCaptureCallback].
*/
fun execute(
@NonNull
transactionId: String,
@NonNull
payerEmail: String,
@NonNull
cardNumber: String,
@Nullable
amount: Double?,
@NonNull
callback: ExpressPayCaptureCallback
)- The CAPTURE Adapter operation method based on the hash data:
/**
* @param transactionId transaction ID in the Payment Platform. UUID format value.
* @param hash special signature to validate your request to payment platform.
* @param amount the amount for capture. Only one partial capture is allowed. Numbers in the form XXXX.XX (without leading zeros).
* @param callback the [ExpressPayCaptureCallback].
*/
fun execute(
@NonNull
transactionId: String,
@NonNull
hash: String,
@Nullable
amount: Double?,
@NonNull
callback: ExpressPayCaptureCallback
)- The
ExpressPayCaptureCallbackresults:
| Result | Description |
|---|---|
ExpressPayCaptureResult.Success |
success result. |
ExpressPayCaptureResult.Decline |
result with the decline reason. |
Website: https://expresspay.sa
Phone: +966920033633
Email: sale@expresspay.sa
Address: ExpressPay, Olaya Street, Riyadh, Saudi Arabia
© 2023 - 2024 ExpressPay. All rights reserved.