---
agentTools:
  projectIndex: https://chimoney.readme.io/llms.txt
---

# Payout Chimoney.

Sends a Chimoney payout to the specified email or phone number.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Chimoney API Docs",
    "version": "0.2.4",
    "description": "This is the latest version of the Chimoney API. For deprecated version routes, please refer to /v0.2/api-docs."
  },
  "security": [
    {
      "apiKeyAuth": []
    }
  ],
  "servers": [
    {
      "url": "https://api.chimoney.io/",
      "description": "Prod Server"
    },
    {
      "url": "https://api-v2-sandbox.chimoney.io",
      "description": "Sandbox API v2 (v0.2.4)"
    }
  ],
  "paths": {
    "/v0.2.4/payouts/chimoney": {
      "post": {
        "summary": "Payout Chimoney.",
        "tags": [
          "Payouts"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "subAccount": {
                    "type": "string",
                    "description": "Subaccount (Wallet Account) to payout from, if any.",
                    "example": "1234567"
                  },
                  "turnOffNotification": {
                    "type": "boolean",
                    "description": "disables email and other notifications from Chimoney.",
                    "example": "false"
                  },
                  "chimoneys": {
                    "type": "array",
                    "description": "Chimoneys payload.",
                    "items": {
                      "type": "object",
                      "properties": {
                        "email": {
                          "type": "string",
                          "description": "Recipient email address.",
                          "example": "test@gmail.com"
                        },
                        "phone": {
                          "type": "string",
                          "description": "Recipient Phone Number with country code.",
                          "example": "+16471112222"
                        },
                        "valueInUSD": {
                          "type": "number",
                          "description": "Amount in USD to send.",
                          "example": 10
                        },
                        "amount": {
                          "type": "number",
                          "description": "Amount in specifiec currency to send. Required if currency is set",
                          "example": 10
                        },
                        "currency": {
                          "type": "string",
                          "description": "ISO Currency String like CAD, USD etc",
                          "example": "CAD"
                        },
                        "narration": {
                          "type": "string",
                          "description": "Narration/Description of payment to be included notification to user",
                          "example": "Monthly Flex Payment"
                        },
                        "collectionPaymentIssueID": {
                          "type": "string",
                          "description": "issue ID for the payment payout initiated.",
                          "example": "1209992222"
                        },
                        "redeemData": {
                          "type": "object",
                          "properties": {
                            "walletID": {
                              "type": "string",
                              "description": "Chimoney Wallet ID to deposit the value to.",
                              "example": "XQTUvRBntIU3AHgQ3jFuN9ZcHIC3"
                            },
                            "interledgerWalletAddress": {
                              "type": "string",
                              "description": "Interledger Wallet Address (Payment Pointer) to settle the Payment in. Must be issued by a Chimoney Interledger pair",
                              "example": "https://ilp.chimoney.io/uchi"
                            },
                            "beneficiaryId": {
                              "type": "string",
                              "description": "Beneficiary ID of bank recipeient usually `beneID` or `beneficiaryId` - Create one here `/v0.2.4/beneficiary/bank`.",
                              "example": "Sam-15cc11ef-b5e6-4339-9ece-9c5b0149d"
                            },
                            "quotePayload": {
                              "type": "object",
                              "description": "Includes quoteId, destinationCurrency, originCurrency"
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "required": [
                  "chimoneys"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "description": "Status of the request.",
                      "example": "success"
                    },
                    "message": {
                      "description": "message of the request.",
                      "example": "Chimoney payout completed successfully"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "paymentLink": {
                          "type": "string",
                          "example": "undefined/pay/?issueID=XQTUvRBntIU3AHgQ3jFuN9ZcHIC3_2_1661118346647"
                        },
                        "data": {
                          "type": "array",
                          "items": {
                            "type": "object"
                          }
                        },
                        "chimoneys": {
                          "type": "array",
                          "items": {
                            "type": "object"
                          }
                        },
                        "error": {
                          "type": "string",
                          "example": "None"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ValidationError"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Resource not found.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "error"
                    },
                    "type": {
                      "type": "string",
                      "example": "Resource Not Found"
                    },
                    "code": {
                      "type": "string",
                      "example": "WALLET_NOT_FOUND"
                    },
                    "message": {
                      "type": "string",
                      "example": "Could not find a ${destinationCurrency} wallet for receiver"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "apiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-KEY"
      }
    },
    "responses": {
      "Forbidden": {
        "description": "Access to this resource is forbidden.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Forbidden"
            }
          }
        }
      },
      "Unauthorized": {
        "description": "Access to this resource is not available for unauthenticated users.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Unauthorized"
            }
          }
        }
      },
      "ServerError": {
        "description": "Indicates an internal server error.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ServerError"
            }
          }
        }
      },
      "ValidationError": {
        "description": "Validation error in the request.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ValidationError"
            }
          }
        }
      }
    },
    "schemas": {
      "Forbidden": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "description": "Status of the response.",
            "example": "error"
          },
          "error": {
            "type": "string",
            "description": "Error message indicating forbidden access.",
            "example": "API Access not enabled for account Test. Email support@chimoney.io"
          }
        }
      },
      "Unauthorized": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "description": "Status of the response.",
            "example": "error"
          },
          "error": {
            "type": "string",
            "description": "Error message indicating unauthorized access.",
            "example": "API key is not defined. Generate a new one from the developer portal."
          }
        }
      },
      "ServerError": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "description": "Status of the error.",
            "example": "error"
          },
          "type": {
            "type": "string",
            "description": "Type of server error.",
            "example": "server error"
          },
          "code": {
            "type": "string",
            "description": "Specific error code for server issues.",
            "example": "INTERNAL_SERVER_ERROR"
          },
          "message": {
            "type": "string",
            "description": "Detailed message explaining the issue.",
            "example": "An internal server error occurred."
          }
        }
      },
      "ValidationError": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "description": "Status of the validation error.",
            "example": "error"
          },
          "type": {
            "type": "string",
            "description": "Type of validation error.",
            "example": "Validation Error"
          },
          "code": {
            "type": "string",
            "description": "Error code indicating validation issue.",
            "example": "INVALID_REQUEST"
          },
          "message": {
            "type": "string",
            "description": "Detailed validation error message.",
            "example": "The request parameters are invalid."
          }
        }
      }
    }
  },
  "tags": [
    {
      "name": "Payouts",
      "description": "All payout operations."
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 102,
      "1": 208,
      "2": 243,
      "3": 240,
      "4": 73,
      "5": 214,
      "6": 34,
      "7": 0,
      "8": 37,
      "9": 190,
      "10": 200,
      "11": 166
    }
  }
}
```