Skip to main content
POST
/
payments
/
v1
/
charges
Create charge
curl --request POST \
  --url https://api.case.dev/payments/v1/charges \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "party_id": "<string>",
  "destination_account_id": "<string>",
  "amount": 123,
  "currency": "usd",
  "description": "<string>",
  "payment_methods": [
    "card",
    "ach"
  ],
  "metadata": {}
}
'

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Body

application/json
party_id
string
required

Party to charge

destination_account_id
string
required

Account to receive funds

amount
integer
required

Amount in cents

currency
string
default:usd
description
string
payment_methods
string[]
metadata
object

Response

200

Charge created