API Reference

Update payment method designations

Updates the primary designations on an existing payment method without re-submitting card or bank details. Send isPrimary and/or isPrimaryForFunding; omitted or null fields are left unchanged. Intended for the returning-customer flow where the client only holds masked card data but needs to mark the card already on file as the funding target.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The UUID of the payment method to update.

Body Params
boolean | null

Optional. When true, this payment method is set as primary for repayment and the primary flag is cleared on the customer's other payment methods of the same type. When false, it is explicitly marked non-primary; siblings are not changed. When omitted or null, the designation is unchanged.

boolean | null

Optional. Marks this payment method as the single method the loan is FUNDED (disbursed) to. Independent of isPrimary, which governs repayment - so funding and repayment can point at different methods. When true, this becomes the customer's only funding method and the flag is cleared on all their other methods, across every type. When false, the funding designation is removed from this method. When omitted or null, the funding designation is unchanged.

Responses

404

No payment method exists for the given UUID.

409

The payment method is disabled and cannot be designated as primary.

422

Validation error. isPrimary and isPrimaryForFunding must be booleans or null.

Language
Credentials
URL
LoadingLoading…
Response
Choose an example:
application/json