Salesforce Payments API

POST Create an order for a payment link.

POST /payments/link-to-order/{paymentLinkId}

Operation ID: createPaymentLinkToOrder. Tags: Payment Link.

First, the Payment Link, Get Configuration API is called to fetch the payment link details, which are then shown on the Pay Now page. These details include the amount, payment method, and currency. After users enter payment details and additional information, the Payment Link, Create Order API is called to process the payment and generate the payment order.

Parameters

  • paymentLinkId (path, string, required, style: simple) Payment link ID used to process payments and create payment orders.

Request body

Payment link input that's used to generate the payment order.

Media type: application/json. Schema: PaymentLinkToOrderInputRepresentation.

Responses

  • 200 Success

    Media type: application/json. Schema: PaymentLinkToOrderOutputRepresentation.