diff --git a/ios/Mappers.swift b/ios/Mappers.swift index b34647e3..cb442aaf 100644 --- a/ios/Mappers.swift +++ b/ios/Mappers.swift @@ -538,7 +538,7 @@ class Mappers { class func mapFromAmountDetails(_ amountDetails: SCPAmountDetails?) -> NSDictionary { let amount: NSDictionary = [ - "amount": amountDetails?.tip ?? NSNull(), + "amount": amountDetails?.tip?.amount ?? NSNull(), ] let result: NSDictionary = [