POST
/
payouts
/
create_payments_batch
curl --request POST \
  --url https://v2.firstpromoter.com/api/v2/company/payouts/create_payments_batch \
  --header 'Account-ID: <account-id>' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "method": "paypal"
}'
{
  "data": {
    "id": 123,
    "status": "awaiting_confirmation",
    "ext_reference": "<string>",
    "ext_id": "<string>",
    "scheduled_at": "2023-11-07T05:31:56Z",
    "processing_started_at": "2023-11-07T05:31:56Z",
    "completed_at": "2023-11-07T05:31:56Z",
    "is_payable": true,
    "is_retriable": true,
    "is_payment_otp_required": true,
    "total": 123,
    "promoters_count": 123,
    "error": "<string>"
  },
  "meta": {
    "failed": [
      {}
    ]
  }
}

Authorizations

Authorization
string
header
required

Access token passed as a Bearer token in the Authorization header

Headers

Account-ID
string
required

Account identifier that specifies which account is making the request

Example:

"acc_123456"

Body

application/json

Response

201
application/json

Created

The response is of type object.