From f223712f9d1599bc14b3d4095f1b87f823c1d880 Mon Sep 17 00:00:00 2001 From: tom-blake <46909693+tom-blake@users.noreply.github.com> Date: Sat, 30 Nov 2024 07:42:08 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=207a1f5?= =?UTF-8?q?18332c6c0aa9d02eec554a7cac5c86846d6=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 404.html | 2 +- api/account-memberships/index.html | 2 +- api/accounts/index.html | 2 +- api/api-keys/index.html | 6 ++-- api/asset-activities/index.html | 6 ++-- api/asset-transfers/index.html | 6 ++-- api/asset-types/index.html | 2 +- api/assets/index.html | 6 ++-- api/auth/index.html | 2 +- api/bank-account-approvals/index.html | 2 +- .../index.html | 2 +- api/bank-accounts/index.html | 2 +- .../farmlands-external-asset/index.html | 2 +- api/batch-types/ticketek-ticket/index.html | 2 +- .../verifone-terminal-status/index.html | 2 +- api/batches/index.html | 2 +- api/businesses/index.html | 2 +- api/centrapay-event-types/index.html | 2 +- api/data-types/index.html | 2 +- api/events/index.html | 2 +- api/funds-transfers/index.html | 2 +- api/http-status-codes/index.html | 2 +- api/integration-requests/index.html | 2 +- api/integrations/index.html | 2 +- api/introduction/index.html | 2 +- api/invitations/index.html | 6 ++-- api/legacy-payment-requests/index.html | 2 +- api/loyalty-program-memberships/index.html | 2 +- api/loyalty-programs/index.html | 2 +- api/managed-integrations/index.html | 2 +- api/media-uploads/index.html | 6 ++-- api/merchant-configs/index.html | 6 ++-- api/merchants/index.html | 2 +- api/object-ids/index.html | 2 +- api/pagination/index.html | 2 +- api/patron-codes/index.html | 2 +- api/payment-requests/index.html | 2 +- api/profiles/index.html | 6 ++-- api/promotion-memberships/index.html | 2 +- api/promotions/index.html | 2 +- api/quotas/index.html | 2 +- api/scanned-codes/index.html | 2 +- api/settlements/index.html | 2 +- api/tokens/index.html | 2 +- api/wallets/index.html | 6 ++-- connections/farmlands/index.html | 2 +- guides/compatible-devices/index.html | 2 +- guides/creating-digital-tokens/index.html | 2 +- guides/creating-test-money/index.html | 2 +- guides/ecommerce-website/index.html | 2 +- guides/example-oidc-consumer/index.html | 29 +++++---------- .../farmlands-card-partner-support/index.html | 2 +- guides/farmlands-portal/index.html | 2 +- guides/farmlands-pos-integration/index.html | 2 +- guides/initiating-refunds/index.html | 2 +- .../integrating-third-party-asset/index.html | 2 +- guides/line-items/index.html | 24 ++----------- guides/loyalty-programs/index.html | 2 +- .../index.html | 2 +- .../index.html | 24 ++----------- .../index.html | 2 +- guides/partial-payment-extension/index.html | 2 +- guides/patron-not-present/index.html | 2 +- guides/payment-conditions/index.html | 2 +- guides/payment-flows/index.html | 2 +- guides/payment-terminals/index.html | 36 ++----------------- guides/point-of-sale/index.html | 26 ++------------ guides/requesting-payment/index.html | 2 +- guides/requesting-pre-auth/index.html | 2 +- .../index.html | 2 +- guides/transaction-reporting/index.html | 2 +- guides/transferring-assets/index.html | 2 +- index-data.json | 2 +- index.html | 2 +- 74 files changed, 103 insertions(+), 210 deletions(-) diff --git a/404.html b/404.html index df6b741c6..e11e561b0 100644 --- a/404.html +++ b/404.html @@ -15,7 +15,7 @@
Request
curl -X POST \
https://service.centrapay.com/api/accounts/Jaim1Cu1Q55uooxSens6yk/api-keys \
-H 'content-type: application/json' \
-H 'x-api-key: <TOKEN>' \
-d '
{
"name": "MyAPIkey",
"role": "merchant-terminal"
}
'
Response
{
"name": "MyAPIkey",
"createdAt": "2020-06-01T22:32:56.631Z",
"createdBy": "crn:WIj211vFs9cNACwBb04vQw:api-key:AdminKey",
"modifiedAt": "2020-06-01T22:32:56.631Z",
"modifiedBy": "crn:WIj211vFs9cNACwBb04vQw:api-key:AdminKey",
"enabled": true,
"role": "merchant-terminal",
"accountId": "Jaim1Cu1Q55uooxSens6yk",
"version": "1",
"secret": "EoaEL7skkedBBy9MzrBSyxG95vUAKjYkiFvWEfiAx"
}

-
GET /api/accounts/{accountId}/api-keys

This endpoint allows you to list all API Keys for an Account.

Request
curl -X GET \
https://service.centrapay.com/api/accounts/Jaim1Cu1Q55uooxSens6yk/api-keys \
-H 'x-api-key: <TOKEN>'
Response
[
{
"accountId": "Jaim1Cu1Q55uooxSens6yk",
"name": "MyOtherAPIkey",
"createdAt": "2020-06-01T21:57:25.888Z",
"createdBy": "crn:WIj211vFs9cNACwBb04vQw:api-key:AdminKey",
"modifiedAt": "2020-06-01T21:57:25.888Z",
"modifiedBy": "crn:WIj211vFs9cNACwBb04vQw:api-key:AdminKey",
"enabled": false,
"version": "1",
"role": "merchant-terminal"
},
{
"accountId": "Jaim1Cu1Q55uooxSens6yk",
"name": "MyAPIkey",
"createdAt": "2020-06-01T22:34:31.308Z",
"createdBy": "crn:WIj211vFs9cNACwBb04vQw:api-key:AdminKey",
"modifiedAt": "2020-06-01T22:34:31.308Z",
"modifiedBy": "crn:WIj211vFs9cNACwBb04vQw:api-key:AdminKey",
"enabled": true,
"version": "1",
"role": "merchant-terminal"
}
]
+
GET /api/accounts/{accountId}/api-keys

This endpoint allows you to list all API Keys for an Account.

Request
curl -X GET \
https://service.centrapay.com/api/accounts/Jaim1Cu1Q55uooxSens6yk/api-keys \
-H 'x-api-key: <TOKEN>'
Response
[
{
"accountId": "Jaim1Cu1Q55uooxSens6yk",
"name": "MyOtherAPIkey",
"createdAt": "2020-06-01T21:57:25.888Z",
"createdBy": "crn:WIj211vFs9cNACwBb04vQw:api-key:AdminKey",
"modifiedAt": "2020-06-01T21:57:25.888Z",
"modifiedBy": "crn:WIj211vFs9cNACwBb04vQw:api-key:AdminKey",
"enabled": false,
"version": "1",
"role": "merchant-terminal"
},
{
"accountId": "Jaim1Cu1Q55uooxSens6yk",
"name": "MyAPIkey",
"createdAt": "2020-06-01T22:34:31.308Z",
"createdBy": "crn:WIj211vFs9cNACwBb04vQw:api-key:AdminKey",
"modifiedAt": "2020-06-01T22:34:31.308Z",
"modifiedBy": "crn:WIj211vFs9cNACwBb04vQw:api-key:AdminKey",
"enabled": true,
"version": "1",
"role": "merchant-terminal"
}
]

PUT /api/accounts/{accountId}/api-keys/{apiKeyName}

This endpoint allows you to enable or disable an API key.

Attributes

Request
curl -X GET \
https://service.centrapay.com/api/assets/WRhAxxWpTKb5U7pXyxQjjY/transactions \
-H 'x-api-key: <TOKEN>'
Response
{
"items": [
{
"ref": "adRGJqMyMhmGfnDXasRZ",
"type": "transfer",
"kind": "refund",
"refType": "payment-request",
"assetId": "WRhAxxWpTKb5U7pXyxQjjY",
"srcParty": "Coffee Ltd",
"destParty": "crn::user:5a3b1ba7-d01k-409f-ld0a-jd81k0ald",
"createdAt": "2022-03-31T20:36:08.562Z",
"createdBy": "crn::service:payments-api",
"srcAssetId": "Jd9a89ZESjjCuUD9DJD9Al",
"destAssetId": "WRhAxxWpTKb5U7pXyxQjjY",
"amount": "2000",
"activityType": "value-in",
"activityNumber": "3"
},
{
"ref": "adRGJqMyMhmGfnDXasRZ",
"type": "transfer",
"kind": "payment",
"refType": "payment-request",
"assetId": "WRhAxxWpTKb5U7pXyxQjjY",
"srcParty": "crn::user:5a3b1ba7-d01k-409f-ld0a-jd81k0ald",
"destParty": "Coffee Ltd",
"createdAt": "2022-03-31T20:35:54.717Z",
"createdBy": "crn::service:payments-api",
"srcAssetId": "WRhAxxWpTKb5U7pXyxQjjY",
"destAssetId": "Jd9a89ZESjjCuUD9DJD9Al",
"amount": "3000",
"activityType": "value-out",
"activityNumber": "2"
},
{
"ref": "H4SZKwMcU9VCmnGEqDA7Mn",
"type": "increment-balance",
"kind": "topup",
"refType": "topup",
"assetId": "WRhAxxWpTKb5U7pXyxQjjY",
"createdAt": "2022-03-31T02:37:47.207Z",
"createdBy": "crn::application:rhea",
"destAssetId": "WRhAxxWpTKb5U7pXyxQjjY",
"amount": "7600",
"activityType": "value-in",
"activityNumber": "1"
}
]
}
+
GET /api/assets/{assetId}/transactions

Returns a paginated list of Asset Transactions. This endpoint is currently only supported for quartz asset types.

Request
curl -X GET \
https://service.centrapay.com/api/assets/WRhAxxWpTKb5U7pXyxQjjY/transactions \
-H 'x-api-key: <TOKEN>'
Response
{
"items": [
{
"ref": "adRGJqMyMhmGfnDXasRZ",
"type": "transfer",
"kind": "refund",
"refType": "payment-request",
"assetId": "WRhAxxWpTKb5U7pXyxQjjY",
"srcParty": "Coffee Ltd",
"destParty": "crn::user:5a3b1ba7-d01k-409f-ld0a-jd81k0ald",
"createdAt": "2022-03-31T20:36:08.562Z",
"createdBy": "crn::service:payments-api",
"srcAssetId": "Jd9a89ZESjjCuUD9DJD9Al",
"destAssetId": "WRhAxxWpTKb5U7pXyxQjjY",
"amount": "2000",
"activityType": "value-in",
"activityNumber": "3"
},
{
"ref": "adRGJqMyMhmGfnDXasRZ",
"type": "transfer",
"kind": "payment",
"refType": "payment-request",
"assetId": "WRhAxxWpTKb5U7pXyxQjjY",
"srcParty": "crn::user:5a3b1ba7-d01k-409f-ld0a-jd81k0ald",
"destParty": "Coffee Ltd",
"createdAt": "2022-03-31T20:35:54.717Z",
"createdBy": "crn::service:payments-api",
"srcAssetId": "WRhAxxWpTKb5U7pXyxQjjY",
"destAssetId": "Jd9a89ZESjjCuUD9DJD9Al",
"amount": "3000",
"activityType": "value-out",
"activityNumber": "2"
},
{
"ref": "H4SZKwMcU9VCmnGEqDA7Mn",
"type": "increment-balance",
"kind": "topup",
"refType": "topup",
"assetId": "WRhAxxWpTKb5U7pXyxQjjY",
"createdAt": "2022-03-31T02:37:47.207Z",
"createdBy": "crn::application:rhea",
"destAssetId": "WRhAxxWpTKb5U7pXyxQjjY",
"amount": "7600",
"activityType": "value-in",
"activityNumber": "1"
}
]
}

GET /api/asset-activities

Returns a paginated list of Asset Activities.

Query Parameters

Attributes

  • bankAccountId

    string

    The bankAccountId of the assets that activities should be returned for.

Request
curl -X GET \
https://service.centrapay.com/api/asset-activities \
-H 'x-api-key: <TOKEN>'
Response
{
"items": [
{
"ref": "C2kaVDzGaCpJLSbBfusu5W",
"type": "transfer",
"kind": "payment",
"refType": "payment-request",
"assetId": "ExVHwdGEFugJWVXWi4riNq",
"srcParty": "crn::user:46d42f1f-2816-4ce9-9781-fe93e8ebb0c6",
"destParty": "Dev Smoke Test Merchant",
"createdAt": "2023-11-28T21:18:40.583Z",
"accountId": "6QXN8cq8XVwEJeYe3XH9fe",
"createdBy": "crn::service:payments-api",
"srcAssetId": "ExVHwdGEFugJWVXWi4riNq",
"destAssetId": "WTNEcn8HHd2YgVsKRyvcPh",
"amount": "1",
"activityType": "value-out",
"activityNumber": "2",
"bankAccountId": "7GEDRsP9cyB9fScBziSmJa"
},
{
"ref": "9qyT2gthTt4Dv7AX5U1zkY",
"type": "transfer",
"kind": "payment",
"refType": "payment-request",
"assetId": "ExVHwdGEFugJWVXWi4riNq",
"srcParty": "crn::user:46d42f1f-2816-4ce9-9781-fe93e8ebb0c6",
"destParty": "Dev Smoke Test Merchant",
"createdAt": "2023-11-28T03:37:23.145Z",
"accountId": "6QXN8cq8XVwEJeYe3XH9fe",
"createdBy": "crn::service:payments-api",
"srcAssetId": "ExVHwdGEFugJWVXWi4riNq",
"destAssetId": "WTNEcn8HHd2YgVsKRyvcPh",
"amount": "1",
"activityType": "value-out",
"activityNumber": "3",
"bankAccountId": "7GEDRsP9cyB9fScBziSmJa"
},
{
"assetId": "WxPhZtcBsf19yXjo8gVv9Y",
"activityNumber": "1",
"createdAt": "2022-11-07T22:12:57.224Z",
"createdBy": "crn::application:rhea",
"activityType": "created",
"accountId": "6QXN8cq8XVwEJeYe3XH9fe",
"status": "active"
}
]
}