Note : Please let us know your server IP list before start integration for whitelisting on our system. Note 2 : Please do not send dummy data for required fields.
Payment
Live URL: https://api. /pw/v3/crypto/paymentTest URL: https://testapi. /pw/v3/crypto/payment
CURL API REQUEST
Parameters
| Parameter Name | Detail | Example | Type | Always There |
|---|---|---|---|---|
| apiKey | Your Api Key provided from us. | 4d41d21a935f5bba9dee7 c7be4a7ca04 | Char 32 | ✔ |
| amount | Amount in cents of the transaction. | 1234 for 12.34 € 1550 for 15.50 USD | Int | ✔ |
| currency | The currency of transaction. | EUR | Char 3 | ✔ |
| referenceNo | Your own transaction identifier. | 1-1386413490-0089-14 | Char 32 | ✔ |
| description | Description of transaction. | Crypto Payment | Char 255 | ✔ |
| returnUrl | Valid URL where the client is redirected after payment completion. | https://www.yourstore.co m/order_confirmation_132 2_ABC | Char 256 | ✔ |
| Customer email address | [email protected] | Char 128 | ✔ | |
| billingFirstName | First name of the customer. | John | Char 64 | ✔ |
| billingLastName | Last name of the customer. | Doe | Char 64 | ✔ |
| paymentMethod | Default selected payment method | CRYPTO | Char 32 |
Response Examples
Successful Response
| Parameter Name | Detail | Example |
|---|---|---|
| status | Status of the transaction | PENDING |
| amount | Amount in cents of the transaction. | 1234 for 12.34 € 1550 for 15.50 |
| currency | The currency of transaction | EUR |
| type | Authorization type | AUTH |
| referenceNo | Your own transaction identifier. | 1-1386413490-1289-14 |
| operation | The operation type | 3D |
| returnUrl | Valid URL where the client is redirected after payment completion. | https:// /return |
| paymentMethod | Default selected payment method | VISA |
| transactionId | Our transaction identifier | 123-123456789-123456 |
| message | Return message that includes details for response | Waiting |
| code | Response code of the message | 283 |
| purchaseUrl | The URL which for your customers to be redirected to | https://gateway. /payment/initialize/12-32345-3424323 |
Unsuccessful Response
| Parameter Name | Detail | Example |
|---|---|---|
| status | Status of the transaction | DECLINED |
| message | Return message that includes details for response | Amount is required |
| code | Response code of the message | 188 |
Example Integration Request
curl -i -X POST \
-d "amount=200" \
-d "apiKey=1234ABCD" \
-d "currency=EUR" \
-d "[email protected]" \
-d "referenceNo=asd23" \
-d "description=asd2" \
-d "returnUrl=https://google.com/return" \
-d "billingFirstName=John" \
-d "billingLastName=Wayne" \
-d "paymentMethod=CRYPTO" \
'REQUEST_ENDPOINT_URL_COMES_HERE(SEE BELOW)'
Test URL: https://testapi. /pw/v3/crypto/paymentLive URL: https://api. /pw/v3/crypto/payment
!! IMPORTANT !!
When you receive push/pull notification, you should check amount to confirm last amount that should be deposit to customer's account