GET /api/v2/credits/history
Grab a list of the most recent 100 credit transactions associated with this vendor account. Transactions that add to your credit will are positive, and transactions that use up your credit (i.e., to pay for remittances) will be negative.
[ { "target_currency" : "PHP", "target_amount" : "1000.0", "balance" : "44000.0", "created_at" : "2016-09-07T09:53:02.686+08:00", "description" : null, "id" : 2, "invoice_address" : null, "item_id" : null, "item_type" : null, "partner_id" : "0a711ec2-aa0a-4249-a327-0dea6ecc2467", "rate" : "1.0", "source_amount" : "1000.0", "source_currency" : "PHP", "transaction_hash" : null, "updated_at" : "2016-09-07T09:53:02.686+08:00" }, { "target_currency" : "PHP", "target_amount" : "45000.0", "balance" : "45000.0", "created_at" : "2016-09-07T09:53:02.678+08:00", "description" : null, "id" : 1, "invoice_address" : null, "item_id" : null, "item_type" : null, "partner_id" : "0a711ec2-aa0a-4249-a327-0dea6ecc2467", "rate" : "45.0", "source_amount" : "1000.0", "source_currency" : "USD", "transaction_hash" : null, "updated_at" : "2016-09-07T09:53:02.678+08:00" } ]
Header name | Description |
---|---|
X-API-PARTNER-ID required |
Your organization's ID |
X-API-SECRET required |
API secret of your organization |