Email a receipt
POST/api/v3/transaction/:transaction_id/_action/email
Send a payment receipt, or payment failure notification, via e-mail. You can specify an email template to use with the message_id, which is the id number you see in the URL when you edit an email template in ChargeOver.
Request
- application/json
Body
_comment string
email string
cc string
bcc string
subject string
body string
html string
from string
_comment_message_id string
message_id integer
Responses
- 200
- 400
- 401
Action completed successfully
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
code integer
status string
message stringnullable
details objectnullable
response boolean
{
  "code": 0,
  "status": "string",
  "message": "string",
  "details": {},
  "response": true
}
{
  "code": 200,
  "status": "OK",
  "message": "",
  "details": {},
  "response": true
}
Bad request
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
code integer
status string
message stringnullable
details objectnullable
response boolean
{
  "code": 0,
  "status": "string",
  "message": "string",
  "details": {},
  "response": true
}
{
  "code": 400,
  "status": "Error",
  "message": "Missing or invalid parameter.",
  "details": {},
  "response": false
}
Authentication error
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
code integer
status string
message stringnullable
details objectnullable
response boolean
{
  "code": 0,
  "status": "string",
  "message": "string",
  "details": {},
  "response": true
}
{
  "code": 401,
  "status": "Error",
  "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
  "details": {},
  "response": false
}
Loading...