Gateway Documents
These apis are using Parsigram and Parspay as gateway in your website. Please check any topic which you want to use.
Start Gateway with Parsigram Card Payment

To start a Parsigram card payment. When you get response for this api. There will be two parameteres; "location" and "order". Keep order to check validation of payment and locate user browser to location address

URL https://api.parsigram.net
POST https://api.parsigram.net/service/gateway/card
token
account
amount
callback
referance
domain
 
Sample Request
curl -X POST "https://api.parsigram.net/service/gateway/card" \
     --data 'token={access_token}&account=T11111111&amount=1000&callback=http://mywebsite.com'
Start Gateway with Parspay Payment

To start a Parspay payment. When you get response for this api. There will be two parameteres; "location" and "order". Keep order to check validation of payment and locate user browser to location address

URL https://api.parsigram.net
POST https://api.parsigram.net/service/gateway/wire
token
amount
callback
referance
card
domain
 
Sample Request
curl -X POST "https://api.parsigram.net/service/gateway/wire" \
     --data 'token={access_token}&amount=1000&callback=http://mywebsite.com'
Start Gateway with Parspay Bank Gateway Payment

To start a Parspay bank gateway payment. When you get response for this api. There will be two parameteres; "location" and "order". Keep order to check validation of payment and locate user browser to location address

URL https://api.parsigram.net
POST https://api.parsigram.net/service/gateway/bank
token
gateway
amount
callback
referance
domain
 
Sample Request
curl -X POST "https://api.parsigram.net/service/gateway/bank" \
     --data 'token={access_token}&amount=1000&callback=http://mywebsite.com'
Verify Payment Result

To check validation of a payment for both Parsigram card payment and Parspay payment. You must check your order by "order" parameter which you kept on previous api

URL https://api.parsigram.net
POST https://api.parsigram.net/service/gateway/verify
token
order
 
Sample Request
curl -X POST "https://api.parsigram.net/service/gateway/verify" \
     --data 'token={access_token}&order=123456789012345'