Skip to main content
POST
/
2023-11
/
admin
/
payments
Create
curl --request POST \
  --url https://api-staging.genuka.com/2023-11/admin/payments \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount": 160,
  "method": "bank",
  "treasury_account_id": "01k1amyq08htzkeg79xd7f9pct"
}
'

Authorizations

Authorization
string
header
required

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

Headers

x-company
string
Example:

"{{companyId}}"

Body

application/json
amount
number
Example:

160

method
string
Example:

"bank"

treasury_account_id
string
Example:

"01k1amyq08htzkeg79xd7f9pct"

Response

200 - undefined