#### 請求地址
http://open.diyimg.com/Open/onlineorder
接口類型:需身份校驗
#### body參數
| 名稱 | 是否必須 | 參數位置 | 類型 | 默認值 | 備注 |
| --- | --- | --- | --- | --- | --- |
| cardid | true | 普通參數 | string | 140101 | 快充140101,慢充170101 |
| cardnum | true | 普通參數 | string | 50 | 充值金額(非采購價、供貨價),選擇大于等于1元的面值,支持兩位小數的面值 |
| mctype | false | 普通參數 | string | | 如果是慢充商品必須傳如48 表示48小時到賬 |
| sporder_id | true | 普通參數 | string | test001234567 | Sp商家的訂單號(商戶傳給仁躍的唯一編號) |
| game_userid | true | 普通參數 | string | 13813800000 | 手機號碼 |
| ret_url | false | 普通參數 | string | | 訂單充值有結果回調的URL地址,可為空 |
#### 回調參數
| 名稱 | 參數位置 | 類型 | 備注 |
| --- | --- | --- | --- | --- | --- |
| ret_code | 普通參數 | int | 狀態 1:成功 |
| sporder_id | 普通參數 | string | Sp商家的訂單號 |
| ordersuccesstime | 普通參數 | string | 訂單成功時間 |
| err_msg | 普通參數 | string | 失敗原因 |
#### 狀態碼
| Code | Msg |
| --- | --- |
| 1008| 缺少必需參數 |
| 319 | 充值的手機號不正確 |
| 9999 | 請輸入大于等于1的金額 |
| 1007 | 賬戶金額不足 |
#### 成功返回
{
"err_msg": [],
"retcode": "1",
"orderid": "S1610242298201",
"cardid": "141403",
"cardnum": "1",
"ordercash": "50",
"cardname": "\u6c5f\u82cf\u79fb\u52a8\u624b\u673a\u5feb\u514550\u5143",
"sporder_id": "test001234567",
"game_userid": "18221347016",
"game_state": "1",
"statusCode": 300,
"message": null,
"navTabId": null,
"callbackType": null,
"forwardUrl": null
}