Creating Transactions

When creating a transaction, certain restrictions must be met to ensure its success:

  • The source account must have sufficient funds to cover the transaction amount and any fees if they are not deducted from the transaction amount.
  • All accounts involved in the transaction must have ACTIVE status.
  • The currency used in the transaction must be globally active and enabled.
  • The merchant must not have any restrictions specific to the type of transaction being created.

Types of Transactions

TRANSFER

A transfer transaction is used to move funds between two accounts within the system.

Requirements:

  • Both the source and destination accounts must be specified in the request.
  • Both accounts must operate in the same currency.

PAYIN

A payin transaction adds funds to an account within the system from an external source.

EXTERNAL PAYIN

An external payin transaction is used to move funds from an OpenPayd account to OP Digital account.

Requirements:

  • A valid sender external ID must be provided
  • A valid account inside the platform must be provided

EXTERNAL PAYOUT

An external payout transaction is used to move funds from an OP Digital account to OpenPayd account.

Requirements:

  • A valid beneficiary external ID must be provided
  • A valid account inside the platform must be provided

PAYOUT

A payout transaction moves funds from the system to an external beneficiary.

Requirements:

  • A valid beneficiary must be provided, detailing where the funds will be sent.
  • The account from which the funds will be deducted must be specified.

EXCHANGE (SELL)

An exchange transaction converts funds from one currency to another.

Requirements:

  • The type of exchange (SELL) must be specified.
  • The transaction amount, source account, and target account must be included in the request.
  • The source account must not have any other active transactions.