create_payment_profiles

Create payment profiles

Billing.create_payment_profiles(selector=None, **kwargs) → ApiResponse

Creates one or more payment profiles.

Request Body (required)

  • paymentProfiles (array): required. Each entry describes a profile: which payment methods to use and in what order.

The contract names the list and does not describe its entries. The shape of a payment method reads back from get_payment_agreements, whose agreements carry a paymentProfile holding paymentMethods ordered by priority.

Warning

Not exercised. A payment profile decides where money is taken from.

Returns

ApiResponse. The contract answers 207, a multi-status, not 200.