'name' => 'total_amount',
'title' => 'Total Amount',
];
+ $params['skipCleanMoney'] = [
+ 'api.default' => TRUE,
+ 'title' => 'Do not attempt to convert money values',
+ 'type' => CRM_Utils_Type::T_BOOLEAN,
+ ];
$params['financial_type_id'] = [
'name' => 'financial_type_id',
'title' => 'Financial Type',
'receipt_date' => '20080522000000',
'total_amount' => '20,000.00',
'api.Payment.create' => ['total_amount' => '8,000.00'],
+ 'skipCleanMoney' => FALSE,
];
$contribution = $this->callAPISuccess('Order', 'create', $params);