---
title: "Handle the account onboard return from a payment gateway. Roles: admin."
method: POST
path: "/api/payments/onboard/return"
tags: ["Payments"]
---

# Handle the account onboard return from a payment gateway. Roles: admin.

`POST /api/payments/onboard/return`

## Request body

- PaymentGatewayOnboardReturnRequest
  - `membershipId` integer, required
  - `gatewayType` 'STRIPE', required

## Response `200`

OK

- PaymentGatewayOnboardReturnResponse
  - `success` boolean
  - `error` string
  - `accountStatus` PaymentGatewayAccountStatus
    - `complete` boolean
    - `isComplete` boolean

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Internal server error

---

[API](https://skmtc.dev/mobilecoach/apis/untitled-api.md) · [All operations](https://skmtc.dev/mobilecoach/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mobilecoach/untitled-api/revisions/f2568e11c0ab/schema)
