Docs

Customers Articles & FAQ

39745023

2022-09-26T16:52:02Z

2023-01-17T08:26:45Z

109

0

0

255983

Assign Payment roles via API

Assign Payment roles via API 

This article covers 

How to assign payment roles for a customer?

Can we assign payment roles for a subscription via API?

Summary

This article will help you with changing the payment roles for the payment methods for a customer.

Pre-Requisites

There should be at least 2 payment methods added for the customer to be able to set them as primary and back-up.

Steps:

From UI:

From API:

You can make use of Assign payment Role API call to mark a payment method as Primary or back-up using API. It is necessary to pass the below parameters

Payment_source_id : Payment source id this role will be assigned to.Role : primary, backup,none.

Was this article helpful?
Loading…