Skip to main content
POST
Generate Test Payment Method
Send the paymentMethodType you want to exercise and isSuccessOutcome to choose whether the payment succeeds or fails.
The spec does not document error responses for this endpoint beyond 401, so the causes aren’t listed with the responses here. Errors still arrive in the ProblemDetails envelope the rest of the Raise API uses — handle a rejected request (400), and a path ID that doesn’t resolve (404), as you would on any other endpoint.

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

Body

The request containing payment method type and outcome preferences.

Request model for generating test payment methods.

paymentMethodType
enum<integer>
required

The payment method type (Credit Card or ACH).

Available options:
0,
1,
2,
3,
4,
5,
6,
7,
8,
9
isSuccessOutcome
boolean

Whether the test payment method should succeed or fail. Default is true (success).

Response

OK

Last modified on July 28, 2026