description:
API call to refund a transaction and reverse commission from a sale if required
Parameter | Type | Description | Required |
---|---|---|---|
api_token | string | API Token | Yes |
confirmation_id | string | Confirmation ID from Codebookie of the completed order | Yes |
Example usage
1 2 3 4 5 6 7 |
require "codeBookie.php"; $codeBookie = new CodeBookie(); $confirmationID = '1234567890'; $result = $codeBookie->refundCouponCommission($confirmationID); |
Output variables:
Variable | Type | Description |
---|---|---|
status | string | OK or Error |
message | string | Message |