Create a manual fee for a specific account

Time Status User Agent
Make a request to see history.

URL Expired

The URL for this request expired after 30 days.

account_id

string

required

ID of the Account

Body of request to create manual fee.

line_item_id

string

^(?!can_).*$

The ID associated to be with the line item for future requests. If not provided on line item creation, Canopy will generate this field.

original_amount_cents

integer

required

Defaults to 0

The payment amount in cents.

effective_at

date-time

The Date-Time that the fee is applicable to the account. Although the fee is created in Canopy today, it can actually be effective as of a date in the past. This should only be used for data migrations.

external_fields

array,null | object,null

external_fieldsarray,null | object,null

Add Field

``200 Manual fee created

``401

Unauthorized.

``403

Forbidden.

``422

Invalid input

``429

Too many requests.

``default

Unexpected Error.

Updated about 1 year ago


ShellNodeRubyPHPPython

Bearer

Base URL

https://Contact sales to enable your sandbox/accounts/{account_id}/line_items/manual_fees

``

xxxxxxxxxx

curl --request POST \

 --url https://contact/%20sales%20to%20enable%20your%20sandbox/accounts//line_items/manual_fees \

 --header 'accept: application/json' \
 --header 'content-type: application/json' \
 --data '

{

"original_amount_cents": 0

}

' ``

application/json

``200

Updated about 1 year ago