Payabli Funding API
The Funding API from Payabli — 1 operation(s) for funding.
The Funding API from Payabli — 1 operation(s) for funding.
openapi: 3.1.0
info:
title: API reference Bill Funding API
version: 1.0.0
servers:
- url: https://api-sandbox.payabli.com/api
description: Sandbox
- url: https://api.payabli.com/api
description: Production
tags:
- name: Funding
paths:
/Funding/depositFunds:
post:
operationId: DepositFunds
summary: Deposit funds
description: Deposits funds into a paypoint's available payout balance. Deposited funds enter a pending state and aren't available for instant payouts until confirmed through FBO reconciliation.
tags:
- Funding
parameters:
- name: Authorization
in: header
description: 'OAuth2 Bearer access token from the client-credentials flow. See [OAuth authentication](/developers/oauth-authentication).
'
required: true
schema:
type: string
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/DepositFundsResponse'
'400':
description: Bad request / invalid data.
content:
application/json:
schema:
$ref: '#/components/schemas/PayabliErrorBody'
'401':
description: Unauthorized request.
content:
application/json:
schema:
$ref: '#/components/schemas/PayabliErrorBody'
'500':
description: Internal server error.
content:
application/json:
schema:
$ref: '#/components/schemas/PayabliErrorBody'
'503':
description: Database connection error.
content:
application/json:
schema:
$ref: '#/components/schemas/PayabliErrorBody'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/DepositFundsBody'
components:
schemas:
DepositFundsBody:
type: object
properties:
amount:
type: number
format: double
description: The amount to deposit, in dollars. Must be greater than zero.
entrypoint:
$ref: '#/components/schemas/Entrypointfield'
description: The entry point identifier for the paypoint receiving the deposit.
accountId:
type: string
description: The remittance account ID to withdraw funds from.
paypointId:
$ref: '#/components/schemas/PaypointId'
description: The paypoint ID. Optional if the entry point uniquely identifies the paypoint.
sameDayAch:
type: boolean
description: When `true` and the request is submitted before 2 PM ET, the deposit processes as same-day ACH. If the request is submitted after 2 PM ET, it processes as standard ACH regardless of this flag.
required:
- amount
- entrypoint
- accountId
description: Request body for depositing funds into a paypoint's available payout balance.
title: DepositFundsBody
PaypointId:
type: integer
format: int64
description: The paypoint's ID. Note that this is different than the entryname.
title: PaypointId
PayabliErrorBody:
type: object
properties:
isSuccess:
type: boolean
description: Always `false` for error responses.
responseCode:
type: integer
description: 'Code for the response. Learn more in
[API Response Codes](/developers/api-reference/api-responses).
'
responseText:
type: string
description: Error text describing what went wrong.
responseData:
$ref: '#/components/schemas/PayabliErrorBodyResponseData'
description: Object with detailed error context.
required:
- isSuccess
- responseText
description: 'Shape returned by every Payabli API error response. The `responseData`
object carries human-readable error context.
'
title: PayabliErrorBody
PayabliErrorBodyResponseData:
type: object
properties:
explanation:
type: string
description: Human-readable explanation of what happened.
todoAction:
type: string
description: Suggested resolution.
description: Object with detailed error context.
title: PayabliErrorBodyResponseData
Responsedata:
type: object
additionalProperties:
description: Any type
description: The object containing the response data.
title: Responsedata
DepositFundsResponse:
type: object
properties:
isSuccess:
$ref: '#/components/schemas/IsSuccess'
responseText:
$ref: '#/components/schemas/ResponseText'
responseData:
oneOf:
- $ref: '#/components/schemas/Responsedata'
- type: 'null'
description: The object containing the response data.
pageIdentifier:
oneOf:
- $ref: '#/components/schemas/PageIdentifier'
- type: 'null'
description: Auxiliary validation used internally by payment pages and components.
required:
- responseText
- responseData
- pageIdentifier
description: Response for a deposit funds request.
title: DepositFundsResponse
Entrypointfield:
type: string
description: The entrypoint identifier.
title: Entrypointfield
ResponseText:
type: string
description: 'Response text for operation: ''Success'' or ''Declined''.
'
title: ResponseText
PageIdentifier:
type: string
description: Auxiliary validation used internally by payment pages and components.
title: PageIdentifier
IsSuccess:
type: boolean
description: 'Boolean indicating whether the operation was successful. A `true` value
indicates success. A `false` value indicates failure.
'
title: IsSuccess
securitySchemes:
BearerAuth:
type: http
scheme: bearer
description: 'OAuth2 Bearer access token from the client-credentials flow. See [OAuth authentication](/developers/oauth-authentication).
'
APIKeyAuth:
type: apiKey
in: header
name: requestToken
description: 'Long-lived API token sent in the `requestToken` header. See [API token authentication](/developers/api-tokens).
'