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 StringNetwork token
Target StringThis calls action target
Method StringThis calls action method
affiliate_id IntegerID of Affiliate object
statusStringOptionally 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 [email protected] for technical support.