Skip to main content
POST
/
payments
/
farcaster
/
batch-pay
Batch pay to farcaster users
curl --request POST \
  --url https://api.example.com/payments/farcaster/batch-pay \
  --header 'Content-Type: application/json' \
  --data '
{
  "receivers": [
    {
      "receiver": "snackmoney",
      "amount": 1
    },
    {
      "receiver": "anotheruser",
      "amount": 0.5
    }
  ]
}
'
{
  "code": 200,
  "data": [
    {
      "txn_id": 1751194593304,
      "username": "snackmoney",
      "receipt": "https://snack.money/transaction/1751194593304"
    }
  ],
  "msg": "Payment sent successfully to users",
  "settlement_attempt_id": "attempt_1762889082833_abc123"
}

Body

application/json
receivers
object[]
required
Required array length: 1 - 100 elements
currency
enum<string>
default:USDC
Available options:
USDC
Example:

"USDC"

description
string | null
Example:

"A description about the payment"

meta
object

Response

Success

code
enum<number>
required
Available options:
200
data
object[]
required
msg
string
default:Payment sent successfully to users
settlement_attempt_id
string
Example:

"attempt_1762889082833_abc123"