Payments API V3
API key authentication. Include your API key in the Authorization header as a Bearer token.
Example: Authorization: Bearer sk_test_1a2b3c4d5e6f
Payment amount in cents
2999Three-letter ISO currency code
usdPossible values: ID of an existing customer
cus_1a2b3c4d5e6fDescription of the payment
Monthly subscriptionPayment created successfully
Unique identifier for the payment
pay_1a2b3c4d5e6fPayment amount in cents
2999Three-letter ISO currency code
usdCurrent status of the payment
succeededPossible values: ID of the customer associated with this payment
cus_1a2b3c4d5e6fDescription of the payment
Monthly subscriptionTimestamp when the payment was created
2024-03-15T10:30:00ZInvalid request parameters
Authentication failed
Internal server error
API key authentication. Include your API key in the Authorization header as a Bearer token.
Example: Authorization: Bearer sk_test_1a2b3c4d5e6f
The payment ID
pay_1a2b3c4d5e6fPayment retrieved successfully
Unique identifier for the payment
pay_1a2b3c4d5e6fPayment amount in cents
2999Three-letter ISO currency code
usdCurrent status of the payment
succeededPossible values: ID of the customer associated with this payment
cus_1a2b3c4d5e6fDescription of the payment
Monthly subscriptionTimestamp when the payment was created
2024-03-15T10:30:00ZAuthentication failed
Payment not found
Internal server error
API key authentication. Include your API key in the Authorization header as a Bearer token.
Example: Authorization: Bearer sk_test_1a2b3c4d5e6f
The payment ID to refund
pay_1a2b3c4d5e6fAmount to refund in cents. If not provided, the full amount will be refunded.
1500Reason for the refund
Customer requested refundPayment refunded successfully
Unique identifier for the payment
pay_1a2b3c4d5e6fPayment amount in cents
2999Three-letter ISO currency code
usdCurrent status of the payment
succeededPossible values: ID of the customer associated with this payment
cus_1a2b3c4d5e6fDescription of the payment
Monthly subscriptionTimestamp when the payment was created
2024-03-15T10:30:00ZInvalid refund request
Authentication failed
Payment not found
Internal server error
Last updated