---
title: "Retrieves a prebuilt javascript webform that can be used to collect bank account info from your member and send that data directly to our API"
method: GET
path: "/api/v1/member/{memberId}/banking/setup"
tags: ["MemberBankingSetup"]
---

# Retrieves a prebuilt javascript webform that can be used to collect bank account info from your member and send that data directly to our API

`GET /api/v1/member/{memberId}/banking/setup`

## Request

- Base URL: `http://api.redcard.com`
- URL: `http://api.redcard.com/api/v1/member/{memberId}/banking/setup`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/redcard/apis/ccp-docs-wcf-public/docs/api/v1/member/:memberId/banking/setup/get.ts> (a function with typed inputs; its response is checked against the schema)

The prebuilt webform is an option if you want to offer the payment feature in your app, but you cannot/prefer not to handle your member's bank account information.
Your backend (where API credentials can be securely stored/accessed) will initiate the sequence by calling this endpoint.
We will embedd the member ID and a client secret key into the webform.  
Your backend should return the webform to your client application where it should be displayed to the member.
When the member submits the form, the form fields plus client secret and member ID are sent as parameters to our API where the information is then saved.
<br /><br />
The client secret should be handled carefully, Don't log it, embed it in URLs, or expose to anyone but the member. 
<br />The client secret will expire after 24 hours or after bank account info has been successfully submitted.
<br />The client secret is unique to this individual bank account setup, it will not work for another member.

## Path parameters

- `memberId` string, uuid, required

## Response `200`

Success

- string

## Other responses

- `400`: Invalid request parameters
- `401`: Invalid credentials
- `403`: Invalid permissions
- `404`: Requested resource does not exist
- `500`: Unexpected error, contact Zelis

---

[API](https://skmtc.dev/redcard/apis/ccp-docs-wcf-public.md) - [All operations](https://skmtc.dev/redcard/apis/ccp-docs-wcf-public/llms.txt) - [OpenAPI document](https://skmtc.dev/redcard/apis/ccp-docs-wcf-public/revisions/b572c437ad6b?raw)
