Skip to content

Instantly share code, notes, and snippets.

@sinamiandashti
Last active June 21, 2017 08:04
Show Gist options
  • Save sinamiandashti/63cbc1dea88195b0bf89972f34d624f5 to your computer and use it in GitHub Desktop.
Save sinamiandashti/63cbc1dea88195b0bf89972f34d624f5 to your computer and use it in GitHub Desktop.
Pm24 new api
Payment24 new API!
===================
[TOC]
Here is newly added api's for mobile applications
----------
Api List
-------------
#### Get Bank Account info
getting user bank acount info as an array
##### method : GET
##### path : /api/v1/getBankInfo
##### params : none
#### Update Bank Account info
updating user bank acount info
##### method : POST
##### path : /api/v1/updateBankInfo
##### params :
###### bank_name: (for ex. test)
###### bank_card: (for ex. 5022291028929881
###### account_owner: (for ex. sina)
#### Get Order Payment Method
getting available payment methods of an order
##### method : GET
##### path : /api/v1/orders/{orderid}/paymethods
##### params : none
note : just replace {orderid} with the order id for ex. /api/v1/orders/1123/paymethods
#### Remove User by mobile or email
removing the given user by his/her mobile or email for testing purposes
##### method : GET
##### path : /api/v1/removeUser?email=
##### params :
##### email
or
##### mobile
note : this just works in beta test servers, and prevented in production environment
#### Get Services Fee's
getting available services prices
##### method : GET
##### path : /api/v1/prices
##### params : none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment