Skip to main content
POST
/
payments
/
paypal
Paypal Payout
curl --request POST \
  --url https://sandbox.sturdytechnologies.com/v3/payments/paypal \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "account_id": "12345hgyd78yuyu9",
  "amount": 123,
  "description": "<string>",
  "paypal_id": "<string>",
  "recipient_name": "<string>"
}
'
{
  "data": {
    "amount": 123,
    "description": "<string>",
    "paypal_id": "<string>",
    "recipient_name": "<string>",
    "transaction_date": "2023-10-01T12:34:56Z",
    "transaction_id": "txn_12345",
    "transaction_status": "processing|successful|failed"
  },
  "message": "<string>",
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Paypal Payout payload

account_id
string
Example:

"12345hgyd78yuyu9"

amount
number
description
string
paypal_id
string
recipient_name
string

Response

Created

data
object
message
string
success
boolean