Skip to main content
POST
Submit payment using saved default card (amount computed server-side, card auto-selected)

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.

Body

application/json
id
integer
required

Job ID (NOT job_id)

Example:

1

milestone_id
integer
required

Milestone/deliverable ID

Example:

1

athlete_id
integer
required

Athlete user ID

Example:

123

type
string
required

Payment type

Example:

"job"

notes
string | null

Payment notes

Example:

"Payment for deliverable"

is_collective
enum<string> | null

Collective payment flag

Available options:
Y,
N,
Yes,
No
Example:

"Y"

stripe_fee
number<float> | null

Optional Stripe fee override (server computes if omitted)

Example:

2.5

fbc
string | null

Facebook click ID (for pixel tracking)

Example:

null

fbp
string | null

Facebook browser ID (for pixel tracking)

Example:

null

Response

200

Payment submitted with saved card