Skip to main content
Version: Lab (preview)

createBarcodePaymentSandbox

MUTATION

Sandbox Only This mutation will only work in sandbox environments. It is used to simulate barcode payments for testing purposes.

Arguments

barcode_idRequired
String
The unique identifier of the barcode to process payment for.
amount_to_payRequired
Int
The amount to process for the payment in cents.

Response

BarcodePaymentResponse
confirmation_code
String
The confirmation code for the payment.
status
BarcodePaymentStatus
The status of the payment.
Values
PAYMENT_ACCEPTEDPAYMENT_DECLINEDSYSTEM_ERROR
status_message
String
The status message for the payment.