post https://api.paysimple.com/v4/payment
Collect a payment for the specified AccountId
.
The system determines the type of payment (ACH or credit card) based on the account type of the AccountId
provided.
Receipt Options
Receipt options allow setting payment receipt email settings. By default, no messages will be sent.
...
"SuccessReceiptOptions": {
"SendToCustomer": true,
"SendToOtherAddresses": [ "[email protected]","[email protected]"]
}
...
SuccessReceiptOptions
SendToCustomer
boolean.
If true
, send receipt to email of Customer when payment request succeeds.
SendToOtherAddresses
Array of email addresses to send receipt to when payment request succeeds.
...
"FailureReceiptOptions": {
"SendToCustomer": true,
"SendToOtherAddresses": [ "[email protected]","[email protected]"]
}
FailureReceiptOptions
SendToCustomer
boolean.
If true
, send receipt to email of Customer when payment request fails.
SendToOtherAddresses
Array of email addresses to send receipt to when payment request fails.
Payment Response
See Payment Response for response definition.