         request.httpMethod = "POST"
         request.setValue("application/bitcoin-payment", forHTTPHeaderField: "Content-Type")
         request.addValue("application/bitcoin-paymentack", forHTTPHeaderField: "Accept")
+        addBitpayPartnerHeaders(request: request)
         request.httpBody = payment?.encode()
         print("[PAY] Sending PaymentProtocolPayment to: \(url)")
         URLSession.shared.dataTask(with: request as URLRequest) { data, response, error in

            }.resume()
    }
}


struct PaymentRequest {

    // MARK: HTTP Headers
    static let jsonHeader = "application/payment-request"
    static let bip70header = "application/bitcoin-paymentrequest"
    static let bitPayPartnerKey = "BP_PARTNER"
    static let bitPayPartnerValue = "brd"
    static let bitPayPartnerVersionKey = "BP_PARTNER_VERSION"
    
    let currency: Currency
    var toAddress: Address?
