Create a payment schedule

Requires the PAYMENT_SCHEDULE.CREATE permission.

Authentication

X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer

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

Path parameters

versionstringRequiredDefaults to 1
version

Headers

x-platform-idstringOptional
Platform ID.

Request

This endpoint expects an object.
referencestringRequiredformat: "^\S+$"0-256 characters
typeenumRequired
Allowed values:
customer_idstringOptional
Resource ID of type CUSTOMER
customerobject or nullOptional
descriptionstring or nullOptional
statement_descriptorstring or nullOptional
payment_method_idstringOptional

Resource ID of type PAYMENT_METHOD

payment_methodobject or nullOptional
billing_entity_idstringOptional

Resource ID of type BILLING_ENTITY

dunningobjectOptional
payment_method_fallbackobjectOptional
installmentsobjectOptional
recurringobjectOptional
one_offobjectOptional

Response

OK
object_typestring or nullRead-only
idstring or nullRead-only
created_atstring or nullRead-only
updated_atstring or nullRead-only
statusenum or nullRead-only
Allowed values:
customer_idstring
Resource ID of type CUSTOMER
customerobject or null
referencestringformat: "^\S+$"0-256 characters
descriptionstring or null
statement_descriptorstring or null
payment_method_idstring

Resource ID of type PAYMENT_METHOD

payment_methodobject or null
billing_entity_idstring

Resource ID of type BILLING_ENTITY

dunningobject
payment_method_fallbackobject
typeenum
Allowed values:
installmentsobject
recurringobject
one_offobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error