paymentlib::remote::payment_remote

Function create_payment

Source
pub fn create_payment(
    headers: HeaderMap,
    dto: PaymentRequest,
) -> Result<PaymentResponse, String>