Account Information
- Pending Transfer Actions
NAR Registry Client API (1.0.0)
This API is used for retrieving and transacting NAR Monthly vintage certificates. APIs require an OAuth Authentication token. To create API credentials, see Creating an API Login.
- Generated server urlhttps://narenewables2.apx.com/ClientAPI/api/ledger/transfer
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://narenewables2.apx.com/ClientAPI/api/ledger/transfer?onBehalfOfAccountId=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"requests": [
{
"correlationId": "1",
"certificateSerialNumberRange": "NAR-REC-1234-CA-06-2024-555555-1 to 66",
"quantity": 55,
"transfereeId": "77"
}
]
}'{ "submissionId": "1", "responses": [ { … } ] }
- Generated server urlhttps://narenewables2.apx.com/ClientAPI/api/ledger/transfer/pending/action
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://narenewables2.apx.com/ClientAPI/api/ledger/transfer/pending/action?onBehalfOfAccountId=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"requests": [
{
"correlationId": "1",
"transferId": "5678",
"action": "CONFIRM",
"subaccountId": "77"
}
]
}'{ "submissionId": "1", "responses": [ { … } ] }
- Generated server urlhttps://narenewables2.apx.com/ClientAPI/api/ledger/subaccountTransfer
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://narenewables2.apx.com/ClientAPI/api/ledger/subaccountTransfer?onBehalfOfAccountId=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"requests": [
{
"correlationId": "1",
"certificateSerialNumberRange": "NAR-REC-1234-CA-06-2024-555555-1 to 66",
"quantity": "55",
"subaccountId": "77"
}
]
}'{ "submissionId": "1", "responses": [ { … } ] }
- Generated server urlhttps://narenewables2.apx.com/ClientAPI/api/ledger/retire
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://narenewables2.apx.com/ClientAPI/api/ledger/retire?onBehalfOfAccountId=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"requests": [
{
"correlationId": "1",
"certificateSerialNumberRange": "NAR-REC-1234-CA-06-2024-555555-1 to 66",
"quantity": "55",
"subaccountId": "77",
"isPublic": true,
"retirementTypeCode": "GRN",
"retirementReasonCode": "22",
"countrySubdivisionCode": "CA",
"retirementYear": 2024,
"notificationName": "John Doe",
"notificationEmail": "jdoe@acmecorp.com",
"additionalDetails": "Voluntary Retirement for Acme Corp.",
"retirementCertificateType": "SINGLE"
}
]
}'{ "submissionId": "1", "responses": [ { … } ] }
- Generated server urlhttps://narenewables2.apx.com/ClientAPI/api/ledger/holding
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://narenewables2.apx.com/ClientAPI/api/ledger/holding?accountIds=string&vintageStart=2019-08-24T14%3A15%3A22Z&vintageEnd=2019-08-24T14%3A15%3A22Z&subaccountTypeCode=string&%24filter=string&%24orderby=string&%24skip=0&%24top=0&%24apply=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Success
The name of the beneficial owner of a retirement
The email address of the beneficial owner of a retirement
The certificate serial number range
The certificate status - Active, Pending, Retired
The country to which resource belongs as an ISO-2 code
The fuel type code: see documentation for possible values
The date the holding was retired
Additional retirement details
The retirement reason code: see documentation for possible values
The retirement reason description
The State chosen for the retirement. (ISO 3166-2 code)
The retirement type code: see documentation for possible values
The retirement type description: see documentation for possible values
The subaccount type code: see documentation for possible values
The vintage month (rendered as an ISO-8601 date)
{ "@count": 0, "value": [ { … } ], "totalCount": 0, "countExceeded": true }
- Generated server urlhttps://narenewables2.apx.com/ClientAPI/api/ledger/transfer/pending
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://narenewables2.apx.com/ClientAPI/api/ledger/transfer/pending?accountIds=string&direction=I&%24filter=string&%24orderby=string&%24skip=0&%24top=0&%24apply=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Success
The certificate serial number range
The date the transfer was initiated
The transfer direction: I=Incoming, O=Outgoing
a comma-delimited list of eligibility codes: see documentation for possible values
The fuel type code: see documentation for possible values
State or Province that the resource is located in (ISO 3166-2 code)
{ "@count": 0, "value": [ { … } ], "totalCount": 0, "countExceeded": true }