getProfitShareResultsId
Query a ProfitShareResult or Profit Share Result.
In: header
Path Parameters
The ID of this resource, The Profit Share Result ID.
Query Parameters
Use the embed query parameter to include full object(s) of related resource(s) directly within the API response. This allows retrieval of associated resources in a single request, reducing the need for multiple round-trips. Format: GET https://{server}.payrix.com/{endpoint}?embed={relatedObject}
Header Parameters
A single-use, limited authentication layer in addition to an API Key or Session Key to authorize sensitive operations. Auth Tokens add security by requiring one-time approval for specific actions.
A custom, one-time identifier for any API request (GET, PUT, POST, or DELETE). Blocks future requests with the same token for 48 hours, ensuring only the first request is processed. Valid values can contain 1-100 alphanumeric and special characters. See Request Tokens for more information.
Response Body
application/json
application/json
curl -X GET "https://example.com/profitShareResults/t1_psr_655c21ba778461b81b98b00"{ "response": { "data": [ { "id": "t1_psr_655c21ba778461b81b98b00", "created": "2023-11-20 22:19:22.4970", "modified": "2023-11-20 22:19:22.4970", "creator": "t1_log_673245a79517f80bf2e0000", "modifier": "t1_log_673245a79517f80bf2e0000", "profitShare": "t1_psh_65369bffac4c88d0d3df1f0", "entry": "t1_etr_655c21ba5e65de16142b2c3", "amount": 434, "message": "Could not share income" } ], "details": { "requestId": 1, "totals": [], "page": { "current": 1, "last": 1, "hasMore": false } }, "errors": [] }}postPlans POST
Create a Plan that represents a recurring type of payment that charges a certain amount on a weekly, monthly, quarterly, or annual basis, which once created, allows you to associate a Subscription and user with it.
getProfitShareResults GET
Query a ProfitShareResult or Profit Share Result resource, which holds a message regarding a failed ProfitShare process.
