Follow-up on transactions
Direct returns a separate, unique payment.id for every CreatePayment request and every maintenance operation (i.e. CapturePayment/RefundPayment/CancelPayment) you perform on an existing transaction.
Hence, follow this payment.id logic when following-up on transactions proactively via GetPaymentDetails or processing our platform's transaction feedback via webhooks.
- Learn more about the payment.id logic in a dedicated chapter in our Webhooks guide.
- For CreateHostedCheckout requests via integration method Hosted Checkout Page, our platform returns a hostedCheckoutId instead of a payment.id. To follow-up on Hosted Checkout Page sessions, send a GetHostedCheckoutSession requests which accepts this hostedCheckoutId.