create_payment_agreements
Create payment agreements
- Billing.create_payment_agreements(selector=None, **kwargs) ApiResponse
Creates a payment agreement, which decides how an account gets charged.
Warning
Written from the contract, and the contract describes this route thinly: it names the media type and nothing else. No body is documented here because none is documented there, and the call was not made because a payment agreement is not something to create by way of a test.
What the route takes can be inferred from
get_payment_agreements, which returns the shape it produces: an agreement carries apaymentProfilewhosepaymentMethodsare ordered bypriority. Building one means naming those methods.Read the live schema before using this. Until then, treat the body as unknown rather than copying a guess from here.
- Returns
ApiResponse with the created agreement, in the shape
get_payment_agreementslists.