| Required role: | REGISUserRole |
| POST | /Beanstream/Payment/{uuid}/CreditCard/Token/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 | |
| token | body | string | No | |
| card_type | body | string | No | |
| token_last_four | body | string | No | |
| card_name | body | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| uuid | form | string | No | |
| id | form | string | No | |
| approved | form | bool | No | |
| message_id | form | string | No | |
| message | form | string | No | |
| order_number | form | string | No | |
| payment_method | form | string | No | |
| card_type | form | string | No | |
| card_last_four | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Beanstream/Payment/{uuid}/CreditCard/Token/Create HTTP/1.1
Host: data.regent-college.edu
Accept: text/jsonl
Content-Type: text/jsonl
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","token":"String","card_type":"String","token_last_four":"String","card_name":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"uuid":"String","id":"String","approved":false,"message_id":"String","message":"String","order_number":"String","payment_method":"String","card_type":"String","card_last_four":"String"}