# Adds a specified payment method to a specified shopping cart **PUT /V1/carts/mine/selected-payment-method** Adds a specified payment method to a specified shopping cart. ## Servers - https://magento2.winkelstraat.mac/rest/all: https://magento2.winkelstraat.mac/rest/all () ## Parameters ## Body parameters Content-type: - **method** (object) Interface PaymentInterface ## Responses ### 200: 200 Success. #### Body Parameters: (string) string ### 401: 401 Unauthorized #### Body Parameters: (object) - **message** (string) Error message - **errors** (array[object]) Error details - **code** (integer) Error code - **parameters** (array[object]) Error parameters item - **trace** (string) Stack trace ### 400: 400 Bad Request #### Body Parameters: (object) - **message** (string) Error message - **errors** (array[object]) Error details - **code** (integer) Error code - **parameters** (array[object]) Error parameters item - **trace** (string) Stack trace ### default: Unexpected error #### Body Parameters: (object) - **message** (string) Error message - **errors** (array[object]) Error details - **code** (integer) Error code - **parameters** (array[object]) Error parameters item - **trace** (string) Stack trace [Powered by Bump.sh](https://bump.sh)