> ## Documentation Index > Fetch the complete documentation index at: https://help.narmi.com/llms.txt > Use this file to discover all available pages before exploring further. # Creates a bill payment > Creates a bill pay payment for the authenticated user (distinct from ACH, wire, or other transfers). Payments use a third-party service (typically iPay) and transfers can execute from a user's account to a specified payee. All monetary values are represented in minor units, or the smallest unit of the currency with no decimal (e.g., cents). For example, $10.00 is represented as 1000. How can we improve these docs? Share your feedback. ## OpenAPI ````json POST /v1/payments/ { "openapi": "3.0.3", "info": { "title": "Narmi Public API", "version": "v1 (main)", "description": "To read about Public API access and authentication, go to [API Overview](https://docs.narmi.com/docs/narmi-developer-docs/xl9dvbz84o11l-introduction).\n\n### Content types\n\nRequests and responses default to JSON. To use [TOON](https://toonformat.dev/) (Token-Oriented Object Notation), a compact, lossless encoding of JSON that uses fewer tokens in LLM contexts, send `Content-Type: application/toon` for request bodies and `Accept: application/toon` for responses.", "termsOfService": "https://www.narmi.com/policies/developer-terms-conditions", "contact": { "name": "Narmi Support", "email": "support@narmi.com" } }, "servers": [ { "url": "https://api.sandbox.narmi.dev/", "description": "" } ], "tags": [ { "name": "accessibility" }, { "name": "account balances" }, { "name": "account opening" }, { "name": "accounts" }, { "name": "ach companies" }, { "name": "ach destinations" }, { "name": "ach import" }, { "name": "ach nacha passthrough" }, { "name": "ach payments" }, { "name": "ach transfers" }, { "name": "alerts" }, { "name": "automatic savings enrollment" }, { "name": "bill pay" }, { "name": "bulk payment templates" }, { "name": "bulk payments" }, { "name": "card linked offers" }, { "name": "cards" }, { "name": "data access management" }, { "name": "deposits" }, { "name": "documents" }, { "name": "enrollments" }, { "name": "express-checkout" }, { "name": "external transactions" }, { "name": "fedwire destinations" }, { "name": "fedwire templates" }, { "name": "file imports" }, { "name": "income source" }, { "name": "instant transfers" }, { "name": "institution" }, { "name": "international wires" }, { "name": "invoices" }, { "name": "loan autopay" }, { "name": "me" }, { "name": "merchants" }, { "name": "mfa" }, { "name": "payees" }, { "name": "payments" }, { "name": "ping" }, { "name": "receipts" }, { "name": "recipients" }, { "name": "reports" }, { "name": "same-day transfers" }, { "name": "scheduled transfers" }, { "name": "search" }, { "name": "subscriptions" }, { "name": "support" }, { "name": "surveys" }, { "name": "swift transactions" }, { "name": "swift wire templates" }, { "name": "teams" }, { "name": "threads" }, { "name": "transactions" }, { "name": "unverified ach reversals" }, { "name": "unverified ach transactions" }, { "name": "users" }, { "name": "whatismyip" }, { "name": "wire import" }, { "name": "wire recipients" }, { "name": "wires" } ], "x-stoplight": { "id": "68n444msv6n7x" }, "paths": { "/v1/payments/": { "post": { "operationId": "payments_create", "description": "Creates a bill pay payment for the authenticated user (distinct from ACH, wire, or other transfers). Payments use a third-party service (typically iPay) and transfers can execute from a user's account to a specified payee.\n\nAll monetary values are represented in minor units, or the smallest unit of the currency with no decimal (e.g., cents). For example, $10.00 is represented as 1000.\n\n\n\nHow can we improve these docs? Share your feedback.", "summary": "Creates a bill payment", "parameters": [ { "in": "query", "name": "format", "schema": { "type": "string", "enum": [ "json", "toon" ] } } ], "tags": [ "payments" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PaymentCreateDocRequest" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/PaymentCreateDocRequest" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/PaymentCreateDocRequest" } }, "application/toon": { "schema": { "$ref": "#/components/schemas/PaymentCreateDocRequest" } } }, "required": true }, "security": [ { "oauth2": [ "banking:payments:write" ] } ], "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Payment" } }, "application/toon": { "schema": { "$ref": "#/components/schemas/Payment" } } }, "description": "" }, "403": { "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "string" }, "message": { "type": "string" } } }, "examples": { "PermissionDenied": { "value": { "id": "api_error", "message": "You do not have permission to perform this action." } } } }, "application/toon": { "schema": { "type": "object", "properties": { "id": { "type": "string" }, "message": { "type": "string" } } }, "examples": { "PermissionDenied": { "value": { "id": "api_error", "message": "You do not have permission to perform this action." } } } } }, "description": "" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/InvalidRequestError" } }, "application/toon": { "schema": { "$ref": "#/components/schemas/InvalidRequestError" } } }, "description": "" } }, "x-permissions": { "allOf": [ { "feature": { "name": "bill_pay" } } ] }, "x-stoplight": { "id": "fsngu5auqyswr" } } } }, "components": { "schemas": { "PaymentCreateDocRequest": { "type": "object", "properties": { "payee_id": { "type": "string", "minLength": 1, "description": "Identifies payment recipient to the payment processor. Can be fetched via the payees endpoints.", "example": "abc123" }, "amount": { "type": "integer", "example": 100, "maximum": 999999999999999, "minimum": -999999999999999, "description": "This value is expressed as an integer in the currency's smallest unit (e.g. cents), not as a decimal. For example, $5.00 is represented as 500 and $0.99 as 99." }, "send_date": { "type": "string", "format": "date" }, "expected_arrival_date": { "type": "string", "format": "date" }, "type": { "type": "string", "minLength": 1, "description": "The mode of payment, such as check or email.", "example": "check" }, "recurring_rule": { "type": "string", "minLength": 1, "description": "Cadence of recurring payment, as per the RFC-5545 specification.", "example": "RRULE:FREQ=DAILY;COUNT=1" }, "ignore_warnings": { "type": "array", "items": { "$ref": "#/components/schemas/ErrorRequest" }, "writeOnly": true, "description": "Warning codes to be suppressed during call.", "example": [ { "code": "555", "description": "Description" }, { "code": "920", "description": "Description" } ] } }, "required": [ "amount", "expected_arrival_date", "payee_id", "recurring_rule", "send_date", "type" ], "x-stoplight": { "id": "dy1brabe9nexg" } }, "Payment": { "type": "object", "properties": { "payment": { "$ref": "#/components/schemas/BillPayment" } }, "required": [ "payment" ], "x-stoplight": { "id": "cnircybhdqhxw" } }, "InvalidRequestError": { "type": "object", "properties": { "id": { "type": "string", "default": "invalid_request_error" }, "message": { "type": "object", "additionalProperties": {}, "default": { "field_name": "Error description." }, "description": "An error response detailing the field and the nature of the error." } }, "x-stoplight": { "id": "aelrw6rc7wiph" } }, "ErrorRequest": { "type": "object", "properties": { "code": { "type": "string", "minLength": 1 }, "description": { "type": "string", "minLength": 1 } }, "required": [ "code" ], "x-stoplight": { "id": "cqk62uhcqgodx" } }, "BillPayment": { "type": "object", "properties": { "id": { "type": "string", "readOnly": true, "description": "Identifies payment sender to the payment processor.", "example": "abc123" }, "state": { "allOf": [ { "$ref": "#/components/schemas/BillPaymentStateEnum" } ], "readOnly": true, "description": "Indicates the status of the payment, for instance, if it's been processed or is pending.", "example": "pending" }, "payee_id": { "type": "string", "description": "Identifies payment recipient to the payment processor. Can be fetched via the payees endpoints.", "example": "abc123" }, "amount": { "type": "integer", "example": 100, "maximum": 999999999999999, "minimum": -999999999999999, "description": "This value is expressed as an integer in the currency's smallest unit (e.g. cents), not as a decimal. For example, $5.00 is represented as 500 and $0.99 as 99." }, "send_date": { "type": "string", "format": "date" }, "expected_arrival_date": { "type": "string", "format": "date" }, "type": { "type": "string", "description": "The mode of payment, such as check or email.", "example": "check" }, "recurring_rule": { "type": "string", "description": "Cadence of recurring payment, as per the RFC-5545 specification.", "example": "RRULE:FREQ=DAILY;COUNT=1" }, "from_account_id": { "type": "string", "format": "uuid", "nullable": true, "readOnly": true, "description": "UUID identifying the source account in the Narmi database." } }, "required": [ "amount", "expected_arrival_date", "payee_id", "recurring_rule", "send_date", "type" ], "x-stoplight": { "id": "5c2xpcuohb6ih" } }, "BillPaymentStateEnum": { "type": "string", "enum": [ "processed", "canceled", "pending", "returned" ], "x-stoplight": { "id": "nfluwrqa5rysj" } } }, "securitySchemes": { "oauth2": { "type": "oauth2", "flows": { "authorizationCode": { "authorizationUrl": "/v2/oauth/authorize/", "tokenUrl": "/v2/oauth/token/", "refreshUrl": "/v2/oauth/token/", "scopes": { "introspection": "Permit introspection on a valid active bearer token.", "openid": "OpenID Connect scope", "offline_access": "Includes long-lived refresh token along with access token", "claudeai": "Authorizes access to Claude AI services.", "read": "View your banking data.", "write": "Update your data", "banking:accounts:read": "Can read account information.", "banking:transactions:read": "Can read transaction information.", "banking:scheduled_transfers:read": "Can read scheduled transfer information.", "banking:scheduled_transfers:write": "Can create and update scheduled transfers.", "banking:accounts:write": "Can update account information.", "banking:transactions:write": "Can update transaction information.", "banking:users:read": "Can read user profile information.", "banking:users:write": "Can update user profile information.", "banking:products:read": "Can read product information.", "banking:documents:read": "Can read user statements and documents.", "banking:documents:write": "Can create and download document archives.", "banking:support_schedules:read": "Can read institution schedule and Federal Reserve holiday information.", "banking:payees:read": "Can read bill pay payee information.", "banking:payees:write": "Can create, update, and delete bill pay payees.", "banking:payments:read": "Can read bill pay payment information.", "banking:payments:write": "Can create and delete bill pay payments.", "banking:deposits:read": "Can read deposit information.", "banking:deposits:write": "Can create and update deposits.", "banking:recipients:read": "Can read recipient information.", "banking:recipients:write": "Can create and update recipients.", "banking:subscriptions:read": "Can read webhook subscription information.", "banking:subscriptions:write": "Can create and update webhook subscriptions.", "banking:transfers:read": "Can read transfer information.", "banking:transfers:write": "Can create transfers.", "banking:wires:read": "Can read wire information.", "banking:wires:write": "Can create wires.", "profile": "Standard claim for extended user information", "email": "User registered email address", "write:preferences": "Read and write user preferences", "read:profile": "Access extended information about the user including address" } } } } } } } ````