Payment Request is created every time a Worker on your team submits a request to be paid.
This can be used to faciliate bill payments or invoice workflows, where the amount you’re going to
pay to the worker isn’t known ahead of time.
Attributes
The status of the payment request. Possible values are
pending, approved, declined or
processed. Withdrawn requests are returned as cancelled.A reference for this payment request submitted by the worker. Most commonly used to include an
invoice number. This will be automatically entered as the payment reference when this request is
paid.
Deprecated. An array of approval decision IDs (
apprdec_) associated
with this request, including approve and deny decisions. Historical IDs
previously returned with the appr_ prefix have been replaced by decision IDs.Use status to determine the request’s current standing. This history list is
deprecated in favor of the shared approval resource planned for a future API
release; payment requests do not expose that reference yet.