AffiliateBilling::findLastReceipt Method

Returns an associative array with key=AffiliateReceipt and value being
the most recent Receipt entered into the database for the affiliate.

Returns NULL if the Affiliate does not have any receipts of the specified
status.

NameTypeDescription
NetworkId UrlNetwork ID
NetworkToken String Network token
Target String This calls action target
Method String This calls action method
affiliate_id IntegerID of Affiliate object
statusString Optionally choose to retrieve the most recent Affiliate Receipt of a specific status. If not provided, returns the most recent receipt regardless of status.Show Supported Values

GET Response Notes

An associative array containing the last receipt,
or null if no receipts found.

Return response will be in one of the following formats: ApiLibraryModelAffiliatesAffiliateReceipt[], null.

API Call Builder

Javascript is required to use the API Call Builder.
Have a Question? Please contact support@tune.com for technical support.