Get a specific payment intent
Changed onRetrieves detailed information about a specific payment intent including amount, currency, and client secret.
Request
- Base URLhttps://api.solvapay.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Payment intent reference or processor payment ID
Response
Payment intent retrieved successfully
Example response
{
"accountId": "acct_1A2B3C4D",
"amount": 4999,
"clientSecret": "pi_1a2b3c4d5e6f7g8h_secret_AbCdEf123456",
"createdAt": "2025-10-18T10:30:00.000Z",
"currency": "usd",
"customerRef": "cus_3c4d5e6f7g8h",
"exchangeRate": 1,
"expiresAt": "2025-10-19T10:30:00.000Z",
"originalAmount": 4999,
"planRef": "pln_2b3c4d5e6f7g",
"processorPaymentId": "pi_1a2b3c4d5e6f7g8h",
"publishableKey": "pk_test_...",
"status": "requires_payment_method",
"transactionId": "507f1f77bcf86cd799439011"
}Changes
- warning
added the new
cancelledenum value to theresponse property for the response status - warning
added the new
failedenum value to theresponse property for the response status - warning
added the new
pendingenum value to theresponse property for the response status - warning
added the new
processingenum value to theresponse property for the response status - warning
added the new
requires_actionenum value to theresponse property for the response status - warning
added the new
requires_confirmationenum value to theresponse property for the response status - warning
added the new
requires_payment_methodenum value to theresponse property for the response status - warning
added the new
succeededenum value to theresponse property for the response status
- warning
- breaking
the response's body type changed from no type to
objectfor status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking