---
updatedAt: 2025-07-20T08:39:33.000Z
agentTools:
  projectIndex: https://rivhit-api.readme.io/llms.txt
---

# Charge Pending

### How to charge a pending sale

## Payment page

### Charge with changes (Different customer details or amount)

> [SaleChargeToken](https://rivhit-api.readme.io/reference/post_api-paymentpagerequest-svc-salechargetoken#/) method

<br />

This option will give a full flexibility for the charge, in this case all customer details and order info will need to be saved on the server side after the J5 is created so it can be sent again with the relevant changes in the charge of the J5.

> 🚧 Values should be saved in advanced on the server side after the pending sale was created - will return in [IPN](https://rivhit-api.readme.io/docs/ipn-webhook#/) array/[SaleDetails ](https://rivhit-api.readme.io/reference/post_api-paymentpagerequest-svc-saledetails#/) method response.

Send in request parameters:

`'SaleType' = 1`

Send value 1 for Immediate transaction in order to charge the pending sale.

<br />

`'J5CustomerTransactionId'`

Send the Original pending sale CustomerTransactionId.

> Will return as value '**CustomerTransactionId**' - after the pending sale creation in [IPN](https://rivhit-api.readme.io/docs/array-values#/) array or [SaleDetails ](https://rivhit-api.readme.io/reference/post_api-paymentpagerequest-svc-saledetails#/) method with all the other sale information.

<br />

`'AuthNum'`

Send the approval number of the credit card company.

> Will return as value '**TransactionAuthNum**' - after the pending sale creation in [IPN](https://rivhit-api.readme.io/docs/array-values#/) array or [SaleDetails ](https://rivhit-api.readme.io/reference/post_api-paymentpagerequest-svc-saledetails#/) method with all the other sale information.

<br />

`'CreditCardToken'`

Send the original pending sale credit card token.

> Will return as value '**TransactionToken**' - after the pending sale creation in [IPN](https://rivhit-api.readme.io/docs/array-values#/) array or [SaleDetails ](https://rivhit-api.readme.io/reference/post_api-paymentpagerequest-svc-saledetails#/) method with all the other sale information.

<br />

#### iCredit Reports After Success Charge

New line of the charge will be added in iCredit management sales report and appear after the existing line of the pending sale.

**Sales Report (דו"ח מכירות)**

<Image align="center" className="border" border={true} src="https://files.readme.io/c80f2856b3dab791dc4661725ad9ae42e50be6497b996069bbd84a14f42a3094-image.png" />

**Transactions report (דו"ח עסקאות)**

<Image align="center" className="border" border={true} src="https://files.readme.io/a39d4dbc7e0adef1243a6ae302073bee8af1cafe7b200d044b89f04ede4bdcca-image.png" />

<br />

### Charge without changes

> [ChargePendingSale]() method

A simple and quick option of a J5 charge, in this case only the Sale identifier will need to be saved on the server side.

> 🚧 Values should be saved in advanced on the server side after the pending sale was created - will return in [IPN](https://rivhit-api.readme.io/docs/ipn-webhook#/) array/[SaleDetails ](https://rivhit-api.readme.io/reference/post_api-paymentpagerequest-svc-saledetails#/) method response.

Send **one of** the original sale identifiers in the request:

`'SaleId'`

### or

`'SalePrivateToken'`

> Will return after the pending sale creation in [IPN](https://rivhit-api.readme.io/docs/array-values#/) array or [SaleDetails ](https://rivhit-api.readme.io/reference/post_api-paymentpagerequest-svc-saledetails#/) method with all the other sale information.

<br />

#### iCredit Reports After Success Charge

The existing line of the pending sale will be changed from status pending (ממתינה) to paid (חויבה).

**Sales Report (דו"ח מכירות)**

![](https://files.readme.io/f78f1dcb1eeba1182a8820f69309c42496e184dc7e2085446d0379e3a6d097ce-image.png)

**Transactions report (דו"ח עסקאות)**

<Image align="center" className="border" border={true} src="https://files.readme.io/a39d4dbc7e0adef1243a6ae302073bee8af1cafe7b200d044b89f04ede4bdcca-image.png" />

<br />

## Direct Payment

> [ChargeSimple/Full](https://rivhit-api.readme.io/reference/post_api-icreditrestapiservice-svc-chargesimple-full#/) method
>
> <br />

The direct option will allow full flexibility and sending different information to the pending charge.

> 🚧 Values should be saved in advanced on the server side after the pending sale was created - info will return in ChargeSimple/Full response.

Send request parameters:

`'ParamJ = 0'`

Send 0 for immediate sale (or not send the parameter at all)

<br />

`'J5CustomerTransactionId'`

Send the original CustomerTransactionId

> Will return as value '**CustomerTransactionId**' - after the pending sale creation in [ChargeSimple/Full](https://rivhit-api.readme.io/reference/post_api-icreditrestapiservice-svc-chargesimple-full#/) method response with all the other sale information.

<br />

`'AuthNum'`

Send the approval number of the credit card company (returned in the pending sale details)

> Will return as value '**AuthNum**' - after the pending sale creation in [ChargeSimple/Full](https://rivhit-api.readme.io/reference/post_api-icreditrestapiservice-svc-chargesimple-full#/) method response with all the other sale information.

<br />

`'Token'`

Send the original pending sale credit card token.

> Will return as value '**Token**' - after the pending sale creation in [ChargeSimple/Full](https://rivhit-api.readme.io/reference/post_api-icreditrestapiservice-svc-chargesimple-full#/) method response with all the other sale information.

<br />

#### iCredit Reports After Success Charge

**Transactions report (דו"ח עסקאות)**

<Image align="center" className="border" border={true} src="https://files.readme.io/a39d4dbc7e0adef1243a6ae302073bee8af1cafe7b200d044b89f04ede4bdcca-image.png" />