POST https://api.legendonlineservices.co.uk/Cap2/ExternalMembershipPayment

External Membership Payment

Request Parameters

From Body Type Description
ContactGuid Guid
ExternalPaymentReference String Optional. Max 50 characters
LocationGuid Guid
TotalPaymentAmount Decimal
[ExternalMembershipPaymentFee] Optional.
Name Type Description
FeeAmount Decimal
FeeReference String Max 50 characters
FeeType Enum Fee Type
Values
1 - CycleFee
2 - UpFrontFee
3 - ProrateFee
4 - CancellationFee
5 - AdminFee
6 - ProcessFee
7 - UpgradeFee
8 - RenewalFee
9 - EnrollmentFee
10 - Unknown
11 - CourseFee




{
  "ExternalPaymentReference": "sample string 1",
  "ContactGuid": "9ced4866-631a-4634-a11c-0a1c6187f63a",
  "TotalPaymentAmount": 3.0,
  "LocationGuid": "3eb881b6-c2a0-477c-8a9e-7b27b1b85cab",
  "ExternalMembershipPaymentFees": [
    {
      "FeeType": 1,
      "FeeAmount": 1.0,
      "FeeReference": "sample string 2"
    },
    {
      "FeeType": 1,
      "FeeAmount": 1.0,
      "FeeReference": "sample string 2"
    },
    {
      "FeeType": 1,
      "FeeAmount": 1.0,
      "FeeReference": "sample string 2"
    }
  ]
}

Response - (Status 200 - OK)

ExternalMembershipPaymentResponse

Name Type Description
Success Boolean




{
  "Success": true
}

Remarks

This end point replaces the old ExternalMembershipPayment SOAP endpoint that is now obsolete.

Bundle(s)
Cap2