Skip to content

Get Payment Methods

Retrieve available payment methods for checkout.

Endpoint

GET /api/shop/checkout/payment-methods

Request Headers

HeaderRequiredDescription
Content-TypeYesapplication/json
X-STOREFRONT-KEYYesYour storefront API key

Response Fields (200 OK)

FieldTypeDescription
idintegerPayment method ID
codestringPayment method code
namestringDisplay name
descriptionstringMethod description
isActivebooleanMethod active status
instructionsstringPayment instructions or notes
iconstringMethod icon URL
additionalDataobjectAdditional configuration (if any)

Use Cases

  • Display payment options during checkout
  • Allow customer to select payment method
  • Show payment instructions
  • Validate payment method availability
  • Implement payment gateway integration

Common Payment Methods

  • Credit/Debit Card (Stripe, Square, etc.)
  • PayPal
  • Bank Transfer
  • Cash on Delivery
  • Wallet/Gift Card
  • Buy Now Pay Later (Klarna, Afterpay)

Notes

  • Methods availability depends on store configuration
  • Some methods may have requirements or restrictions
  • Instructions help guide customer through payment
  • Payment processing happens after order placement

Released under the MIT License.