NSWGovPaySubmissionEvent: FormEventBase & {
    configuration: {
        customerReference?: string;
        elementId: string;
        primaryAgencyId: string;
        productDescription: string;
        subAgencyCode?: string;
    };
    type: "NSW_GOV_PAY";
}

Type declaration

  • configuration: {
        customerReference?: string;
        elementId: string;
        primaryAgencyId: string;
        productDescription: string;
        subAgencyCode?: string;
    }
    • OptionalcustomerReference?: string

      An optional customer reference that will be passed on NSW GovPay during the request payment process

    • elementId: string

      The elementId that holds the value that will be paid. Must be the id of a number or calculation element.

    • primaryAgencyId: string

      The id of the OneBlink -> NSW_GOV_PAY integration primary agency to be used.

    • productDescription: string

      Used to describe the product the customer is purchasing. Passed on NSW GovPay during the request payment process

    • OptionalsubAgencyCode?: string

      A optional sub agency code that will ensure the payment goes to the correct agency within NSW GovPay

  • type: "NSW_GOV_PAY"