Before processing real payments, you should thoroughly test your integration using Payzah’s sandbox environment. The sandbox mirrors production behavior exactly, allowing you to simulate successful transactions and error scenarios without moving real money. Use the test credentials and endpoints below to verify every part of your integration end-to-end.
All test credentials listed on this page are exclusively compatible with the test endpoints. Sending these card details to production endpoints will result in failed or rejected transactions. Refer to the endpoint table below to ensure you are pointing to the correct URLs.
Test Card Credentials
K-Net (Debit)
Visa
MasterCard
Apple Pay
Use the following details when testing K-Net debit card payments in the sandbox:| Field | Value |
|---|
| Bank | Knet Test Card |
| Card Number | 888888-0000000001 |
| Expiry | 09/2030 |
| PIN | 1234 |
Use the following details when testing Visa credit card payments in the sandbox:| Field | Value |
|---|
| Card Number | 4012001037141112 |
| Expiry | 12/27 |
| CVV | 212 |
| Name | Any value |
| Password | Any value |
Use the following details when testing MasterCard credit card payments in the sandbox:| Field | Value |
|---|
| Card Number | 5453010000095323 |
| Expiry | 12/27 |
| CVV | 212 |
| Name | Any value |
| Password | Any value |
Use the following details when testing Apple pay, but you need to have a developer account with apple to add these cards and accept payments in the sandbox, else you can go live and you will see the apple pay enabled automatically:Card 1| Field | Value |
|---|
| Card Number | 4904560000598559 |
| Expiry | 03/29 |
| CVV | 212 |
| Name | Any value |
| Password | Any value |
Card 2| Field | Value |
|---|
| Card Number | 4904560001049545 |
| Expiry | 09/30 |
| CVV | 212 |
| Name | Any value |
| Password | Any value |
Test vs. Production Endpoints
Payzah provides distinct URLs for each environment. Make sure your integration reads the base URL from a configuration variable so you can switch between environments without changing code.
| Operation | Environment | URL |
|---|
| Payment Initialization | Test | https://development.payzah.net/ws/paymentgateway/index |
| Payment Initialization | Production | https://payzah.net/production770/ws/paymentgateway/index |
| Payment Status Check | Test | https://development.payzah.net/ws/paymentgateway/get-payment-details |
| Payment Status Check | Production | https://payzah.net/production770/ws/paymentgateway/get-payment-details |
Before switching your integration to the production endpoints, complete a full round of User Acceptance Testing (UAT). Cover every integration point — successful payments, declined cards, cancelled transactions, and status-check polling — so you can go live with confidence and minimize support issues.