Sha256: f50169805a4d38c6097de523868b3a7c43043bcce6ef236c3a4d82e782a530f2

Contents?: true

Size: 599 Bytes

Versions: 2

Compression:

Stored size: 599 Bytes

Contents

## Adding information to charge's history

It is possible to add information to the history of a charge. These informations will be listed when [detailing a charge](https://github.com/gerencianet/gn-api-sdk-ruby/tree/master/docs/charge-detailing.md).

The process to add information to history is shown below:


```ruby
params = {
  id: 1253
}

body = {
  description: "Info that will be added to charges history"
}

gerencianet = Gerencianet.new(options)
gerencianet.create_charge_history(params: params, body: body)
```

If everything goes well, the return will be:

```ruby
{
  "code": 200
}
```

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gerencianet-0.0.7 docs/charge-create-history.md
gerencianet-0.0.6 docs/charge-create-history.md