Create an API Payout
users
transfers
payout-links
payments
payment-intents
payment-customers
checkout-sessions
accounts-payable
- GETList all vendors
- POSTCreate a vendor
- GETGet vendor details
- DELDelete a vendor
- GETList all payment methods for a vendor
- POSTCreate a payment method for a vendor
- GETGet vendor payment method details
- DELDelete a vendor payment method
- GETList all payables
- POSTCreate a payable
- POSTCreate a payable from a file
- GETGet payable details
- PATCHUpdate a payable
- POSTUpload file to the payable
- DELDelete file from the payable
- POSTCancel a payable
- POSTSubmit a payable for approval
- POSTApprove a payable
- POSTReject a payable
- POSTPay a payable
- GETList all approval policies
- POSTCreate an approval policy
- DELDelete an approval policy
- PATCHUpdate priority of an approval policy
- GETList all approvers for api app
apps
payment-methods
organizations
Create an API Payout
All requests to the /v2/payouts/* endpoints must include both the clientid and apikey as detailed in the Authentication document.
info
All requests to the /v2/payouts/*
endpoints must include both the client_id
and api_key
as detailed in the Authentication document.
First, follow the guide here to add a payout method to a user.
Create an ACH Payout
Method
Make a request to the /v2/payouts/create endpoint
> curl https://pls.senddotssandbox.com/v2/payouts/create \
-X POST \
-H "Authorization: Basic <TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"user_id": "8732b0e5-8d47-4be7-839f-5cdecbe2df99",
"amount": 1000,
"payout_method": "ach",
"ach_account_id": "acc_dfsf983kkjdsf",
}'
> response = {
"success": true,
}
Create a PayPal Payout
Method
Make a request to the /v2/payouts/create endpoint
curl https://pls.senddotssandbox.com/v2/payouts/create \
-X POST \
-H "Authorization: Basic <TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"user_id": "8732b0e5-8d47-4be7-839f-5cdecbe2df99",
"amount": 1000,
"payout_method": "paypal"
}'
response = {
"success": true,
}
Create a Venmo Payout
Method
Make a request to the /v2/payouts/create endpoint
curl https://pls.senddotssandbox.com/v2/payouts/create \
-X POST \
-H "Authorization: Basic <TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"user_id": "8732b0e5-8d47-4be7-839f-5cdecbe2df99",
"amount": 1000,
"payout_method": "venmo"
}'
response = {
"success": true,
}