Qodex.ai
Qodex.ai
Introduction
Commerce API Quick Start
Create payment sourceAdd Product to Cart Apply payment sourceConfidential access_tokenSubmit CartProduct id from list
Introduction
Commerce API Quick Start
Create payment sourceAdd Product to Cart Apply payment sourceConfidential access_tokenSubmit CartProduct id from list
HomeCommerce API Quick StartApply payment source

Apply payment source

POST https://{{apiDomain}}/v1/shoppers/me/carts/active/apply-payment-method.json

Apply the payment source to the active cart.
https://docs.digitalriver.com/commerce-api/payments/sources#attaching-a-payment-method-to-an-order-or-cart

Request Body

{"paymentMethod"=>{"sourceId"=>"{{sourceId}}"}}

Related Documentation

  • Commerce API Quick StartCommerce Api Quick Start
  • Commerce API Quick StartCreate payment source
  • Commerce API Quick StartAdd Product to Cart
  • Commerce API Quick StartConfidential access_token
  • Commerce API Quick StartSubmit Cart
Previous
Add Product to Cart
Next
Confidential access_token
Commerce API
Commerce APIAPI Documentation
Claim this pageReport this pageAll Projects
Powered byQodex.ai