Sha256: 6fa9c4bdd14a05784bce5584635e278e8c030b267ee54ce2c4286576fef25f42
Contents?: true
Size: 792 Bytes
Versions: 4
Compression:
Stored size: 792 Bytes
Contents
## Detailing charges It's very simple to get details from a charge. You just need the id: ```ruby params = { id: 1000 } gerencianet = Gerencianet.new(options) gerencianet.detail_charge(params: params) ``` As response, you will receive all the information about the charge (including if it belongs to a subscription or carnet): ```ruby { "code": 200, "data": { "charge_id": 233, "subscription_id": 12, "total": 2000, "status": "new", "custom_id": null, "created_at": "2015-05-14", "notification_url": "http://yourdomain.com", "items": [ { "name": "Product 1", "value": 1000, "amount": 2 } ], "history": [ { "status": "new", "created_at": "2015-05-14 15:39:14" } ] } } ```
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
gerencianet-0.0.5 | docs/charge-detailing.md |
gerencianet-0.0.4 | docs/charge-detailing.md |
gerencianet-0.0.3 | docs/charge-detailing.md |
gerencianet-0.0.2 | docs/charge-detailing.md |