Skip to main content

encode_payment_header

Function encode_payment_header 

Source
pub fn encode_payment_header(payload: &PaymentPayload) -> Result<String>
Expand description

Encode a PaymentPayload as the value for the X-Payment HTTP header.