Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /api/direct-payment
- Params:
- key:2e63fe10682040bdcba8e66c38f2318d
- amount:1.0
- currency:USD
- product_id:testitem1
- product_name:test item 1
- ps:mycardcard
- sign_version:2
- uid:testuser1
- sign:6d06c9b025bbc1540ea515f26dd6ad33
- Response
- {
- "type": "transaction",
- "id": "d65546579",
- "status": "pending",
- "ps": "mycardcard",
- "flow_data": {
- "step": 1,
- "action": "display_form",
- "form_data": {
- "card_id": {
- "title": "Card id",
- "description": "",
- "type": "text",
- "rules": {
- "required": true,
- "alpha_numeric": true,
- "exact_length": 16
- }
- },
- "card_password": {
- "title": "Card password",
- "description": "",
- "type": "text",
- "rules": {
- "required": true,
- "alpha_numeric": true,
- "exact_length": 16
- }
- }
- }
- }
- }
- api/direct-payment/w117485957
- Params:
- key:f29e7441a54debd44f903a2b7c40b15d
- data[card_id]:MCARCA0000004170
- data[card_password]:DT3GAE5CREATCRRE
- sign_version:2
- sign:4ab94527c6cbab45e9eb9703a822c281
- step:1
- Response:
- {"type":"transaction","id":"w117487850","status":"completed","ps":"mycardcard"}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement