Skip to main content
Version: Lab (preview)

BarcodeInput

INPUT

This input object is used to create a barcode.

Fields

account_code
String
Custom defined value passed in as the account code for the barcode.
amountRequired
Int
The amount of the payment.
days_until_expiration
Int
The number of days until the barcode expires.
email_or_phoneRequired
String
The email or phone number of the payor.
expiration_date
AWSDate
The date the barcode expires.
full_nameRequired
String
The full name tied to the barcode.
invoice_id
String
The invoice id associated with the payment.
merchant_uidRequired
String
The Pay Theory unique identifier assigned to the merchant that the barcode is being created for.
metadata
AWSJSON
The metadata to attach to the barcode. This is a JSON object that can contain any data that you want to attach to the barcode.
payor
PayorInput
The payor object associated with the barcode.
payor_id
String
The Pay Theory unique identifier assigned to the payor that the barcode is being created for.
reference
String
Custom defined value passed in as the reference for the barcode.
sale_id
String
A PayTheory created sale identifier that helps tie together multiple transactions.