Paymentwall’s 2-click payment widget allows you to quickly charge your customers’ credit card simply and easily. The small widget can be integrated as a layer in a flash game or as a stand alone widget anywhere within your product. You can adjust the pricing in each country or region using our easy to use administrative tools. If your users are from regions of the world where Credit Cards are not as popular, our Widget will automatically show alternative payment options as the default. We offer further alternative payment methods such as PayPal, Mobile Payments, e-wallets, prepaid cards, bank transfers, direct debit and terminals/kiosks allowing every user the opportunity to pay in a way that they are comfortable and familiar with in their native language.
April 17, 2011
Widget URL: https://wallapi.com/api/ccwall
Request method: GET
| Parameter | Description | Required |
|---|---|---|
| key | Application key | Yes |
| uid | User id | Yes |
| amount | Amount of the purchase, i.e. 10.00 | No |
| currencyCode | Currency of the purchase, i.e. USD, EUR | No |
| vc | Virtual currency name, i.e. Gold | No |
| vc_amount | Virtual currency amount, i.e. 100 | No |
| ts | Time when request was initiated, represented as Unix timestamp - seconds since the Unix epoch (January 1 1970 00:00:00 GMT). If it’s older then 60 minutes, user sees an error message. Recommended for preventing widget from being shared. | No |
| sign_version | Version of signature. sign_version=2 needs to be used | Yes |
| sign | Request signature. All parameters in request need to be signed. Refer to signature calculation section below | Yes |
Additionally, you can pass custom parameters to the widget and they can be returned in the pingback.
Please note, that application key and secret need to be replaced with your own application specific values.