Return URL Example
Upon successful deposit the customer sees the deposit summary page. After the deposit, the “Continue” button will be at the bottom of the summary page, by clicking on which the client will be redirected to the specified URL.
{danger.fa-exclamation} IMPORTANT: By default the return URL is accessed using HTTP POST method. If your callback is expecting to receive GET, please specify at least one querystring parameter. In case if no querystring parameters are required, you can still have any dummy parameter, for example,
?get=1
.
Condition | Description | Example |
---|---|---|
{{customer.pin}} |
Unique customer id in your system | https://yoursite.com/success/{{customer.pin}} |
{{customer.first_name}} |
The name of the user who conducted the transaction | https://yoursite.com/success/{{customer.first_name}} |
{{customer.last_name}} |
Last name of the user who conducted the transaction | https://yoursite.com/success/{{customer.last_name}} |
{{customer.dob}} |
DOB of the user who conducted the transaction | https://yoursite.com/success/{{customer.dob}} |
{{customer.email}} |
Email of the user who conducted the transaction | https://yoursite.com/success/{{customer.email}} |
User data is taken from the data that is sent to us when initializing init
methods (API 1.1).
Condition | Description | Example |
---|---|---|
{{transaction.transaction_type}} |
Transaction Type deposit or payout |
https://yoursite.com/success/ {{transaction.transaction_type}} |
{{transaction.transaction_status}} |
Current Transaction Status (pending , approved , decline ) |
https://yoursite.com/success/ {{transaction.transaction_status}} |
{{transaction.transaction_id}} |
Transaction ID in your CRM | https://yoursite.com/success/ {{transaction.transaction_id}} |
{{transaction.trace_id}} |
Transaction ID in our system | https://yoursite.com/success/ {{transaction.trace_id}} |
{{transaction.order_id}} |
A value referencing a unique order id within your shopping cart system. This value will be referenced within the cashier for payment attempts. ( init-checkout , init-pay-out-order ) |
https://yoursite.com/success/ {{transaction.order_id}} |
{{transaction.amount}} |
Amount of funds | https://yoursite.com/success/ {{transaction.amount}} |
{{transaction.currency}} |
Transaction currency | https://yoursite.com/success/ {{transaction.currency}} |
{{transaction.payment_method}} |
Payment Method Transactions (Visa, MasterCard, Skrill ...) | https://yoursite.com/success/ {{transaction.payment_method}} |
{{transaction.payment_processor}} |
Payment processor that processes the transaction | https://yoursite.com/success/ {{transaction.payment_processor}} |
{{transaction.auth_token}} |
Token that you get when initializing init methods |
https://yoursite.com/success/ {{transaction.auth_token}} |
You can also combine conditions.
HTTP POST Example:
https://yoursite.com/return_after_transaction/{{transaction.transaction_status}}/{{transaction.trace_id}}
HTTP GET Example:
https://yoursite.com/return_after_transaction?transaction_status={{transaction.transaction_status}}&tid={{transaction.trace_id}}
You are currently viewing version 3.3 Latest version here