---
title: "Submit a payment"
method: POST
path: "/api/v1/member/{memberId}/payments"
tags: ["MemberPayments"]
---

# Submit a payment

`POST /api/v1/member/{memberId}/payments`

## Request

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

## Path parameters

- `memberId` string, uuid, required

## Request body

- CcpDocsWcfSubmitPaymentRequest: Pay via bank account request object
  - `PaymentType` string, required: Payment method "Bank" (ACH) or "Stripe" (Cards)
  - `BankAccountId` string, uuid: Bank Account ID Required if PaymentType = "Bank"
  - `BillId` string, uuid, required: Bill ID
  - `PaymentAmount` number, double, required: Payment Amount
  - `StripeCheckoutSettings` CcpDocsWcfStripeCheckoutSettings: Options used to configure Stripe checkout session
    - `SuccessUrl` string, required: URL to redirect to after payment submitted successfully
    - `CancelUrl` string, required: URL to redirect to after payment submission cancelled

## Response `200`

Payment via bank account submitted successfully

- CcpDocsWcfMemberPayment: Status of Member Submitted Payment
  - `Id` string, uuid: Unique Payment ID
  - `ConfirmationNumber` string: Payment Confirmation Number
  - `AmountPaid` number, double: Payment Amount
  - `ErrorMessage` string: Error Message
  - `Status` string: Payment Status PendingProcessing ProcessingPayment AdditionalInfoRequired DrawdownFailure Paid Canceled
  - `SubmittedDate` string, date-time: Payment Submitted Date
  - `BillId` string, uuid: Unique identifier for the bill the payment relates to
  - `FundingMethod` string: Payment funding method Stripe (card, native wallet) BankAccount

## Other responses

- `303`: Payment via card initiated, redirect to checkout page
- `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)
