---
schema_version: "1"
id: 9efebc4c94c009cb16edd4b926adf18117a6840ad069e7ad47268dae38ccb4b8
title: Use OCAPI Hook to Get Payment Methods
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/b2c_rn_use_ocapi_hook_to_get_payment_methods.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.b2c_rn_use_ocapi_hook_to_get_payment_methods.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: ecee3e91b1c6bc8dea0833768415c15b08d808aec3f7076d6c3c66e99bf75c33
description: The OCAPI hook dw.ocapi.shop.basket.payment_methods.afterGET is fully supported. The hook is Called before returning the list of available payment methods to the customer. Allowing modifications of the result. Previously, the hook was not called.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Use OCAPI Hook to Get Payment Methods

The OCAPI hook dw.ocapi.shop.basket.payment\_methods.afterGET is fully supported. The hook is Called before returning the list of available payment methods to the customer. Allowing modifications of the result. Previously, the hook was not called.

#### See Also

- [Baskets Resource (23.3 Shop API)](https://developer.salesforce.com/docs/commerce/b2c-commerce/references/ocapi-shop-baskets?meta=Get%2Bapplicable%2Bpayment%2Bmethods%2Bfor%2Bbasket)