The Share Transfer object
Attributes
Unique identifier for the object.
ISO 8601 timestamp of when the object was created.
ISO 8601 timestamp of when the object was last updated.
Default: draft
{
"id": "share-transfer_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"transfer_type": "transfer_type_example",
"date": "2024-01-15",
"from_shareholder": "from_shareholder_example",
"from_folio_no": "from_folio_no_example",
"equity_or_liability_account": "equity_or_liability_account_example",
"asset_account": "asset_account_example",
"to_shareholder": "to_shareholder_example",
"to_folio_no": "to_folio_no_example",
"share_type": "share_type_example",
"from_no": 0,
"rate": 0,
"no_of_shares": 0,
"to_no": 0,
"amount": 0,
"company": "Example Corp",
"remarks": "remarks_example"
} /api/accounts/share-transfer/{id} Retrieve a share transfer
Retrieves the details of an existing share transfer. Supply the unique share transfer ID that was returned from a previous request.
Path parameters
The identifier of the share transfer to retrieve.
Returns
Returns the share transfer object if a valid identifier was provided.
curl https://api.overplane.dev/api/accounts/share-transfer/share-transfer_abc123 \
-H "Authorization: Bearer sk_test_..." {
"id": "share-transfer_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"transfer_type": "transfer_type_example",
"date": "2024-01-15",
"from_shareholder": "from_shareholder_example",
"from_folio_no": "from_folio_no_example",
"equity_or_liability_account": "equity_or_liability_account_example",
"asset_account": "asset_account_example",
"to_shareholder": "to_shareholder_example",
"to_folio_no": "to_folio_no_example",
"share_type": "share_type_example",
"from_no": 0,
"rate": 0,
"no_of_shares": 0,
"to_no": 0,
"amount": 0,
"company": "Example Corp",
"remarks": "remarks_example"
} /api/accounts/share-transfer List all share transfers
Returns a list of share transfers. The results are sorted by creation date, with the most recently created appearing first.
Query parameters
Maximum number of objects to return. Default: 20.
Number of objects to skip for pagination. Default: 0.
Returns
A paginated list of share transfer objects.
curl https://api.overplane.dev/api/accounts/share-transfer \
-H "Authorization: Bearer sk_test_..." {
"data": [
{
"id": "share-transfer_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"transfer_type": "transfer_type_example",
"date": "2024-01-15",
"from_shareholder": "from_shareholder_example",
"from_folio_no": "from_folio_no_example",
"equity_or_liability_account": "equity_or_liability_account_example",
"asset_account": "asset_account_example",
"to_shareholder": "to_shareholder_example",
"to_folio_no": "to_folio_no_example",
"share_type": "share_type_example",
"from_no": 0,
"rate": 0,
"no_of_shares": 0,
"to_no": 0,
"amount": 0,
"company": "Example Corp",
"remarks": "remarks_example"
}
],
"has_more": false,
"total": 1
} /api/accounts/share-transfer Create a share transfer
Creates a new share transfer object.
Body parameters
Default: draft
Returns
Returns the newly created share transfer object if the call succeeded.
curl https://api.overplane.dev/api/accounts/share-transfer \
-H "Authorization: Bearer sk_test_..." \
-X POST \
-H "Content-Type: application/json" \
-d '{"transfer_type":"transfer_type_example","date":"2024-01-15","equity_or_liability_account":"equity_or_liability_account_example","share_type":"share_type_example","from_no":0,"rate":0,"no_of_shares":0,"to_no":0,"company":"Example Corp"}' {
"id": "share-transfer_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"transfer_type": "transfer_type_example",
"date": "2024-01-15",
"from_shareholder": "from_shareholder_example",
"from_folio_no": "from_folio_no_example",
"equity_or_liability_account": "equity_or_liability_account_example",
"asset_account": "asset_account_example",
"to_shareholder": "to_shareholder_example",
"to_folio_no": "to_folio_no_example",
"share_type": "share_type_example",
"from_no": 0,
"rate": 0,
"no_of_shares": 0,
"to_no": 0,
"amount": 0,
"company": "Example Corp",
"remarks": "remarks_example"
} /api/accounts/share-transfer/{id} Update a share transfer
Updates the specified share transfer by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Path parameters
The identifier of the share transfer to update.
Body parameters
Default: draft
Returns
Returns the updated share transfer object.
curl https://api.overplane.dev/api/accounts/share-transfer/share-transfer_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X PATCH \
-H "Content-Type: application/json" \
-d '{"status":"draft","transfer_type":"transfer_type_example"}' {
"id": "share-transfer_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"transfer_type": "transfer_type_example",
"date": "2024-01-15",
"from_shareholder": "from_shareholder_example",
"from_folio_no": "from_folio_no_example",
"equity_or_liability_account": "equity_or_liability_account_example",
"asset_account": "asset_account_example",
"to_shareholder": "to_shareholder_example",
"to_folio_no": "to_folio_no_example",
"share_type": "share_type_example",
"from_no": 0,
"rate": 0,
"no_of_shares": 0,
"to_no": 0,
"amount": 0,
"company": "Example Corp",
"remarks": "remarks_example"
} /api/accounts/share-transfer/{id} Delete a share transfer
Permanently deletes a share transfer. This cannot be undone.
Path parameters
The identifier of the share transfer to delete.
Returns
Returns a confirmation that the share transfer has been deleted.
curl https://api.overplane.dev/api/accounts/share-transfer/share-transfer_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X DELETE {
"id": "share-transfer_abc123",
"deleted": true
} /api/accounts/share-transfer/{id}/submit Submit a share transfer
Submits a draft share transfer, transitioning its status from draft to submitted.
Path parameters
The identifier of the share transfer to act on.
Returns
Returns the share transfer object with updated status.
curl https://api.overplane.dev/api/accounts/share-transfer/share-transfer_abc123/submit \
-H "Authorization: Bearer sk_test_..." \
-X POST {
"id": "share-transfer_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"transfer_type": "transfer_type_example",
"date": "2024-01-15",
"from_shareholder": "from_shareholder_example",
"from_folio_no": "from_folio_no_example",
"equity_or_liability_account": "equity_or_liability_account_example",
"asset_account": "asset_account_example",
"to_shareholder": "to_shareholder_example",
"to_folio_no": "to_folio_no_example",
"share_type": "share_type_example",
"from_no": 0,
"rate": 0,
"no_of_shares": 0,
"to_no": 0,
"amount": 0,
"company": "Example Corp",
"remarks": "remarks_example"
} /api/accounts/share-transfer/{id}/cancel Cancel a share transfer
Cancels a submitted share transfer, transitioning its status to cancelled.
Path parameters
The identifier of the share transfer to act on.
Returns
Returns the share transfer object with updated status.
curl https://api.overplane.dev/api/accounts/share-transfer/share-transfer_abc123/cancel \
-H "Authorization: Bearer sk_test_..." \
-X POST {
"id": "share-transfer_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"transfer_type": "transfer_type_example",
"date": "2024-01-15",
"from_shareholder": "from_shareholder_example",
"from_folio_no": "from_folio_no_example",
"equity_or_liability_account": "equity_or_liability_account_example",
"asset_account": "asset_account_example",
"to_shareholder": "to_shareholder_example",
"to_folio_no": "to_folio_no_example",
"share_type": "share_type_example",
"from_no": 0,
"rate": 0,
"no_of_shares": 0,
"to_no": 0,
"amount": 0,
"company": "Example Corp",
"remarks": "remarks_example"
}