Type Alias NSWGovPayPayment
NSWGovPayPayment: BaseFormSubmissionPayment & { paymentTransaction: { agencyCompletionPayment?: { accountToken?: string; agencyTransactionId: string; amount: number; bPay?: { billerCode: string; crn: string; processingDate: string; }; bankReference: string; card?: { cardPresent: boolean; cardType: string; last4Digits: string; }; emailAddress?: string; paymentCompletionReference: string; paymentMethod: | "CARD" | "PAYPAL" | "PAYID" | "BPAY"; paymentReference: string; surcharge: number; surchargeGst: number; }; integrationPrimaryAgencyId: string; nswGovPayPaymentReference: string; redirectUrl: string; }; type: NSWGovPaySubmissionEvent["type"]; } Type declaration
paymentTransaction: {
agencyCompletionPayment?: {
accountToken?: string;
agencyTransactionId: string;
amount: number;
bPay?: {
billerCode: string;
crn: string;
processingDate: string;
};
bankReference: string;
card?: {
cardPresent: boolean;
cardType: string;
last4Digits: string;
};
emailAddress?: string;
paymentCompletionReference: string;
paymentMethod:
| "CARD"
| "PAYPAL"
| "PAYID"
| "BPAY";
paymentReference: string;
surcharge: number;
surchargeGst: number;
};
integrationPrimaryAgencyId: string;
nswGovPayPaymentReference: string;
redirectUrl: string;
}
Optional
agencyCompletionPayment?: {
accountToken?: string;
agencyTransactionId: string;
amount: number;
bPay?: {
billerCode: string;
crn: string;
processingDate: string;
};
bankReference: string;
card?: {
cardPresent: boolean;
cardType: string;
last4Digits: string;
};
emailAddress?: string;
paymentCompletionReference: string;
paymentMethod:
| "CARD"
| "PAYPAL"
| "PAYID"
| "BPAY";
paymentReference: string;
surcharge: number;
surchargeGst: number;
}
Optional
accountToken?: string
agencyTransactionId: string
amount: number
Optional
bPay?: {
billerCode: string;
crn: string;
processingDate: string;
}
billerCode: string
crn: string
processingDate: string
bankReference: string
Optional
card?: {
cardPresent: boolean;
cardType: string;
last4Digits: string;
}
cardPresent: boolean
cardType: string
last4Digits: string
Optional
emailAddress?: string
paymentCompletionReference: string
paymentMethod:
| "CARD"
| "PAYPAL"
| "PAYID"
| "BPAY"
paymentReference: string
surcharge: number
surchargeGst: number
integrationPrimaryAgencyId: string
nswGovPayPaymentReference: string
redirectUrl: string
Payment details specific to NSW GovPay payments