Store credit callout

Store credits are a flexible payment option that allows customers to apply a designated credit balance toward their purchases. Store credits can enhance customer satisfaction and streamline payment when integrated into the Digital River checkout flow. Configuring a store credit callout in the Prebuilt Checkout page ensures that each credit application is verified through a saved endpoint, maintaining transaction integrity and seamlessly validating credit amounts.

Store credit callout

post

Store credit callout

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
sessionIdstringOptional

The identifier of the checkout session associated with the store credit request.

Example: 7765374748
sessionUpstreamIdstringOptional

The upstream identifier of the checkout session associated with the store credit request.

Example: 8234373746
amountnumber · doubleOptional

The store credit amount.

Example: 5
namestringOptional

The store credit name.

Example: Gift card
upstreamIdstringOptional

The upstream store credit identifier.

Example: 7654-2345-0987-123456
iconUrlstringOptional

The store credit image url.

Example: https://test.com/logo.png
lastFourstringOptional

The last four digits of the store credit.

Example: 7831
Responses
200

200 OK

application/json
post
/checkouts/store-credits

Remove store credit callout

delete

Store credit callout

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
upstreamIdstringRequired

The unique identifier of the store credit

Responses
delete
/checkouts/store-credits/{upstreamId}

No content

Last updated