API v1

API - Authorization - OAuth Scopes
List of Scopes | Scope                 | Description | | --------------------- | ----------- | | `account_read`        | Access to read accounts data....
Wed, 12 Dec, 2018 at 10:43 AM
Verify Webhook Authenticity - Create a signature
Verify a Webhook if from GoCoin with a unique signature To prevent vulnerability to an attacker sending a falsified webhook 1. Create a secret key, ...
Wed, 12 Dec, 2018 at 10:47 AM
Open Source options from GoCoin
GoCoin has several SDKs and Plugins available to assist in your integration with our API. They are all open source and provided as-is under the [Apache 2.0 ...
Wed, 12 Dec, 2018 at 11:10 AM
How long does it take before the ready_to_ship webhook is sent?
Generally our webhooks are sent immediately upon payment receipt or ready_to_ship state change. Occasionally there can be network disruptions, etc. beyond o...
Wed, 12 Dec, 2018 at 12:21 PM
Storing an Access Token
Storing your Access Token - Best Practices * Use Environment Variables if available * Store it in your database * Do Not commit it to source control. ...
Wed, 12 Dec, 2018 at 12:31 PM
Obtaining an Access Token
The GoCoin API uses OAuth 2.0 for authentication. All requests to the API require an access token. There are two ways to obtain an access token: 1. Obta...
Wed, 12 Dec, 2018 at 12:34 PM
API Keys (from the GoCoin Dashboard)
Click the "Integrations tab in the merchant dashboard and then the "Simple" tab Here you will find your merchant id and the API key generato...
Wed, 12 Dec, 2018 at 12:37 PM
Creating an invoice via API
Invoice::Create An Invoice is the name (Class) given to a request for payment within GoCoin. As discussed [here](http://help.gocoin.com/kb/setup-integra...
Wed, 12 Dec, 2018 at 12:39 PM
Creating a bill via API
When should I create a bill and not a standard invoice? * When you want the customer to choose the payment method * When you want to prevent the expira...
Wed, 12 Dec, 2018 at 12:41 PM
Invoice states via API
Invoice State Machine |State| Sent as | Description | |----|----|-----| |Billed| "billed" | A request for payment has been made, but a pa...
Wed, 12 Dec, 2018 at 12:43 PM