POST
/
pay
curl --request POST \
  --url https://api.joinslash.com/pay \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "sourceSlashHandleId": "<string>",
  "legalEntityId": "<string>",
  "amountCents": 123,
  "slashHandle": "<string>"
}'
{
  "success": true,
  "redirect": "<string>"
}

Authorizations

X-API-Key
string
headerrequired

Authentication from public API requests

Body

application/json
sourceSlashHandleId
string

The ID of the SlashHandle to send money from. You can get this by calling GET /slash-handle. This field or legalEntityId is required unless you are authenticating via API key.

legalEntityId
string

The ID of the LegalEntity to send money from. You can get this by calling GET /legal-entity. This field or slashHandleId is required unless you are authenticating via API key.

amountCents
number
required

The amount of money to send in cents.

slashHandle
string
required

The username of the SlashHandle to send money to. You can get this by asking your recipient for their SlashHandle.

Response

200 - application/json
success
boolean
required
redirect
string