Proof of Payout
Proof of Payout are PDF documents that can be generated to prove the creation of a Payout.
Templates
Proof of Payouts can be templated using Treezor template feature.
Retrieval
To retrieve a proof of payout, use the following request.
bash
curl -X GET {baseUrl}/core-connect/payouts/{payoutId}/proof \
--header 'Authorization: Bearer {accessToken}' \
--header 'Content-Type: application/json' \
Returns an object containing a download URL (link
) which expires after 5 minutes:
json
{
"link": "https://xxxxxx.s3.eu-west-3.amazonaws.com/tmp/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx.pdf",
"expireIn": 300
}