Skip to main content
POST
/
payments
Create a one-time payment (coming soon)
curl --request POST \
  --url https://api.montereyfinancial.app/payments \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "account_id": "<string>",
  "payment_method_id": "<string>",
  "amount_cents": 123
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

Static API key issued via the client portal. Treat it like a password.

Body

application/json

Request body for triggering a one-time payment on an account using a stored payment method.

account_id
string
required

The account to apply the payment to.

payment_method_id
string
required

The stored payment method to charge. Must belong to a borrower on the account.

amount_cents
integer
required

Payment amount, in integer cents.

Response

Successful Response