Merge pull request #15124 from mattwire/REF_processMembershipPending
[civicrm-core.git] / api / v3 / examples / ParticipantPayment / Get.php
index be2f52c535a932845802c659acdd8d286512d6fb..c0b8e4b714de56a471912847947bcceacecaf01e 100644 (file)
@@ -7,8 +7,8 @@
  */
 function participant_payment_get_example() {
   $params = [
-    'participant_id' => 64,
-    'contribution_id' => 6,
+    'participant_id' => 68,
+    'contribution_id' => 7,
   ];
 
   try{
@@ -42,12 +42,12 @@ function participant_payment_get_expectedresult() {
     'is_error' => 0,
     'version' => 3,
     'count' => 1,
-    'id' => 6,
+    'id' => 7,
     'values' => [
-      '6' => [
-        'id' => '6',
-        'participant_id' => '64',
-        'contribution_id' => '6',
+      '7' => [
+        'id' => '7',
+        'participant_id' => '68',
+        'contribution_id' => '7',
       ],
     ],
   ];
@@ -62,17 +62,17 @@ function participant_payment_get_expectedresult() {
 * https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/ParticipantPaymentTest.php
 *
 * You can see the outcome of the API tests at
-* https://test.civicrm.org/job/CiviCRM-master-git/
+* https://test.civicrm.org/job/CiviCRM-Core-Matrix/
 *
 * To Learn about the API read
-* http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API
+* https://docs.civicrm.org/dev/en/latest/api/
 *
-* Browse the api on your own site with the api explorer
-* http://MYSITE.ORG/path/to/civicrm/api
+* Browse the API on your own site with the API Explorer. It is in the main
+* CiviCRM menu, under: Support > Development > API Explorer.
 *
 * Read more about testing here
-* http://wiki.civicrm.org/confluence/display/CRM/Testing
+* https://docs.civicrm.org/dev/en/latest/testing/
 *
 * API Standards documentation:
-* http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards
+* https://docs.civicrm.org/dev/en/latest/framework/api-architecture/
 */