Payment Methods

Set default payment methods

Changed on

Sets a default payment method for the specified user

post/appMarket/v2/paymentMethods/defaults

Request

Request body

ownerIdstring required

ID of the user who owns the default payment method

companyIdstring required

ID of the company of which the user is a member

paymentMethodIdstring required

ID of the default payment method

Example request

{
  "ownerId": "40e8af95-4caf-415a-96d9-7b023207b535",
  "companyId": "9c130291-cf29-4272-8005-a280b1e81388",
  "paymentMethodId": "e35c2f85-ef92-4a8f-89f0-45b62fb95fa7"
}

Response

OK

paymentMethodIdstring required

The ID of the default payment method

Example response

{
  "paymentMethodId": "e35c2f85-ef92-4a8f-89f0-45b62fb95fa7"
}

Changes

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      the request's body type changed from no type to object

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status