/payment_initiation/consent/createCreate payment consent
Creates a payment consent that can authorize future payments on behalf of an end user. Supply the recipient, reference, and payment constraints, and use type to select sweeping or commercial payments. The consent starts with UNAUTHORISED status and must be authorized before it can initiate payments.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
Payment consent details, including its recipient, payment type, limits, optional payer details, and deprecated scope and option fields.
recipient_id, reference, and constraints are required, and reference must contain 1 to 18 characters without special characters. type must be SWEEPING or COMMERCIAL; each periodic_amounts entry must include amount, interval, and alignment, and scopes must contain at least one unique deprecated scope when supplied.