Arama Yap Mesaj Gönder
Biz Sizi Arayalım
+90
X
X
X
X

Knowledge Base

Homepage Knowledge Base General PayTR Direct API Test Card Informat...

Bize Ulaşın

Konum Halkalı merkez mahallesi fatih cd ozgur apt no 46 , Küçükçekmece , İstanbul , 34303 , TR

PayTR Direct API Test Card Information and Test Payment Scenarios

To check if the payment flow is working correctly while doing PayTR Direct API integration, you can perform test transactions with the test card information provided by PayTR.

Related Guide:


Test Card Information

Field Value Description
Name Surname PAYTR TEST You can use any value you want
Card No 4355 0843 5508 4358 Required card number
Expiration Date 12 / 30 Any valid date you want
CVV 000 Required 3-digit CVV code

Field Value Description
Name Surname PAYTR TEST You can use any value you want
Card No 5406 6754 0667 5403 Required card number
Expiration Date 12 / 30 Any valid date you want
CVV 000 Required 3-digit CVV code

Field Value Description
Name Surname PAYTR TEST You can use any value you want
Card No 9792 0303 9444 0796 Required card number
Expiration Date 12 / 30 Any valid date you want
CVV 000 Required 3-digit CVV code

Things to Know While Testing

  • Name-Surname and Expiration Date can be changed as you wish for test transactions.

  • Card number and CVV code must be constant and fully compatible with the information provided by PayTR.

  • The payment result must be approved or rejected by verifying it through the Linked Notification URL.

  • "test_mode=1" must be sent in the test environment.


Important Notes

  • These test cards can only be used for Direct API.

  • If you are using iFrame API, test card information will be automatically filled on the payment page.

  • These card details should never be used in live mode (test_mode=0).

  • Only "OK" response should be given from your Notification URL as a result of the payment.


Test Payment Scenario Example

  1. Fill out your payment form.

  2. Enter the test card number and CVV as card information.

  3. Select a future date like 12/30 as the expiration date.

  4. Press the payment button.

  5. A "success" result should come to your Notification URL via PayTR.

  6. Update the order as "approved" in your database.


Conclusion

By using these test cards, you can test your PayTR Direct API integration in a healthy way and make sure that there are no problems in the payment flow.

Related Resources:

 

Can't find the information you are looking for?

Create a Support Ticket
Did you find it useful?
(3742 times viewed / 73 people found it helpful)

Call now to get more detailed information about our products and services.

Top