Skip to main content
Accept Yapı Kredi WorldPay payments from customers in Türkiye with Craftgate as the payment service provider (PSP). The customer approves the payment in the WorldPay app, and Craftgate sends the result back to Payrails.

Supported workflows

WorkflowSupported
Payrails SDK✔
Payrails API✔
Delayed / Manual Capture✖
Instant Capture✔
Cancel / Void✖
Refund / Reverse✔
Save Instruments✖
Merchant Initiated Transaction (MIT)✖

Before you begin

Complete these steps before you send your first Yapı Kredi WorldPay payment through Craftgate:
  1. Set up a Craftgate integration in your workspace. Follow the Craftgate integration setup guide if you don’t have one yet.
  2. Ask Craftgate to enable Yapı Kredi WorldPay on your Craftgate merchant account.
  3. In the Payrails Portal, go to Settings → Integrations, open your Craftgate integration, and fill in the APM Callback Key with the merchant callback key from the Craftgate merchant panel. Payrails uses it to verify the Yapı Kredi WorldPay result that Craftgate sends back.
  4. In the same integration, select Yapı Kredi WorldPay (shown as YKB WorldPay) under Payment methods, and save.
  5. Add Yapı Kredi WorldPay as a payment option in your workflow, with instant capture.
To test Yapı Kredi WorldPay before you go live, ask Craftgate and Yapı Kredi for a Yapı Kredi WorldPay test configuration on your Craftgate sandbox account.

Request fields for Craftgate

Send these fields in the authorize request, in addition to the standard authorize fields. Required fields must be present for the payment to succeed. Payrails sends Optional fields to the PSP when you include them.

Authorize a Yapı Kredi WorldPay payment

Call authorize a payment with ykbWorldPay as the paymentMethodCode.
Authorize request
The response includes a redirect action with one of two next steps:
  • QR code page: the action has no redirect URL. Its provider data holds htmlContent, a base64-encoded HTML page with a QR code. Decode it and show it to the customer, who scans the QR code with the WorldPay app.
  • App link: the action has a redirectUrl that opens the WorldPay app. Send the customer to it.
After the customer approves the payment, Craftgate sends the result to Payrails, and Payrails completes the payment. You don’t need to call anything else. Confirm the result through webhook notifications or the execution status before you fulfill the order.

How Craftgate handles Yapı Kredi WorldPay

  • Payrails starts the payment with Craftgate’s point-of-sale APM API and captures it in the same step.
  • Payrails verifies the result that Craftgate sends back with your APM Callback Key, then reads the final payment status from Craftgate.
  • The QR code is valid for a limited time. If the customer doesn’t scan it in time, the payment fails and you start a new one.
  • You can refund the full amount or part of it.
Last modified on October 26, 2026