| Required role: | REGISUserRole |
| POST | /Beanstream/Payment/{uuid}/CreditCard/Create |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| uuid | path | string | No | |
| department | body | string | No | |
| item | body | string | No | |
| amount | body | decimal | No | |
| name | body | string | No | |
| customer_ip | body | string | No | |
| body | string | No | ||
| addr1 | body | string | No | |
| addr2 | body | string | No | |
| city | body | string | No | |
| state | body | string | No | |
| country | body | string | No | |
| code | body | string | No | |
| phone | body | string | No | |
| card_number | body | string | No | |
| card_name | body | string | No | |
| expiry_month | body | string | No | |
| expiry_year | body | string | No | |
| cvd | body | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| uuid | form | string | No | |
| id | form | string | No | |
| approved | form | bool | No | |
| message | form | string | No | |
| order_number | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Beanstream/Payment/{uuid}/CreditCard/Create HTTP/1.1
Host: data.regent-college.edu
Accept: application/json
Content-Type: application/json
Content-Length: length
{"uuid":"String","department":"String","item":"String","amount":0,"name":"String","customer_ip":"String","email":"String","addr1":"String","addr2":"String","city":"String","state":"String","country":"String","code":"String","phone":"String","card_number":"String","card_name":"String","expiry_month":"String","expiry_year":"String","cvd":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"uuid":"String","id":"String","approved":false,"message":"String","order_number":"String"}