Newer Version Available
Salesforce Payments Resources
Information about Salesforce Payments, including content, rendered version, and
sharing.
To access Salesforce Payments resources whose endpoints begin /commerce/payments, your org must have one or more of these licenses:
- Salesforce Payments
- Salesforce Order Management
- B2B Commerce, or D2C Commerce
Available resources are:
| Resource | Description |
|---|---|
| /commerce/payments/authorizations | Authorizes a payment. |
| /commerce/payments/postAuths | Confirm that the merchant is ready to capture payment of an existing pre-authorized transaction. |
| /commerce/payments/authorizations/authorizationId/captures | Captures a payment authorization. |
| /commerce/payments/authorizations/authorizationId/reversals | Reverses a payment authorization. |
| /commerce/payments/payments/paymentId/refunds | Creates a refund for a payment. |
| /commerce/payments/payment-methods | Tokenizes a payment method. |
| /commerce/payments/sales | Executes a payment without a previous authorization. |
To access Salesforce Payments resources whose endpoints begin /payments, you need these licenses and permissions
- Salesforce Payments Internal license
- Salesforce Payments External User license
- Payments Administrator permissions
- Authenticated Payer permissions
- Access to public API sites for guest users who want to make payments
Available resources:
| resource | description |
|---|---|
| /payments/merchant-accounts/merchantAccountId/apple-pay-domains | Registers an Apple Pay domain. |
| /payments/merchant-accounts/merchantAccountId/apple-pay-domains/applePayDomainId | Deletes an Apple Pay domain. |
| /payments/merchant-accounts/merchantAccountId/saved-payment-methods | Creates a saved payment method or retrieve all saved payment methods. |
| /payments/merchant-accounts/merchantAccountId/saved-payment-methods/savedPaymentMethodId | Deletes, creates, or updates a saved payment method associated with a given merchant account. |
| /payments/merchant-accounts/merchantAccountId/saved-payment-methods/saveToken | Creates the saved payment method details obtained from the payment gateway. Updates the saved payment method details obtained from the payment gateway. Delete the saved payment method details record. |
| /payments/payment-method-sets/paymentMethodSetId | Retrieves payment method sets. |
| /payments/payment-intents | Initiates payments. |
| /payments/payment-intents/paymentIntentId/timeline | Retrieves the payment activity timeline for a payment intent. |
| /payments/link-to-order/paymentLinkId | Create an order for a payment link. |
| /payments/payment-link-configs/paymentLinkId | Retrieve the payment link details. |