pub fn encode_x_payment(payload: &PaymentPayloadV1) -> Result<String, HttpError>Expand description
Encodes a V1 PaymentPayloadV1 as a Base64 string for the
X-PAYMENT header.
ยงErrors
Returns HttpError::Serialize if JSON serialization fails.
pub fn encode_x_payment(payload: &PaymentPayloadV1) -> Result<String, HttpError>Encodes a V1 PaymentPayloadV1 as a Base64 string for the
X-PAYMENT header.
Returns HttpError::Serialize if JSON serialization fails.