Pay

post
Authorizations
Path parameters
idstring · uuidRequired

A UUID string identifying this invoice.

Body
idstring · uuidRead-onlyRequired
planall ofRead-onlyRequired
legacy_idstring | nullableOptional
nextgen_legacy_idstring | nullableOptional
created_atstring · date-time | nullableOptional
updated_atstring · date-timeRead-onlyRequired
invoice_idstring · max: 20Required
statusstring · enumOptional
  • unpaid - Unpaid
  • paid - Paid
  • failed - Failed
  • overdue - Overdue
  • waived - Waived
Possible values:
amountstring · decimalRequiredPattern: ^-?\d{0,8}(?:\.\d{0,2})?$
payment_methodstring | nullableOptional
billing_datestring · date | nullableOptional
paid_atstring · date-time | nullableOptional
is_custombooleanOptional
titlestring | nullableOptional
descriptionstring | nullableOptional
stripe_price_idstring | nullableOptional
due_datestring · date | nullableOptional
service_datestring · date | nullableOptional
waive_reasonstring | nullableOptional
payment_termone ofOptional
string · enumOptional
  • one-time - One-time
  • installment - Installment
Possible values:
or
undefined · enumOptionalPossible values:
number_of_paymentsinteger | nullableOptional
number_of_installmentsinteger | nullableOptional
frequencystring | nullableOptional
waived_atstring · date-time | nullableOptional
Responses
200Success
application/json
post
POST /api/church/invoices/{id}/pay HTTP/1.1
Host: prosper-api-test.churchpad.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 516

{
  "legacy_id": "text",
  "nextgen_legacy_id": "text",
  "created_at": "2025-07-23T12:30:46.597Z",
  "invoice_id": "text",
  "status": "unpaid",
  "amount": "text",
  "payment_method": "text",
  "billing_date": "2025-07-23",
  "paid_at": "2025-07-23T12:30:46.597Z",
  "is_custom": true,
  "title": "text",
  "description": "text",
  "stripe_price_id": "text",
  "due_date": "2025-07-23",
  "service_date": "2025-07-23",
  "waive_reason": "text",
  "payment_term": "one-time",
  "number_of_payments": 1,
  "number_of_installments": 1,
  "frequency": "text",
  "waived_at": "2025-07-23T12:30:46.597Z"
}
200Success
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "plan": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "text",
    "description": "text",
    "monthly_free_credits": 1,
    "perks": null,
    "prices": null
  },
  "legacy_id": "text",
  "nextgen_legacy_id": "text",
  "created_at": "2025-07-23T12:30:46.597Z",
  "updated_at": "2025-07-23T12:30:46.597Z",
  "invoice_id": "text",
  "status": "unpaid",
  "amount": "text",
  "payment_method": "text",
  "billing_date": "2025-07-23",
  "paid_at": "2025-07-23T12:30:46.597Z",
  "is_custom": true,
  "title": "text",
  "description": "text",
  "stripe_price_id": "text",
  "due_date": "2025-07-23",
  "service_date": "2025-07-23",
  "waive_reason": "text",
  "payment_term": "one-time",
  "number_of_payments": 1,
  "number_of_installments": 1,
  "frequency": "text",
  "waived_at": "2025-07-23T12:30:46.597Z"
}