Show more

Use to navigate results, ENTER to select one, ESC to close

Type in any word to easily find the endpoint, property or group of operations you are looking for.

API changelog
Download source
  • JSON OpenAPI specification
  • YAML OpenAPI specification
Documentation
Class Manager
stage
  • dev default
  • prod
  • stage

Topics

  • Introduction
  • Servers

Endpoints

  • Activity Logs
    • List GET
  • Addresses
    • Get addresses GET
    • Update addresses for entity PUT
    • Delete addresses for entity DELETE
  • Auth
    • Check token POST
    • Forgot Password POST
    • Log In POST
    • Log Out POST
    • Reset Password POST
    • List GET
    • Get account permissions GET
    • Revoke DELETE
    • Link Family to Company POST
    • Check User Existence POST
    • Register Company POST
    • Register POST
  • Search
    • Create search key GET
  • Balance
    • List family balances GET
    • Retrieve family balance GET
  • Basket
    • Finalise checkout process by creating transactions and capturing payment POST
    • Get quote GET
  • Bill
    • Get bill GET
  • Tax Rates
    • Get GET
    • Update PUT
    • Delete DELETE
    • List GET
    • Create POST
    • Make Default POST
  • Attendances
    • List GET
    • Create POST
    • Delete Many DELETE
    • Get GET
    • Delete DELETE
    • Restore POST
    • Restore Many POST
  • Attendance Stats
    • Stats GET
  • Attendees
    • List GET
  • Courses
    • Archive POST
    • Archive Many POST
    • Unarchive POST
    • Unarchive Many POST
    • Get GET
    • Delete DELETE
    • Update PATCH
    • List GET
    • Create POST
    • Delete Many DELETE
    • Restore POST
    • Restore Many POST
  • Enrolment Adjustments
    • Cancel Enrolment POST
    • Delayed Start Enrolment POST
    • Get GET
    • Delete DELETE
    • List GET
    • Delete Many DELETE
    • Restore POST
    • Restore Many POST
    • Make Up Lesson POST
  • Enrolments
    • By Month Chart GET
    • Get GET
    • Delete DELETE
    • List GET
    • Create POST
    • Delete Many DELETE
    • Restore POST
    • Restore Many POST
    • Get enrolment unique students count GET
    • Update enrolments PUT
  • Lesson Adjustments
    • Additional Lesson POST
    • Cancel Class POST
    • Cancel Lesson POST
    • Change Lesson Date POST
    • Get GET
    • Delete DELETE
    • List GET
    • Delete Many DELETE
    • Restore POST
    • Restore Many POST
  • Lessons
    • List GET
    • List On Date GET
  • Make Up Lessons
    • Delete DELETE
    • List GET
    • Create POST
  • Trial Availabilities
    • List GET
  • Trials
    • Archive POST
    • Archive Many POST
    • Unarchive POST
    • Unarchive Many POST
    • Get GET
    • Update PUT
    • Delete DELETE
    • List GET
    • Create POST
    • Delete Many DELETE
    • Restore POST
    • Restore Many POST
  • Waiting Lists
    • Delete DELETE
    • List GET
    • Create POST
    • Delete Many DELETE
    • Restore POST
    • Restore Many POST
  • Companies
    • Update PUT
    • Delete DELETE
    • Delete DELETE
    • List GET
    • Get GET
    • Update PUT
    • List GET
    • Update company settings PATCH
    • Update company look and feel settings PATCH
  • Custom Fields
    • Get GET
    • Update PUT
    • Delete DELETE
    • List GET
    • Create POST
    • Get custom field responses GET
    • Update custom field responses PATCH
  • Demos
    • Clear POST
  • Discount Schemes
    • Get GET
    • Delete DELETE
    • List GET
    • Create POST
    • Delete Many DELETE
    • Restore POST
    • Restore Many POST
    • Status POST
  • Discount Scheme Values
    • Get GET
    • Update PUT
    • Delete DELETE
    • List GET
    • Create POST
    • Delete Many DELETE
    • Restore POST
    • Restore Many POST
  • Contacts
    • Get GET
    • Update PUT
    • Delete DELETE
    • List GET
    • Create POST
    • Delete Many DELETE
    • Restore POST
    • Restore Many POST
    • Mark As Primary POST
    • Search GET
  • Families
    • Create POST
    • Archive POST
    • Archive Many POST
    • Unarchive POST
    • Unarchive Many POST
    • Count GET
    • Get GET
    • Update PUT
    • Update POST
    • Delete DELETE
    • List GET
    • Create POST
    • Delete Many DELETE
    • Restore POST
    • Restore Many POST
    • Get family invitation link data GET
    • Invite POST
    • Invite Cancel POST
    • Get family invited user data GET
  • Students
    • Archive POST
    • Archive Many POST
    • Unarchive POST
    • Unarchive Many POST
    • List Birthdays GET
    • Count GET
    • Get GET
    • Delete DELETE
    • Update PATCH
    • List GET
    • Create POST
    • Delete Many DELETE
    • Restore POST
    • Restore Many POST
  • Agreements
    • List GET
    • Create POST
  • Waivers
    • Archive POST
    • Archive Many POST
    • Unarchive POST
    • Unarchive Many POST
    • Get GET
    • Delete DELETE
    • Update PATCH
    • List GET
    • Create POST
  • FeatureFlags
    • Disables a feature for the logged-in company by an admin POST
    • Disables a feature for the logged-in company POST
    • Disables a feature for all companies POST
    • Enables a feature for the logged-in company by an admin POST
    • Enables a feature for the logged-in company POST
    • Enables a feature for all companies POST
    • Lists all feature flags with their current settings without company-specific values GET
    • Lists all feature flags with their current settings for the logged-in company GET
  • Features
    • Override features by admin POST
    • Get company features GET
    • Update features PATCH
  • Avatars
    • Create an avatar for the entity POST
    • Delete an avatar for the entity DELETE
  • Files
    • Delete files for entity DELETE
    • Create POST
    • Get GET
    • Delete DELETE
    • Get direct upload link POST
  • Holidays
    • Get GET
    • Update PUT
    • Delete DELETE
    • List GET
    • Create POST
    • Delete Many DELETE
    • Restore POST
    • Restore Many POST
  • Quickbooks
    • Quickbooksretrieve connection GET
    • Quickbooksauth POST
    • Quickbooksdisconnect POST
    • Quickbooksreset DELETE
    • Quickbookssync all POST
    • Quickbooksurl generator GET
  • Stripe
    • Stripe capture payment intent POST
    • Stripe charge payment method POST
    • Stripe create payment session POST
    • Stripe retrieve refund GET
    • Stripe create refund POST
    • Stripe create setup intent POST
    • Stripe delete payment method DELETE
    • List GET
    • Get onboarding link GET
    • Get Stripe profile link GET
    • Stripe retrieve account GET
    • Stripe retrieve payment intent GET
    • Stripe set default payment method POST
  • Link
    • Process link POST
    • Get GET
  • Locations
    • Archive POST
    • Archive Many POST
    • Unarchive POST
    • Unarchive Many POST
    • Get GET
    • Update PUT
    • Delete DELETE
    • List GET
    • Create POST
    • Delete Many DELETE
    • Restore POST
    • Restore Many POST
  • Rooms
    • Archive POST
    • Archive Many POST
    • Unarchive POST
    • Unarchive Many POST
    • Get GET
    • Update PUT
    • Delete DELETE
    • List GET
    • Create POST
    • Delete Many DELETE
    • Restore POST
    • Restore Many POST
  • Messages
    • Get GET
    • Delete DELETE
    • List GET
    • Store POST
    • Delete Many DELETE
    • Send POST
  • Message Instances
    • List GET
  • Pay
    • Process payment link POST
    • Retrieve payment link POST
  • Reporting
    • Export Course GET
    • Export Family GET
    • Export Staff GET
    • Export Student GET
    • Export Transaction GET
    • Get Family Stats GET
    • Get Student Stats GET
  • Seasons
    • Archive POST
    • Archive Many POST
    • Unarchive POST
    • Unarchive Many POST
    • Get GET
    • Update PUT
    • Delete DELETE
    • List GET
    • Create POST
    • Delete Many DELETE
    • Restore POST
    • Restore Many POST
    • Enrolment Status POST
    • Pricing Scheme POST
  • Pricing Scheme Values
    • Get GET
    • Update PUT
    • Delete DELETE
    • List GET
    • Create POST
    • Delete Many DELETE
    • Restore POST
    • Restore Many POST
  • Registration Fees
    • Archive POST
    • Unarchive POST
    • List GET
    • Create POST
    • Get GET
    • Delete DELETE
    • Update PATCH
  • Staff
    • Get staff invitation link data GET
    • Invite POST
    • Invite Cancel POST
    • Get staff invited user data GET
    • Archive POST
    • Archive Many POST
    • Unarchive POST
    • Unarchive Many POST
    • Get staff GET
    • Update PUT
    • Delete DELETE
    • List GET
    • Create POST
    • Delete Many DELETE
    • Restore POST
    • Restore Many POST
  • Transactions
    • By Charge And Payment Chart GET
    • Create credit note POST
    • Create Custom POST
    • Create From Bill POST
    • Create From Season POST
    • Create Manual Payment POST
    • Delete DELETE
    • List GET
  • Users
    • Impersonate POST
    • List GET
    • Update user's email or password PATCH
Powered by Bump.sh
API changelog
Download source
  • JSON OpenAPI specification
  • YAML OpenAPI specification
Documentation
Class Manager

Process payment link

Ask AI
  • Open in ChatGPT
  • Open in Claude

  • View as Markdown
  • Copy as Markdown
POST /v1/payment-links/{paymentLinkId}/process

Process payment link for given ID

Path parameters

  • paymentLinkId string Required

    Payment link ID

application/json

Body

  • paymentIntentId string | null Required

    Stripe payment intent id

Responses

  • 200 application/json

    successful operation

    Hide response attributes Show response attributes object
    • paymentLink object Required

      Payment Link schema

      Hide paymentLink attributes Show paymentLink attributes object
      • id string Required

        Payment link ID

      • companyId string

        Company ID

      • transactionId string

        Transaction ID

      • createdAt string(date-time) Required

        Created at date

    • company object Required

      Company schema

      Hide company attributes Show company attributes object
      • id string Required

        ID

      • name string Required

        Name

      • slug string Required

        Slug

      • email string Required

        Email

      • phone string | null

        Phone number

      • createdAt string(date-time) | null Required

        Created at

      • logo string | null Required

        Company logo

      • address object | null Required

        Address schema

        Hide address attributes Show address attributes object | null
        • id string

          id

        • companyId string Required

          Company ID

        • entityId string Required

          Entity ID

        • address1 string | null Required

          Address 1

        • address2 string | null Required

          Address 2

        • town string | null Required

          Town

        • state string | null Required

          State

        • countryCode string | null Required

          Country Code

        • zip string | null Required

          Zip

      • settings object Required

        Company Settings Group schema

        Hide settings attributes Show settings attributes object
        • general object Required

          Company General Settings schema

          Hide general attributes Show general attributes object
          • id string | null Required

            Company settings ID

          • timezone string Required

            Values are Africa/Abidjan, Africa/Accra, Africa/Addis_Ababa, Africa/Algiers, Africa/Asmara, Africa/Bamako, Africa/Bangui, Africa/Banjul, Africa/Bissau, Africa/Blantyre, Africa/Brazzaville, Africa/Bujumbura, Africa/Cairo, Africa/Casablanca, Africa/Ceuta, Africa/Conakry, Africa/Dakar, Africa/Dar_es_Salaam, Africa/Djibouti, Africa/Douala, Africa/El_Aaiun, Africa/Freetown, Africa/Gaborone, Africa/Harare, Africa/Johannesburg, Africa/Juba, Africa/Kampala, Africa/Khartoum, Africa/Kigali, Africa/Kinshasa, Africa/Lagos, Africa/Libreville, Africa/Lome, Africa/Luanda, Africa/Lubumbashi, Africa/Lusaka, Africa/Malabo, Africa/Maputo, Africa/Maseru, Africa/Mbabane, Africa/Mogadishu, Africa/Monrovia, Africa/Nairobi, Africa/Ndjamena, Africa/Niamey, Africa/Nouakchott, Africa/Ouagadougou, Africa/Porto-Novo, Africa/Sao_Tome, Africa/Tripoli, Africa/Tunis, Africa/Windhoek, America/Adak, America/Anchorage, America/Anguilla, America/Antigua, America/Araguaina, America/Argentina/Buenos_Aires, America/Argentina/Catamarca, America/Argentina/Cordoba, America/Argentina/Jujuy, America/Argentina/La_Rioja, America/Argentina/Mendoza, America/Argentina/Rio_Gallegos, America/Argentina/Salta, America/Argentina/San_Juan, America/Argentina/San_Luis, America/Argentina/Tucuman, America/Argentina/Ushuaia, America/Aruba, America/Asuncion, America/Atikokan, America/Bahia, America/Bahia_Banderas, America/Barbados, America/Belem, America/Belize, America/Blanc-Sablon, America/Boa_Vista, America/Bogota, America/Boise, America/Cambridge_Bay, America/Campo_Grande, America/Cancun, America/Caracas, America/Cayenne, America/Cayman, America/Chicago, America/Chihuahua, America/Ciudad_Juarez, America/Costa_Rica, America/Creston, America/Cuiaba, America/Curacao, America/Danmarkshavn, America/Dawson, America/Dawson_Creek, America/Denver, America/Detroit, America/Dominica, America/Edmonton, America/Eirunepe, America/El_Salvador, America/Fort_Nelson, America/Fortaleza, America/Glace_Bay, America/Goose_Bay, America/Grand_Turk, America/Grenada, America/Guadeloupe, America/Guatemala, America/Guayaquil, America/Guyana, America/Halifax, America/Havana, America/Hermosillo, America/Indiana/Indianapolis, America/Indiana/Knox, America/Indiana/Marengo, America/Indiana/Petersburg, America/Indiana/Tell_City, America/Indiana/Vevay, America/Indiana/Vincennes, America/Indiana/Winamac, America/Inuvik, America/Iqaluit, America/Jamaica, America/Juneau, America/Kentucky/Louisville, America/Kentucky/Monticello, America/Kralendijk, America/La_Paz, America/Lima, America/Los_Angeles, America/Lower_Princes, America/Maceio, America/Managua, America/Manaus, America/Marigot, America/Martinique, America/Matamoros, America/Mazatlan, America/Menominee, America/Merida, America/Metlakatla, America/Mexico_City, America/Miquelon, America/Moncton, America/Monterrey, America/Montevideo, America/Montserrat, America/Nassau, America/New_York, America/Nome, America/Noronha, America/North_Dakota/Beulah, America/North_Dakota/Center, America/North_Dakota/New_Salem, America/Nuuk, America/Ojinaga, America/Panama, America/Paramaribo, America/Phoenix, America/Port-au-Prince, America/Port_of_Spain, America/Porto_Velho, America/Puerto_Rico, America/Punta_Arenas, America/Rankin_Inlet, America/Recife, America/Regina, America/Resolute, America/Rio_Branco, America/Santarem, America/Santiago, America/Santo_Domingo, America/Sao_Paulo, America/Scoresbysund, America/Sitka, America/St_Barthelemy, America/St_Johns, America/St_Kitts, America/St_Lucia, America/St_Thomas, America/St_Vincent, America/Swift_Current, America/Tegucigalpa, America/Thule, America/Tijuana, America/Toronto, America/Tortola, America/Vancouver, America/Whitehorse, America/Winnipeg, America/Yakutat, Antarctica/Casey, Antarctica/Davis, Antarctica/DumontDUrville, Antarctica/Macquarie, Antarctica/Mawson, Antarctica/McMurdo, Antarctica/Palmer, Antarctica/Rothera, Antarctica/Syowa, Antarctica/Troll, Antarctica/Vostok, Arctic/Longyearbyen, Asia/Aden, Asia/Almaty, Asia/Amman, Asia/Anadyr, Asia/Aqtau, Asia/Aqtobe, Asia/Ashgabat, Asia/Atyrau, Asia/Baghdad, Asia/Bahrain, Asia/Baku, Asia/Bangkok, Asia/Barnaul, Asia/Beirut, Asia/Bishkek, Asia/Brunei, Asia/Chita, Asia/Choibalsan, Asia/Colombo, Asia/Damascus, Asia/Dhaka, Asia/Dili, Asia/Dubai, Asia/Dushanbe, Asia/Famagusta, Asia/Gaza, Asia/Hebron, Asia/Ho_Chi_Minh, Asia/Hong_Kong, Asia/Hovd, Asia/Irkutsk, Asia/Jakarta, Asia/Jayapura, Asia/Jerusalem, Asia/Kabul, Asia/Kamchatka, Asia/Karachi, Asia/Kathmandu, Asia/Khandyga, Asia/Kolkata, Asia/Krasnoyarsk, Asia/Kuala_Lumpur, Asia/Kuching, Asia/Kuwait, Asia/Macau, Asia/Magadan, Asia/Makassar, Asia/Manila, Asia/Muscat, Asia/Nicosia, Asia/Novokuznetsk, Asia/Novosibirsk, Asia/Omsk, Asia/Oral, Asia/Phnom_Penh, Asia/Pontianak, Asia/Pyongyang, Asia/Qatar, Asia/Qostanay, Asia/Qyzylorda, Asia/Riyadh, Asia/Sakhalin, Asia/Samarkand, Asia/Seoul, Asia/Shanghai, Asia/Singapore, Asia/Srednekolymsk, Asia/Taipei, Asia/Tashkent, Asia/Tbilisi, Asia/Tehran, Asia/Thimphu, Asia/Tokyo, Asia/Tomsk, Asia/Ulaanbaatar, Asia/Urumqi, Asia/Ust-Nera, Asia/Vientiane, Asia/Vladivostok, Asia/Yakutsk, Asia/Yangon, Asia/Yekaterinburg, Asia/Yerevan, Atlantic/Azores, Atlantic/Bermuda, Atlantic/Canary, Atlantic/Cape_Verde, Atlantic/Faroe, Atlantic/Madeira, Atlantic/Reykjavik, Atlantic/South_Georgia, Atlantic/St_Helena, Atlantic/Stanley, Australia/Adelaide, Australia/Brisbane, Australia/Broken_Hill, Australia/Darwin, Australia/Eucla, Australia/Hobart, Australia/Lindeman, Australia/Lord_Howe, Australia/Melbourne, Australia/Perth, Australia/Sydney, Europe/Amsterdam, Europe/Andorra, Europe/Astrakhan, Europe/Athens, Europe/Belgrade, Europe/Berlin, Europe/Bratislava, Europe/Brussels, Europe/Bucharest, Europe/Budapest, Europe/Busingen, Europe/Chisinau, Europe/Copenhagen, Europe/Dublin, Europe/Gibraltar, Europe/Guernsey, Europe/Helsinki, Europe/Isle_of_Man, Europe/Istanbul, Europe/Jersey, Europe/Kaliningrad, Europe/Kirov, Europe/Kyiv, Europe/Lisbon, Europe/Ljubljana, Europe/London, Europe/Luxembourg, Europe/Madrid, Europe/Malta, Europe/Mariehamn, Europe/Minsk, Europe/Monaco, Europe/Moscow, Europe/Oslo, Europe/Paris, Europe/Podgorica, Europe/Prague, Europe/Riga, Europe/Rome, Europe/Samara, Europe/San_Marino, Europe/Sarajevo, Europe/Saratov, Europe/Simferopol, Europe/Skopje, Europe/Sofia, Europe/Stockholm, Europe/Tallinn, Europe/Tirane, Europe/Ulyanovsk, Europe/Vaduz, Europe/Vatican, Europe/Vienna, Europe/Vilnius, Europe/Volgograd, Europe/Warsaw, Europe/Zagreb, Europe/Zurich, Indian/Antananarivo, Indian/Chagos, Indian/Christmas, Indian/Cocos, Indian/Comoro, Indian/Kerguelen, Indian/Mahe, Indian/Maldives, Indian/Mauritius, Indian/Mayotte, Indian/Reunion, Pacific/Apia, Pacific/Auckland, Pacific/Bougainville, Pacific/Chatham, Pacific/Chuuk, Pacific/Easter, Pacific/Efate, Pacific/Fakaofo, Pacific/Fiji, Pacific/Funafuti, Pacific/Galapagos, Pacific/Gambier, Pacific/Guadalcanal, Pacific/Guam, Pacific/Honolulu, Pacific/Kanton, Pacific/Kiritimati, Pacific/Kosrae, Pacific/Kwajalein, Pacific/Majuro, Pacific/Marquesas, Pacific/Midway, Pacific/Nauru, Pacific/Niue, Pacific/Norfolk, Pacific/Noumea, Pacific/Pago_Pago, Pacific/Palau, Pacific/Pitcairn, Pacific/Pohnpei, Pacific/Port_Moresby, Pacific/Rarotonga, Pacific/Saipan, Pacific/Tahiti, Pacific/Tarawa, Pacific/Tongatapu, Pacific/Wake, Pacific/Wallis, or UTC.

          • locale string Required

            Values are en-IE, en-AU, en-CA, en-GB, en-NZ, en-US, en_AU, en_CA, or en_NZ.

          • industry string Required

            Values are cheer, dance, gymnastics, martial_arts, other, performing_arts, swimming, tennis, or trampolining.

          • size string | null Required

            Values are not-started-yet, 1-50, 51-100, 101-250, 251-500, or more-than-500.

          • use12HourClock boolean Required

            Use 12 hour clock

          • brandColor string | null Required

            Brand color

          • brandColors object | null Required

            Full range of brand colors for the company

            Hide brandColors attributes Show brandColors attributes object | null
            • 50 string Required

              Hex color code

            • 100 string Required

              Hex color code

            • 200 string Required

              Hex color code

            • 300 string Required

              Hex color code

            • 400 string Required

              Hex color code

            • 500 string Required

              Hex color code

            • 600 string Required

              Hex color code

            • 700 string Required

              Hex color code

            • 800 string Required

              Hex color code

            • 900 string Required

              Hex color code

            • 950 string Required

              Hex color code

          • startDayOfWeek string Required

            Values are monday, tuesday, wednesday, thursday, friday, saturday, or sunday.

        • tax object Required

          Company Tax Settings schema

          Hide tax attributes Show tax attributes object
          • id string | null Required

            Company tax settings ID

          • enabled boolean Required

            Enabled

          • taxIdLabel string Required

            Tax ID Label

          • taxIdNumber string | null Required

            Tax ID Number

          • taxMode string Required

            Values are inclusive or exclusive.

        • trial object Required

          Company Trial Settings schema

          Hide trial attributes Show trial attributes object
          • id string | null Required

            Company trial settings ID

          • price integer Required

            Price

          • enableOnPortal boolean Required

            Enable on portal

          • maxCapacityPerLesson integer Required

            Max capacity per lesson

          • limitedCapacity boolean Required

            Is there a limited capacity for Trials

        • billing object Required

          Company Billing Settings schema

          Hide billing attributes Show billing attributes object
          • id string | null Required

            Company billing settings ID

          • stripeId string | null

            Stripe ID

          • currency string Required

            Values are USD, GBP, EUR, CAD, AUD, or NZD.

          • billingTiming string Required

            Values are advance, during, or arrears.

          • billingDayOfMonth integer Required

            Billing Day of Month (min: 1, max: 28)

        • enrolment object

          Company Enrolment Settings schema

          Hide enrolment attributes Show enrolment attributes object
          • id string | null Required

            Company enrolment settings ID

          • ageCutOffType string Required

            Type of Age Cut-off to apply

            Values are first_day_of_season, days_after_start, or on_specific_date.

          • ageCutOffDate string | null Required

            If Age Cut-off Type is "on_specific_date", this is the date in MM-DD format

          • ageCutOffDays integer | null Required

            If Age Cut-off Type is "days_after_start", this is the number of days

        • integrations object Required

          Company Integration Settings schema

          Hide integrations attribute Show integrations attribute object
          • stripe object | null Required

            Stripe Integration Settings schema

            Hide stripe attributes Show stripe attributes object | null
            • id string | null Required

              Company integration stripe settings ID

            • connectAccountId string Required

              Stripe Connect Account ID

            • region string Required

              Values are us or gb.

            • feeSchedule string Required

              Values are standard or reduced.

      • countryCode string Required

        Company address country code

    • family object Required

      Family schema

      Hide family attributes Show family attributes object
      • id string Required

        id

      • companyId string Required

        Company ID

      • name string Required

        Name

      • joinedAt string(date) | null Required

        Joined at date

      • invitationStatus string Required

        Values are not_invited, invited, or accepted.

      • profilePicture string | null Required

        Profile Picture

      • deletedAt string(date-time) | null Required

        Deleted at date

      • archivedAt string(date-time) | null Required

        Archived at date

      • createdAt string(date-time) Required

        Created at date

    • debitAggregateTransaction object Required

      Transaction with related details schema

      Hide debitAggregateTransaction attributes Show debitAggregateTransaction attributes object
      • aggregateId string Required

        aggregateId

      • transaction object Required

        Transaction schema

        Hide transaction attributes Show transaction attributes object
        • id string Required

          id

        • companyId string Required

          Company ID

        • familyId string Required

          Family ID

        • familyName string Required

          Family name

        • relatedTransactionId string | null

          Related transaction ID

        • type string Required

          Values are debit or credit.

        • date string(date) Required

          Date of transaction

        • description string Required

          Description of transaction

        • deletedAt string(date-time) | null

          Deleted at date

      • details array[object] Required

        details

        Transaction Details with related entities schema

        Hide details attributes Show details attributes object
        • details object Required

          Transaction Detail schema

          Hide details attributes Show details attributes object
          • id string Required

            id

          • companyId string Required

            Company ID

          • transactionId string Required

            Transaction ID

          • type string Required

            Values are manual-debit, tax, additional-fee, registration-fee, tuition, trial, refund, payment-auto-failed, payment-auto-failed-reversal, discount-credit, payment-manual, discount, discount-tax, credit-note, manual-debit-credit, tax-credit, registration-fee-credit, tuition-credit, trial-credit, payment-auto, payment-pending-card, fee-class-manager, or fee-company.

          • amount integer Required

            Amount of transaction

          • description string Required

            Description of transaction

          • deletedAt string(date-time) | null

            Deleted at date

        • relatedEntities array[object] Required

          relatedEntities

          Transaction Detail Entity schema

          Hide relatedEntities attributes Show relatedEntities attributes object
          • id string Required

            id

          • companyId string Required

            Company ID

          • transactionDetailId string Required

            Transaction Detail ID

          • entityId string Required

            Entity ID

      • stats object Required

        Transaction stats

        Hide stats attributes Show stats attributes object
        • total integer Required

          Total amount of transaction

        • subtotal integer Required

          Subtotal amount of transaction

        • discountTotal integer Required

          Total discount amount of transaction

        • taxTotal integer Required

          Total tax amount of transaction

    • creditAggregateTransaction object Required

      Transaction with related details schema

      Hide creditAggregateTransaction attributes Show creditAggregateTransaction attributes object
      • aggregateId string Required

        aggregateId

      • transaction object Required

        Transaction schema

        Hide transaction attributes Show transaction attributes object
        • id string Required

          id

        • companyId string Required

          Company ID

        • familyId string Required

          Family ID

        • familyName string Required

          Family name

        • relatedTransactionId string | null

          Related transaction ID

        • type string Required

          Values are debit or credit.

        • date string(date) Required

          Date of transaction

        • description string Required

          Description of transaction

        • deletedAt string(date-time) | null

          Deleted at date

      • details array[object] Required

        details

        Transaction Details with related entities schema

        Hide details attributes Show details attributes object
        • details object Required

          Transaction Detail schema

          Hide details attributes Show details attributes object
          • id string Required

            id

          • companyId string Required

            Company ID

          • transactionId string Required

            Transaction ID

          • type string Required

            Values are manual-debit, tax, additional-fee, registration-fee, tuition, trial, refund, payment-auto-failed, payment-auto-failed-reversal, discount-credit, payment-manual, discount, discount-tax, credit-note, manual-debit-credit, tax-credit, registration-fee-credit, tuition-credit, trial-credit, payment-auto, payment-pending-card, fee-class-manager, or fee-company.

          • amount integer Required

            Amount of transaction

          • description string Required

            Description of transaction

          • deletedAt string(date-time) | null

            Deleted at date

        • relatedEntities array[object] Required

          relatedEntities

          Transaction Detail Entity schema

          Hide relatedEntities attributes Show relatedEntities attributes object
          • id string Required

            id

          • companyId string Required

            Company ID

          • transactionDetailId string Required

            Transaction Detail ID

          • entityId string Required

            Entity ID

      • stats object Required

        Transaction stats

        Hide stats attributes Show stats attributes object
        • total integer Required

          Total amount of transaction

        • subtotal integer Required

          Subtotal amount of transaction

        • discountTotal integer Required

          Total discount amount of transaction

        • taxTotal integer Required

          Total tax amount of transaction

    • paymentIntent object Required
      Hide paymentIntent attributes Show paymentIntent attributes object
      • id string Required

        Payment Intent Id

      • clientSecret string Required

        Payment Intent Client Secret

      • amount integer Required

        Payment Intent Amount

      • status string Required

        Values are canceled, processing, requires_action, requires_capture, requires_confirmation, requires_payment_method, or succeeded.

      • paymentMethod object | null Required
        Hide paymentMethod attributes Show paymentMethod attributes object | null
        • id string Required

          Stripe ID

        • type string Required

          Values are acss_debit, affirm, afterpay_clearpay, alipay, amazon_pay, au_becs_debit, bacs_debit, bancontact, blik, boleto, card, card_present, cashapp, customer_balance, eps, fpx, giropay, grabpay, ideal, interac_present, klarna, konbini, link, mobilepay, multibanco, oxxo, p24, paynow, paypal, pix, promptpay, revolut_pay, sepa_debit, sofort, swish, twint, us_bank_account, wechat_pay, or zip.

        • isDefault boolean Required

          Is default

        • data object Required

          One of:
          StripePaymentMethodCardDataDto object StripePaymentMethodBacsDebitDataDto object
          Hide attributes Show attributes
          • brand string Required

            Values are amex, diners, discover, eftpos_au, jcb, mastercard, unionpay, visa, or unknown.

          • country string Required

            Country

          • expiryMonth integer Required

            Expiry month

          • expiryYear integer Required

            Expiry year

          • cardNumber string Required

            Card number

          • last4 string Required

            Last 4

          Hide attributes Show attributes
          • sortCode string Required

            Sort code

          • accountNumber string Required

            Account number

          • last4 string Required

            Last 4

      • charge object | null Required
        Hide charge attributes Show charge attributes object | null
        • id string Required

          Payment Intent Id

        • amount integer Required

          Payment Intent Amount

        • amountCaptured integer

          Payment Intent Amount Captured

        • amountRefunded integer

          Payment Intent Amount Refunded

        • currency string Required

          Payment Intent Currency

        • refunded boolean Required

          Payment Intent Refunded

        • refunds array[object] Required
          Hide refunds attributes Show refunds attributes object
          • id string Required

            Payment Intent Id

          • amount integer Required

            Refund Amount

          • currency string Required

            Currency

          • status string Required

            Values are pending, requires_action, canceled, succeeded, or failed.

          • createdAt string(date) Required

            Created at

  • 422 application/json

    Validation error

    Hide response attributes Show response attributes object
    • statusCode number Required

      Status Code

    • messages array[string] Required

      List of error messages

    • exception object

      Exception

POST /v1/payment-links/{paymentLinkId}/process
curl \
 --request POST 'https://classmanager.test/v1/payment-links/{paymentLinkId}/process' \
 --header "Content-Type: application/json" \
 --data '{"paymentIntentId":"pi_xxxxxxxx"}'
Request example
{
  "paymentIntentId": "pi_xxxxxxxx"
}
Response examples (200)
{
  "paymentLink": {
    "id": "pay_xxxxxxxxxxxxxxxxxxxxxxxxxx",
    "companyId": "co_xxxxxxxxxxxxxxxxxxxxxxxxxx",
    "transactionId": "trn_xxxxxxxxxxxxxxxxxxxxxxxxxx",
    "createdAt": "2023-12-05 14:30:41"
  },
  "company": {
    "id": "co_123123123123",
    "name": "My Dance Stdio",
    "slug": "my-dance-studio",
    "email": "john@example.com",
    "phone": "(123) 456 7890",
    "createdAt": "2025-05-04T09:42:00Z",
    "logo": "https://example.com/logo.png",
    "address": {
      "id": "loc_xxxxxxxxxxx",
      "companyId": "co_123123123123",
      "entityId": "ent_xxxxxxxxxxx",
      "address1": "123 Main St",
      "address2": "Apt 123",
      "town": "Springfield",
      "state": "IL",
      "countryCode": "US",
      "zip": "12345"
    },
    "settings": {
      "general": {
        "id": "cos_xxxxxxxxxxxxxxxxxxxxxxxxxx",
        "timezone": "Africa/Abidjan",
        "locale": "en-IE",
        "industry": "cheer",
        "size": "not-started-yet",
        "use12HourClock": true,
        "brandColor": "#6354e8",
        "brandColors": {
          "50": "#ffead7",
          "100": "#ffddc1",
          "200": "#ffcfab",
          "300": "#ffc196",
          "400": "#ffad80",
          "500": "#ff9f6a",
          "600": "#ff9154",
          "700": "#ff833e",
          "800": "#ff7528",
          "900": "#ff6712",
          "950": "#ff5a00"
        },
        "startDayOfWeek": "monday"
      },
      "tax": {
        "id": "cotx_xxxxxxxxxxxxxxxxxxxxxxxxxx",
        "enabled": true,
        "taxIdLabel": "Tax ID",
        "taxIdNumber": "123123123",
        "taxMode": "inclusive"
      },
      "trial": {
        "id": "cotr_xxxxxxxxxxxxxxxxxxxxxxxxxx",
        "price": 0,
        "enableOnPortal": true,
        "maxCapacityPerLesson": 0,
        "limitedCapacity": true
      },
      "billing": {
        "id": "cobl_xxxxxxxxxxxxxxxxxxxxxxxxxx",
        "stripeId": "acct_123123123123",
        "currency": "USD",
        "billingTiming": "advance",
        "billingDayOfMonth": 13
      },
      "enrolment": {
        "id": "coen_xxxxxxxxxxxxxxxxxxxxxxxxxx",
        "ageCutOffType": "first_day_of_season",
        "ageCutOffDate": "06-24",
        "ageCutOffDays": "7"
      },
      "integrations": {
        "stripe": {
          "id": "coiss_xxxxxxxxxxxxxxxxxxxxxxxxxx",
          "connectAccountId": "acct_123123123",
          "region": "us",
          "feeSchedule": "standard"
        }
      }
    },
    "countryCode": "US"
  },
  "family": {
    "id": "fml_123123123123",
    "companyId": "co_123123123123",
    "name": "Potter",
    "joinedAt": "2023-12-05",
    "invitationStatus": "not_invited",
    "profilePicture": "https://",
    "deletedAt": "2023-12-05 14:30:41",
    "archivedAt": "2023-12-05 14:30:41",
    "createdAt": "2023-12-05 14:30:41"
  },
  "debitAggregateTransaction": {
    "aggregateId": "trn_xxxxxxxxxxx",
    "transaction": {
      "id": "trn_123123123123",
      "companyId": "co_123123123123",
      "familyId": "fml_123123123123",
      "familyName": "Potter",
      "relatedTransactionId": "trn_123123123123",
      "type": "debit",
      "date": "2023-12-05",
      "description": "This is a transaction",
      "deletedAt": "2023-12-05 14:30:41"
    },
    "details": [
      {
        "details": {
          "id": "trn_123123123123",
          "companyId": "co_123123123123",
          "transactionId": "trn_123123123123",
          "type": "manual-debit",
          "amount": 100,
          "description": "This is a transaction",
          "deletedAt": "2023-12-05 14:30:41"
        },
        "relatedEntities": [
          {
            "id": "trn_123123123123",
            "companyId": "co_123123123123",
            "transactionDetailId": "trnd_123123123123",
            "entityId": "cls_123123123123"
          }
        ]
      }
    ],
    "stats": {
      "total": 1000,
      "subtotal": 950,
      "discountTotal": 30,
      "taxTotal": 20
    }
  },
  "creditAggregateTransaction": {
    "aggregateId": "trn_xxxxxxxxxxx",
    "transaction": {
      "id": "trn_123123123123",
      "companyId": "co_123123123123",
      "familyId": "fml_123123123123",
      "familyName": "Potter",
      "relatedTransactionId": "trn_123123123123",
      "type": "debit",
      "date": "2023-12-05",
      "description": "This is a transaction",
      "deletedAt": "2023-12-05 14:30:41"
    },
    "details": [
      {
        "details": {
          "id": "trn_123123123123",
          "companyId": "co_123123123123",
          "transactionId": "trn_123123123123",
          "type": "manual-debit",
          "amount": 100,
          "description": "This is a transaction",
          "deletedAt": "2023-12-05 14:30:41"
        },
        "relatedEntities": [
          {
            "id": "trn_123123123123",
            "companyId": "co_123123123123",
            "transactionDetailId": "trnd_123123123123",
            "entityId": "cls_123123123123"
          }
        ]
      }
    ],
    "stats": {
      "total": 1000,
      "subtotal": 950,
      "discountTotal": 30,
      "taxTotal": 20
    }
  },
  "paymentIntent": {
    "id": "pm_1234567890",
    "clientSecret": "pm_1234567890_secret_xxxxxxxx",
    "amount": 1999,
    "status": "canceled",
    "paymentMethod": {
      "id": "pm_123456789",
      "type": "acss_debit",
      "isDefault": true,
      "data": {
        "brand": "amex",
        "country": "US",
        "expiryMonth": 12,
        "expiryYear": 2023,
        "cardNumber": "************4242",
        "last4": "4242"
      }
    },
    "charge": {
      "id": "pm_1234567890",
      "amount": 1999,
      "amountCaptured": 1999,
      "amountRefunded": 1999,
      "currency": "usd",
      "refunded": false,
      "refunds": [
        {
          "id": "pm_1234567890",
          "amount": 1999,
          "currency": "usd",
          "status": "pending",
          "createdAt": "2023-12-05"
        }
      ]
    }
  }
}
Response examples (422)
{
  "statusCode": 42.0,
  "messages": [
    "string"
  ],
  "exception": {}
}