Retrieve a credit auto top-up
Draft scaffold — not implemented or available in the API.
Returns one auto top-up rule, archived or not, with its status, any pausedReason, and its last purchase in lastTriggeredAt and lastAmendment. {creditAutoTopUp} takes the rule’s ctu_ ID.
Authentication
AuthorizationBearer
API Key authentication using Bearer token
Path parameters
creditAutoTopUp
A Paid ID, external ID or resource key, as supported by the referenced resource.
Headers
Paid-Beta
This endpoint is in the credits=v1 beta. Send this header to use it.
Allowed values:
Response
200
id
The CreditAutoTopUp ID.
object
The type of object. Always creditAutoTopUp.
Allowed values:
createdAt
When the object was created.
archivedAt
When this resource was archived, or null.
creditCurrency
A Paid ID, external ID or resource key, as supported by the referenced resource.
customer
A Paid ID, external ID or resource key, as supported by the referenced resource.
lastAmendment
A Paid ID, external ID or resource key, as supported by the referenced resource.
lastTriggeredAt
Last purchase trigger.
limits
Monthly purchase limits.
livemode
true for an object on a live account, false on a test account.
metadata
String key-value pairs of your own, up to 500 characters per value. Always updatable.
order
A Paid ID, external ID or resource key, as supported by the referenced resource.
pausedReason
Why the rule is paused.
paymentMethod
A Paid ID, external ID or resource key, as supported by the referenced resource.
price
A Paid ID, external ID or resource key, as supported by the referenced resource.
quantity
Quantity purchased on each trigger.
status
Rule lifecycle status.
Allowed values:
threshold
A downward available-balance crossing threshold.
collection
How the top-up invoice is collected.
Allowed values:
enabled
Whether the rule can trigger; true resumes it.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error
501
Not Implemented Error