Skip to content
Guides
Commit or Cancel Payout

Commit or Cancel Payout

After payout creation, you need to either commit or cancel the payout.

Make a POST /payouts/{payoutId}/commit
request:

curl --request POST \
--url 'https://sandbox.unipaas.com/platform/payouts/{payoutId}/commit' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <PLATFORM_SECRET_KEY>'

in the response, you’ll get the commited Payout object.

Make a POST /vendors/{vendorId}/payouts/{payoutId}/commit request:

curl --request POST \
--url 'https://sandbox.unipaas.com/platform/vendors/{vendorId}/payouts/{payoutId}/commit' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <PLATFORM_SECRET_KEY>'

in the response, you’ll get the commited Payout object.

Make a POST /payouts/{payoutId}/cancel request:

curl --request POST \
--url 'https://sandbox.unipaas.com/platform/payouts/{payoutId}/cancel' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <PLATFORM_SECRET_KEY>'

in the response, you’ll get the cancelled Payout object.

Make a POST /vendors/{vendorId}/payouts/{payoutId}/cancel request:

curl --request POST \
--url 'https://sandbox.unipaas.com/platform/vendors/{vendorId}/payouts/{payoutId}/cancel' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <PLATFORM_SECRET_KEY>'

in the response, you’ll get the cancelled Payout object.