Skip to main content
POST
https://prod-api.raisedonors.com
/
api
/
Raise
/
generate-test-payment-method
Generate Test Payment Method
curl --request POST \
  --url https://prod-api.raisedonors.com/api/Raise/generate-test-payment-method \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "isSuccessOutcome": true
}
'

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

Gets or sets the payment method type (Credit Card or ACH).

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

Gets or sets whether the test payment method should succeed or fail. Default is true (success).

Response

200

OK

Last modified on June 5, 2026