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

# Create Payout Transaction Non Beneficiary - Bank

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Eversend Merchant API",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.eversend.co/v1/"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://example.com/oauth2/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/payouts": {
      "post": {
        "summary": "Create Payout Transaction Non Beneficiary - Bank",
        "description": "",
        "operationId": "create-payout-transaction-non-beneficiary-bank",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "token",
                  "phoneNumber",
                  "firstName",
                  "lastName",
                  "country",
                  "bankName",
                  "bankAccountName",
                  "bankCode",
                  "bankAccountNumber"
                ],
                "properties": {
                  "token": {
                    "type": "string",
                    "description": "JWT token from quotation"
                  },
                  "phoneNumber": {
                    "type": "string",
                    "description": "Recipient Phone Number"
                  },
                  "firstName": {
                    "type": "string",
                    "description": "Recipient First Name"
                  },
                  "lastName": {
                    "type": "string",
                    "description": "Recipient Last Name"
                  },
                  "country": {
                    "type": "string",
                    "description": "Recipient Country Code e.g. Nigeria should be NG, Uganda should be UG, etc"
                  },
                  "bankName": {
                    "type": "string",
                    "description": "Bank name based on country, gotten from delivery bank endpoint"
                  },
                  "bankAccountName": {
                    "type": "string",
                    "description": "Recipient bank account name"
                  },
                  "bankCode": {
                    "type": "string",
                    "description": "Bank code based on selected bank from the bank endpoint"
                  },
                  "bankAccountNumber": {
                    "type": "string",
                    "description": "Account number of recipient"
                  },
                  "transactionRef": {
                    "type": "string",
                    "description": "Optional unique alphanumeric string set by the client"
                  },
                  "sender": {
                    "type": "object",
                    "properties": {
                      "firstName": {
                        "type": "string"
                      },
                      "lastName": {
                        "type": "string"
                      },
                      "phone": {
                        "type": "string"
                      },
                      "email": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"code\": 200,\n  \"data\": {\n    \"transaction\": {\n      \"transactionId\": \"BP11678735362605\",\n      \"currency\": \"UGX\",\n      \"type\": \"payout\",\n      \"amount\": 1000,\n      \"fees\": 0,\n      \"userId\": 3,\n      \"balanceBefore\": 0,\n      \"balanceAfter\": 0,\n      \"sourceCurrency\": \"UGX\",\n      \"destinationCurrency\": \"NGN\",\n      \"destinationAmount\": \"191.16\",\n      \"destinationCountry\": \"NG\",\n      \"beneficiary\": {\n        \"id\": 272,\n        \"firstName\": \"John Doe\",\n        \"lastName\": \"Smith\",\n        \"phoneNumber\": \"+23481234567\",\n        \"country\": \"NG\",\n        \"bankCode\": null,\n        \"bankName\": null,\n        \"bankAccountName\": null,\n        \"bankAccountNumber\": null,\n        \"createdAt\": \"2023-03-13T19:22:43.538Z\",\n        \"updatedAt\": \"2023-03-13T19:22:44.986Z\"\n      },\n      \"reason\": null,\n      \"status\": \"pending\",\n      \"createdAt\": \"2023-03-13T19:22:46.070Z\",\n      \"updatedAt\": \"2023-03-13T19:22:46.071Z\"\n    }\n  },\n  \"success\": true\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "example": 200,
                      "default": 0
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "transaction": {
                          "type": "object",
                          "properties": {
                            "transactionId": {
                              "type": "string",
                              "example": "BP11678735362605"
                            },
                            "currency": {
                              "type": "string",
                              "example": "UGX"
                            },
                            "type": {
                              "type": "string",
                              "example": "payout"
                            },
                            "amount": {
                              "type": "integer",
                              "example": 1000,
                              "default": 0
                            },
                            "fees": {
                              "type": "integer",
                              "example": 0,
                              "default": 0
                            },
                            "userId": {
                              "type": "integer",
                              "example": 3,
                              "default": 0
                            },
                            "balanceBefore": {
                              "type": "integer",
                              "example": 0,
                              "default": 0
                            },
                            "balanceAfter": {
                              "type": "integer",
                              "example": 0,
                              "default": 0
                            },
                            "sourceCurrency": {
                              "type": "string",
                              "example": "UGX"
                            },
                            "destinationCurrency": {
                              "type": "string",
                              "example": "NGN"
                            },
                            "destinationAmount": {
                              "type": "string",
                              "example": "191.16"
                            },
                            "destinationCountry": {
                              "type": "string",
                              "example": "NG"
                            },
                            "beneficiary": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "integer",
                                  "example": 272,
                                  "default": 0
                                },
                                "firstName": {
                                  "type": "string",
                                  "example": "John Doe"
                                },
                                "lastName": {
                                  "type": "string",
                                  "example": "Smith"
                                },
                                "phoneNumber": {
                                  "type": "string",
                                  "example": "+23481234567"
                                },
                                "country": {
                                  "type": "string",
                                  "example": "NG"
                                },
                                "bankCode": {},
                                "bankName": {},
                                "bankAccountName": {},
                                "bankAccountNumber": {},
                                "createdAt": {
                                  "type": "string",
                                  "example": "2023-03-13T19:22:43.538Z"
                                },
                                "updatedAt": {
                                  "type": "string",
                                  "example": "2023-03-13T19:22:44.986Z"
                                }
                              }
                            },
                            "reason": {},
                            "status": {
                              "type": "string",
                              "example": "pending"
                            },
                            "createdAt": {
                              "type": "string",
                              "example": "2023-03-13T19:22:46.070Z"
                            },
                            "updatedAt": {
                              "type": "string",
                              "example": "2023-03-13T19:22:46.071Z"
                            }
                          }
                        }
                      }
                    },
                    "success": {
                      "type": "boolean",
                      "example": true,
                      "default": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"status\": 400,\n    \"message\": \"Not found\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "integer",
                      "example": 400,
                      "default": 0
                    },
                    "message": {
                      "type": "string",
                      "example": "Not found"
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "630e03a92fe0c00a0155c202:630e5874e94a9900941cdb18"
}
```