X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FPayment.php;h=4cc44800f4aac03c30a0d8c27a73d83d49619fba;hb=c77f9b14576dbe8314a82b2e4f19a170d3cc1695;hp=5c490bd8654190fd112b076177291ec6ed73e436;hpb=2ed78b0072201efe1f57e910d1405c20fb242525;p=civicrm-core.git diff --git a/api/v3/Payment.php b/api/v3/Payment.php index 5c490bd865..4cc44800f4 100644 --- a/api/v3/Payment.php +++ b/api/v3/Payment.php @@ -1,27 +1,11 @@ ts('Total Payment Amount'), 'type' => CRM_Utils_Type::T_FLOAT, ], + 'fee_amount' => [ + 'title' => ts('Fee Amount'), + 'type' => CRM_Utils_Type::T_FLOAT, + ], 'payment_processor_id' => [ 'name' => 'payment_processor_id', 'type' => CRM_Utils_Type::T_INT, @@ -349,6 +342,11 @@ function _civicrm_api3_payment_get_spec(&$params) { 'title' => ts('Payment Date'), 'type' => CRM_Utils_Type::T_TIMESTAMP, ], + 'financial_trxn_id' => [ + 'title' => ts('Payment ID'), + 'type' => CRM_Utils_Type::T_INT, + 'api.aliases' => ['payment_id', 'id'], + ], ]; }