404 error while creating invoice

Receiving a 404 when creating an invoice is usually caused by having the incorrect merchant id.

Your Merchant_ID can be found in the URL of your dashboard.

Alt text

When posting an invoice:

EXAMPLE

Create a new invoice.
POST https://api.gocoin.com/api/v1/merchants/(YOUR_ID_GOES_HERE)/invoices
Headers:
Accept: application/json
Content-Type: application/json
Authorization: Bearer (YOUR API KEY HERE)

ACTUAL INVOICE

Create a new invoice.
POST https://api.gocoin.com/api/v1/merchants/796d5754-40ca-414d-b3e8-dae...
Headers:
Accept: application/json
Content-Type: application/json
Authorization: Bearer 0574d8c8adb333b9a8df33bbc36ba044ceda051b93aafa3464d58dc40d94bf4c