CAPTURE request
CAPTURE request is used to submit previously authorized transaction (created by AUTH request). Hold funds will be transferred to Merchants account.
This request is sent by POST in the background (eg, through PHP CURL).
Request parameters
Parameter | Description | Values | Required field |
action | Capture previously authenticated transaction | CAPTURE | + |
client_key | Unique client key (CLIENT_KEY) | + | |
trans_id | Transaction ID in the Payment Platform | String up to 255 characters | + |
amount | The amount for partial capture. Only one partial capture allowed. | Numbers in the form XXXX.XX (without leading zeros) | – |
hash | Special signature to validate your request to payment platform | **(Appendix A) | + |
Response parameters
Successful capture response:
Parameter | Description |
action | CAPTURE |
result | SUCCESS |
status | SETTLED |
amount | Amount of capture. |
order_id | Transaction ID in the Client’s system |
trans_id | Transaction ID in the Payment Platform |
Unsuccessful capture response:
Parameter | Description |
action | CAPTURE |
result | DECLINED |
status | PENDING |
order_id | Transaction ID in the Client’s system |
trans_id | Transaction ID in the Payment Platform |
decline_reason | The reason why the capture was declined |
Callback parameters
Successful capture response:
Parameter | Description |
action | CAPTURE |
result | SUCCESS |
status | SETTLED |
order_id | Transaction ID in the Client’s system |
trans_id | Transaction ID in the Payment Platform |
amount | Amount of capture. |
hash | Special signature, used to validate callback **(Appendix A) |
Unsuccessful capture response:
Parameter | Description |
action | CAPTURE |
result | DECLINED |
status | PENDING |
order_id | Transaction ID in the Client’s system |
trans_id | Transaction ID in the Payment Platform |
decline_reason | The reason why the capture was declined |
hash | Special signature, used to validate callback **(Appendix A) |