Billing
Get a Bitcoin payment
A Bitcoin payment
GET
The payment's status, read again from the payment processor while it is open. Poll it after the user comes back from the checkout page. Needs a full-access API key or a signed-in session.
bearerheader
AuthorizationBearer <token>An API key, an OAuth access token, or a signed-in session token.
id*stringLength
1 <= lengthThe payment
application/json- response
id*stringstatus*stringValue in
"pending""processing""paid""underpaid""expired""refunded"plan*months*integeramountCents*integercreatedAt*stringFormat
date-timepaidAt*|Format
date-timeprepaidUntil*|Format
date-timecheckoutUrl*string|nullcurl -X GET 'https://fastwater.app/v1/billing/crypto/string'Example Response
{ "id": "string", "status": "pending", "plan": { "key": "lite", "name": "string", "priceCents": 0, "storageQuotaBytes": 0, "maxActiveTransfers": 0, "maxScreens": 0, "fileRetentionDays": 0, "webdav": true, "priorityDownloads": true, "maxPeople": 0 }, "months": 0, "amountCents": 0, "createdAt": "2019-08-24T14:15:22Z", "paidAt": "2019-08-24T14:15:22Z", "prepaidUntil": "2019-08-24T14:15:22Z", "checkoutUrl": "string"}