-
Notifications
You must be signed in to change notification settings - Fork 2
Pricing Payment
Kyle (Qiankang) Zhou edited this page Nov 11, 2017
·
7 revisions
Element | Data |
---|---|
url | /pricing |
method | GET |
headers | none |
none
{
Pricing[]
}
Status Code | Type |
---|---|
500 | Internal Server Error |
/api/access
None
POST
Key | Required | Description |
---|---|---|
token |
Yes | Authorization Token |
Key | Type | Required | Description |
---|---|---|---|
stripeToken.id |
String | Yes | Stripe Token Id |
type |
String | Yes | Access Type |
{
"token": {
"id": "tok_123qwe123qwe123erewt34",
"object": "token",
"card": {
"id": "card_123qwe123wqe",
"object": "card",
"address_city": null,
"address_country": null,
"address_line1": null,
"address_line1_check": null,
"address_line2": null,
"address_state": null,
"address_zip": null,
"address_zip_check": null,
"brand": "Visa",
"country": "US",
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 1,
"exp_year": 2018,
"funding": "credit",
"last4": "4242",
"metadata": {},
"name": "[email protected]",
"tokenization_method": null,
"fingerprint": "efwgqf1231313",
"customer": null,
"type": "Visa"
},
"client_ip": "50.11.222.333",
"created": 1510364686,
"email": "[email protected]",
"livemode": false,
"type": "card",
"used": false
},
"type": "VENDOR_SUBSCRIPTION",
"count": 1
}
200 OK
{
"message": "Success"
}
400 Bad Request
{
"message": "Malformed Request"
}
409 Conflict
{
"message": "Requested Access Type Already Exists"
}
500 Internal Server Error
{
"message": "Internal Server Error"
}