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.
customer_idstringRequired
Resource ID of type CUSTOMER
referencestringRequiredformat: "^\S+$"0-256 characters
payment_method_idstringRequired

Resource ID of type PAYMENT_METHOD

billing_entity_idstringRequired

Resource ID of type BILLING_ENTITY

typeenumRequired
customerobject or nullOptional
descriptionstring or nullOptional
statement_descriptorstring or nullOptional
payment_methodobject or nullOptional
dunningobjectOptional
payment_method_fallbackobjectOptional
installmentsobjectOptional
recurringobjectOptional
one_offobjectOptional
seller_detailsobjectOptional

Response

OK
object_typestring or nullOptionalRead-only
idstring or nullOptionalRead-only
created_atstring or nullOptionalRead-only
updated_atstring or nullOptionalRead-only
statusenum or nullOptionalRead-only
customer_idstringOptional
Resource ID of type CUSTOMER
customerobject or nullOptional
referencestringOptionalformat: "^\S+$"0-256 characters
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
typeenumOptional
installmentsobjectOptional
recurringobjectOptional
one_offobjectOptional
seller_detailsobjectOptional

Errors

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