POST//
Create a program funding source.
Request body
| Fields | Description |
|---|---|
| active boolean Optional | Indicates whether the program funding source is active. Allowable Values: true, falseDefault value: true |
| name string Required | Name of the program funding source. Allowable Values: 1–50 chars |
| token string Optional | Unique identifier of the funding source. If you do not include a token, the system will generate one automatically. As this token is necessary for use in other calls, we recommend that you define a simple and easy to remember string rather than letting the system generate a token for you. This value cannot be updated. Allowable Values: 1–36 chars |
Sample request body
JSON
{
"token": "my_programfundingsource_token",
"name": "my_programfundingsource_name",
"active": true
}
Response body
| Fields | Description |
|---|---|
| account string Returned | Account identifier. Allowable Values: 255 char max |
| active boolean Conditionally returned | Indicates whether the program funding source is active. This field is returned if it exists in the resource. Allowable Values: true, false |
| created_time datetime Returned | Date and time when the resource was created, in UTC. Allowable Values: datetime Format: yyyy-MM-ddThh:mm:ssZ |
| last_modified_time datetime Returned | Date and time when the resource was last modified, in UTC. Allowable Values: datetime Format: yyyy-MM-ddThh:mm:ssZ |
| name string Returned | Name of the program funding source. Allowable Values: 1–50 chars |
| token string Returned | Unique identifier of the funding source. Allowable Values: 1–36 chars |
Sample response body
JSON
{
"name": "my_programfundingsource_name",
"active": true,
"token": "my_programfundingsource_token",
"account": "12.003.001.000147",
"created_time": "2023-02-25T20:46:04Z",
"last_modified_time": "2023-02-25T20:46:04Z"
}