URL
PUT <application-url>/updatedefaultpaymentmethod
Consumes
application/json
Payload (payment method id as string):
pm_1FFijACfVcpM03WIYYHIXyPd
Produces
application/json
(Account Object)
RESULT
- 201 CREATED (payment method set)
- 500 INTERNAL_SERVER_ERROR
all payment methods will be detached and the new one will be set as default