Globagift Docs
API / Developers

Acceptance points

Tills, sites and apps that redeem cards, and their signing credentials.

List acceptance points

GET
/v1/acceptance-points

Authorization

bearerAuth
headerAuthorizationBearer <token>

A merchant API key (gg_...). Each key is limited to its granted scopes.

Response Body

Acceptance points

application/json
  1. response
data*array<>
Example Request
curl -X GET 'https://engine-sandbox.globagift.io/v1/acceptance-points'
Example Response
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string",      "channel": "store",      "status": "string"    }  ]}
POST
/v1/acceptance-points

Retries: not idempotent. After an unclear failure, read the current state before trying again.

Authorization

bearerAuth
headerAuthorizationBearer <token>

A merchant API key (gg_...). Each key is limited to its granted scopes.

Request Body

application/json
  1. body
name*string
Length1 <= length <= 120
channel*string
Value in"store""ecommerce""app"

Response Body

Acceptance point created

application/json
  1. response
id?string
name?string
channel?string
status?string
Example Request
curl -X POST 'https://engine-sandbox.globagift.io/v1/acceptance-points' \  -H 'Content-Type: application/json' \  -d '{  "name": "string",  "channel": "store"}'
Example Response
{  "id": "string",  "name": "string",  "channel": "string",  "status": "string"}
POST
/v1/acceptance-points/{id}/credentials

Retries: not idempotent. After an unclear failure, read the current state before trying again.

Authorization

bearerAuth
headerAuthorizationBearer <token>

A merchant API key (gg_...). Each key is limited to its granted scopes.

Path Parameters

id*string

Response Body

Credential issued

application/json
  1. response
id?string
secret?string
Example Request
curl -X POST 'https://engine-sandbox.globagift.io/v1/acceptance-points/string/credentials'
Example Response
{  "id": "string",  "secret": "string"}
DELETE
/v1/acceptance-points/{id}/credentials/{credential_id}

Retries: not idempotent. After an unclear failure, read the current state before trying again.

Authorization

bearerAuth
headerAuthorizationBearer <token>

A merchant API key (gg_...). Each key is limited to its granted scopes.

Path Parameters

id*string
credential_id*string

Response Body

Revoked

Example Request
curl -X DELETE 'https://engine-sandbox.globagift.io/v1/acceptance-points/string/credentials/string'
Example Response
Empty