Read a Prepaid Credit Purchase Confirmation
Returns the purchase amount and when the credit was added to your account, or when the purchase was closed.
Authentication
AuthorizationBearer
Your aVenture API key (https://aventure.vc/settings/api-keys) or OAuth access token
Path parameters
purchaseId
Purchase identity returned by prepaid credit checkout.
Response headers
X-RateLimit-Limit
Requests allowed per client IP in the current rate-limit window.
X-RateLimit-Remaining
Requests left before the tightest applicable rate-limit bucket rejects.
X-RateLimit-Reset
Seconds until the exhausted rate-limit bucket admits another request; 0 when none is exhausted.
Response
OK
amountCents
id
closedAt
currency
expiresAt
Expiry of the open hosted Checkout, not of purchased credit.
grantedAt
paymentClientSecret
publishableKey
status
Current purchase payment state; grant confirmation remains grantedAt.
url
Hosted payment destination, only while its Checkout remains open.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
406
Not Acceptable Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error