Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@unit-finance/unit-node-sdk",
"version": "1.1.0",
"name": "@highbeam/unit-node-sdk",
"version": "1.2.6",
"description": "",
"main": "dist/unit.js",
"types": "dist/unit.d.ts",
Expand Down
4 changes: 4 additions & 0 deletions resources/receivedPayments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ export class ReceivedPayments extends BaseResource {
return this.httpPost<UnitResponse<AchReceivedPayment>>(`/${id}/advance`)
}

public async reprocess(id: string): Promise<UnitResponse<AchReceivedPayment>> {
return this.httpPost<UnitResponse<AchReceivedPayment>>(`/${id}/reprocess`)
}

/**
* @param include
* Optional. A comma-separated list of related resources to include in the response.
Expand Down
2 changes: 1 addition & 1 deletion types/payments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export interface WirePayment {
relationships: BasePaymentRelationships
}

export type ReceivedPaymentStatus = "Pending" | "Advanced" | "Completed" | "Returned"
export type ReceivedPaymentStatus = "Pending" | "Advanced" | "Completed" | "Returned" | "PendingReview" | "MarkedForReturn"

export interface AchReceivedPayment {
/**
Expand Down
4 changes: 2 additions & 2 deletions types/transactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -631,9 +631,9 @@ export type WireTransaction = BaseTransaction & {
counterparty: Counterparty

/**
* Description of the transaction as entered by the originator. Also known as OBI or “Originator to Beneficiary Information”.
* Optional. Description of the transaction as entered by the originator.
*/
description: string
description?: string

/**
* Originator To Beneficiary Information, multi-line string delimited by \n.
Expand Down
Loading