Add reference message for Xero payment

This commit is contained in:
Rene Vergara 2022-09-28 13:54:42 -05:00
parent 99efd43af8
commit 84c6d82e98
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2

View file

@ -418,6 +418,7 @@ payXeroInvoice pipe dbName inv address amt = do
[ "Invoice" .= object ["InvoiceNumber" .= inv] [ "Invoice" .= object ["InvoiceNumber" .= inv]
, "Account" .= object ["Code" .= fromMaybe "" aCode] , "Account" .= object ["Code" .= fromMaybe "" aCode]
, "Date" .= utctDay today , "Date" .= utctDay today
, "Reference" .= ("Paid in Zcash through ZGo" :: String)
, "Amount" .= amt , "Amount" .= amt
]) $ ]) $
addRequestHeader "Accept" "application/json" $ addRequestHeader "Accept" "application/json" $