Skip to main content
POST
/
vLatest
/
action
/
glasscore
/
payment
Create Payment
curl --request POST \
  --url https://api.glass.fm/vLatest/action/glasscore/payment \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amountToPay": 123,
  "InvoiceId": "<string>",
  "PersonId": 123
}
'

Authorizations

Authorization
string
header
required

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

Body

application/json
amountToPay
number
required

Represents the total sum of money that is due for a particular payment.

InvoiceId
string
required

Unique identifier for a specific invoice related to a payment.

Minimum string length: 1
PersonId
number
required

Unique identifier for an individual associated with a specific payment.

Response

200

Payment