{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Deleting a personal payment source","meta":[{"name":"robots","content":"noindex"}],"llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"deleting-a-personal-payment-source","__idx":0},"children":["Deleting a personal payment source"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The steps below explain how to delete a personal payment source from a user profile."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"width":"10%","data-label":"Step"},"children":["Step "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"20%","data-label":"Name"},"children":["Name "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"20%","data-label":"Endpoint"},"children":["Endpoint "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"50%","data-label":"Details"},"children":["Details "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/docs/openapi/paymentsapi#operation/listuserpaymentsources"},"children":["List personal payment sources for a user"]}," (Optional)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/v2/payment/users/{userId}/payment-sources"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Retrieve all the personal payment sources for a user. This endpoint can be used to identify which payment source you need to update in the next step.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["URL path requires:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["userId"]}," of the user.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Response will contain:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["paymentSourceIds"]}," of all the personal payment sources mapped to the user along with their details. Select the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["paymentSourceId"]}," which you need to update in the next step.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Other APIs will use:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["paymentSourceId"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ol","attributes":{"start":2},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/docs/openapi/paymentsapi#operation/deletepersonalpaymentsource"},"children":["Delete a payment source"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/v2/payment/users/{userId}/payment-sources/{paymentSourceId}"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Delete a personal payment source from the user profile.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["URL path requires:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["userId"]}," and the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["paymentSourceId"]}," from step 1."]}]}]}]}]}]},"headings":[{"value":"Deleting a personal payment source","id":"deleting-a-personal-payment-source","depth":1}],"frontmatter":{"seo":{"title":"Deleting a personal payment source"}},"lastModified":"2025-03-26T13:40:30.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/spotnana/personal_payment_deletion","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}