Anchor | ||||
---|---|---|---|---|
|
Rerun Transactions
POST /pay/v1/transactions/{transaction_id}/reruns
Headers
Content-Typestring
Content type.
Authorizationstring
Access token generated from create token request.
Attributes
amountfloat
Transaction amount.
transaction_uniquestring
Transaction unique.
delay_capture_days integer
Number of days for which the transaction will be delayed. The maximum number is 30
Request
Code Block |
---|
POST https://secure.blinkpayment.co.uk/api/pay/v1/transactions/BL-2349AGB/reruns HTTP/1.1
Content-Type: application/json
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbG...
{
"amount": 1.01,
"transaction_unique": "ref7ng8"
} |
Response
Code Block |
---|
HTTP/1.1 200 OK
Content-Type: application/json
{
"success": true,
"message": "Rerun successfully",
"amount" : "1.01",
"reference": "ref7ng8",
"transaction_id": "BL-2349AGB"
} |