Skip to main content

List Merchant Notifications

GET 

/notifications

This method is used by merchants to retrieve a list of created notifications. One request contains 100 notification results.

Request

Header Parameters

    Content-Type stringrequired

    Must be application/json

    Accept-Language stringrequired

    Must be be en-US

    Origin stringrequired

    The origin of the request

    User-Agent stringrequired

    The client making the request

Responses

Successful response

Schema

    nextPointer uuid

    The pointer to the next list of available queries. Contains the notificationId of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request. If nextPointer is empty, then the last page of results has been processed and there is no more data to be retrieved.

    results

    object[]

  • Array [

  • id uuid

    The notification identifier.

    createdAt date-time

    Time of the creation in ISO format.

    merchantKey uuid

    Possible values: <= 36 characters

    Merchant identifier.

    httpCode string

    Possible values: [processing, error, done]

    An HTTP Code, which will be populated from the notification service based on the result of the webhook.

    status string

    Possible values: [processing, error, done]

    Status of the notification processing. It will be updated by the notification result job based on the result of the processing within the notification service. Possible values are:

    • processing - used when the notification is submitted to the SQS service and is waiting for a reply from the notification service.
    • error - the processing of the notification failed within notification service and NOTHING IS SENT to the merchant
    • done - notification is successfully processed in the notification service. In order to understand if it was delivered, check the httpCode along with message for additional details.
    message string

    This property contains monitoring information for administrative purposes. It can contain processing errors, merchant response or exceptions. Not sent to merchants.

    sourceSystem string

    Possible values: [smartpay, network-token-connector]

    The source system of the notifications.

    origin string

    Possible values: [api, widget, automated]

    Source system that is sending the notification.

    eventType string

    Possible values: [updated, created, deleted, status.updated, billing.expires, billing.updated, billing.scheduled]

    Type of the event.

    objectId uuid

    ID of the referenced object

    objectType string

    Possible values: [subscription, subscription-plan, billing-cycle, payment-series, transactions, manual-retry, network-token]

    Type of the event, mainly differentiating between "refund" and other transaction status changes under "payment". "prepayment" type provides prepayment specific status changes.

    metadata

    object

    Object that is empty for all events for subscription module.

    transactionId integernullable

    Possible values: <= 36 characters

    Unique Identifier of the transaction.

    reconciliationId integernullable

    Possible values: <= 64 characters

    Merchant-defined identifier used for internal reconciliation process.

    context string

    Possible values: <= 10000 characters

    This is the request body for api and widget events.

    data object

    Data of the object.

  • ]

Loading...