PurchaseVoucherInput
Input fields
The account to purchase a voucher for.
When the voucher becomes available to be redeemed.
How much to charge the account for in cents. Excludes tax.
How much to charge the account for in cents. Includes tax.
Additional metadata from client sources to be stored against the voucher. This data is not structural and won't be relied on by Kraken internally.
Display name for the voucher purchase. Maximum length is 255 characters.
The ID of the payment, if any.
When the purchase was performed.
The ledger number of the ledger to transfer the charge to, if any.
The type of voucher.
How much to credit the account for this voucher in cents.
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
Example
{
"accountNumber": "A-5E10A0D7",
"availableFrom": "2002-10-25",
"chargeAmountInCents": 99,
"chargeAmountInCentsWithTax": 14,
"clientParams": {"key": "value"},
"displayName": "fly-image-herself-yard-challenge",
"paymentId": "26779531",
"purchasedAt": "1989-04-16T04:05:07.169974+00:00",
"transferChargeLedgerNumber": "92568871",
"voucherType": "onto-unit-baby-nearly-not",
"voucherValueInCents": 35
}