GET api/payouts/pending
A collection of payouts yet to be transferred to a member. This can be filtered by the member.
Request Information
URI Parameters
Query String: memberId={memberId}&recipientId={recipientId}&includeIneligible={includeIneligible}
| Name | Description | Type | Additional information |
|---|---|---|---|
| memberId |
(deprecated) The unique ID of the member to whom the amount is owed. Opitonal. |
string |
None. |
| recipientId |
The unique ID of the recpient to whom the amount is owed. Optional. |
string |
None. |
| includeIneligible |
Includes payouts for ineligibile rewards based on eligiblity date dates in the future. Optional. |
boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
[HTTP Status 200 - OK] A set of pending payouts
Type: PayoutPendingSet
| Name | Description | Type | Additional information |
|---|---|---|---|
| payoutsPending |
A list of payoutPending objects. |
Collection of PayoutPending |
None. |
| offset |
Starting index (0 based) of the elements in the set. |
integer |
None. |
| total |
Total number of elements in the set. |
integer |
None. |
| message |
The message provides more information about the results of the client's request. Review this field for error information. |
string |
None. |
Response Formats
application/json, text/json
{
"offset": 1,
"total": 2,
"message": "sample string 3",
"payoutsPending": [
{
"payoutId": "613ad2c4-3ef7-4054-b6a5-cbe9d7d85be7",
"Description": "sample string 2",
"rewardCount": 3,
"amount": 4.0,
"rewardsList": "sample string 5",
"programId": "d7a98a84-0f57-4fb5-bd35-754d00ba0026",
"programName": "sample string 7",
"memberId": "473edf3a-0c1c-4688-b7c4-3c5cf44dc0f2",
"memberName": "sample string 9",
"recipientId": "4158fb3c-8a3f-4f15-8a54-9ab8361bbdc3",
"RecipientName": "sample string 11",
"RecipientType": "sample string 12"
},
{
"payoutId": "613ad2c4-3ef7-4054-b6a5-cbe9d7d85be7",
"Description": "sample string 2",
"rewardCount": 3,
"amount": 4.0,
"rewardsList": "sample string 5",
"programId": "d7a98a84-0f57-4fb5-bd35-754d00ba0026",
"programName": "sample string 7",
"memberId": "473edf3a-0c1c-4688-b7c4-3c5cf44dc0f2",
"memberName": "sample string 9",
"recipientId": "4158fb3c-8a3f-4f15-8a54-9ab8361bbdc3",
"RecipientName": "sample string 11",
"RecipientType": "sample string 12"
}
]
}
application/xml, text/xml
<payoutsPendingSet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ReferralRock.Api.Models.Response">
<offset xmlns="">1</offset>
<total xmlns="">2</total>
<message xmlns="">sample string 3</message>
<payoutsPending>
<PayoutPending>
<payoutId>613ad2c4-3ef7-4054-b6a5-cbe9d7d85be7</payoutId>
<Description>sample string 2</Description>
<rewardCount>3</rewardCount>
<amount>4</amount>
<rewardsList>sample string 5</rewardsList>
<programId>d7a98a84-0f57-4fb5-bd35-754d00ba0026</programId>
<programName>sample string 7</programName>
<memberId>473edf3a-0c1c-4688-b7c4-3c5cf44dc0f2</memberId>
<memberName>sample string 9</memberName>
<recipientId>4158fb3c-8a3f-4f15-8a54-9ab8361bbdc3</recipientId>
<RecipientName>sample string 11</RecipientName>
<RecipientType>sample string 12</RecipientType>
</PayoutPending>
<PayoutPending>
<payoutId>613ad2c4-3ef7-4054-b6a5-cbe9d7d85be7</payoutId>
<Description>sample string 2</Description>
<rewardCount>3</rewardCount>
<amount>4</amount>
<rewardsList>sample string 5</rewardsList>
<programId>d7a98a84-0f57-4fb5-bd35-754d00ba0026</programId>
<programName>sample string 7</programName>
<memberId>473edf3a-0c1c-4688-b7c4-3c5cf44dc0f2</memberId>
<memberName>sample string 9</memberName>
<recipientId>4158fb3c-8a3f-4f15-8a54-9ab8361bbdc3</recipientId>
<RecipientName>sample string 11</RecipientName>
<RecipientType>sample string 12</RecipientType>
</PayoutPending>
</payoutsPending>
</payoutsPendingSet>