Create a payment record

POST
/payment_records

Headers

Auth
AuthorizationstringRequired
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-monite-versionstringRequired
x-monite-entity-idstringRequired

The ID of the entity that owns the requested resource.

Request

This endpoint expects an object.
amountintegerRequired

Positive amount in case of successful payment, negative amount in case of payment failure or refund

currencyenumRequired
objectobjectRequired
paid_atdatetimeRequired
payment_intent_idstringRequiredformat: "uuid"
entity_user_idstringOptionalformat: "uuid"

Response

Successful Response

idstringformat: "uuid"
amountinteger

Positive amount in case of successful payment, negative amount in case of payment failure or refund

currencyenum
is_externalboolean
objectobject
paid_atdatetime
payment_intent_idstringformat: "uuid"
entity_user_idstringOptionalformat: "uuid"
overpaid_amountintegerOptional>=0Defaults to 0

Filled in a case, if payment amount is more, than total_amount

Errors