POST
/
payments
/
request
/
create
curl --request POST \
  --url https://api.joinswift.app/payments/request/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "debtor": "<string>",
  "amount": 123
}'
"payment_a1m40apcnakwpdc"

Authorizations

Authorization
string
headerrequired

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

Body

application/json
debtor
string
required

Account ID to request

amount
integer
required

Amount in USD cents to request

Response

200 - application/json

Created Payment ID