Create an advance for an 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
description
string
required
A brief description of the advance
effective_at
string
required
The date and time when the advance becomes effective
advance_amount_cents
integer
required
The amount of the advance in the smallest unit of the currency (e.g., cents for USD)
fee_amount_cents
integer
required
The fee for the advance in the smallest unit of the currency (e.g., cents for USD)
currency
string
Defaults to USD
The ISO 4217 3-letter currency code of the advance
term_length
integer
required
The number of cycles for the advance
cycle_interval
string
enum
required
The interval between each cycle for the advance
Allowed:DAILY WEEKLY MONTHLY DAYS_30
first_cycle_interval
string
The interval for the first cycle, if different from the standard cycle interval
template_id
string
required
The ID of the policy template for the advance
``201 Creates a new advance for the specified account.
``404 Entity not found.
``422 Validation Error
``500 A server error has occurred.
Base URL https://Contact sales to enable your sandbox/advance/v1/accounts/{account_id}/advances
xxxxxxxxxx
curl --request POST \
--url https://contact/%20sales%20to%20enable%20your%20sandbox/advance/v1/accounts/account_id/advances \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"currency": "USD",
"cycle_interval": "DAILY"
}
'
application/json
201404422500