Skip to main content
POST
checkout_sid_walley_callback_post

Path Parameters

session_id
string<checkout-id>
required

The session ID

payment_ref
string
required

Reference to the Walley payment, created by Dintero when the payment is initiated.

Body

application/json

Callback from Walley. The property names follow the Walley API.

type
string
required

The callback type.

  • ValidateOrder: Walley validates the purchase just before payment.
  • PaymentFailed: The payment failed at Walley.

Walley may add new types. An unknown type returns 500.

Example:

"ValidateOrder"

body
object
required

Response

The callback is accepted. For ValidateOrder, the session can be paid.

Response to a Walley callback. The property names follow the Walley API.

orderReference
string

The order.merchant_reference of the session. Only included for ValidateOrder. Walley shows it on its thank-you page.

Maximum string length: 50
Example:

"order-1234"