Skip to main content

Subscribe to Transaction events

PUT 

/transaction-events/subscriptions/:eventSubscriptionId

Subscribe to Transaction events

Request

Path Parameters

    eventSubscriptionId stringrequired

    The unique id of this subscription, which can be used for unsubscribing later on.

Body

required

    id uuidrequired

    Unique id of the subscription

    callbackUrl urirequired

    callback url that will be called by server for every subscribed event

    eventTypes TransactionEventType (string)[]required

    Possible values: [TransactionDeclined, TransactionCancelled, TransactionCompleted], >= 1

    the list of event types to which subscriber would like to listen for

Responses

Subscription created

Schema

    id uuidrequired

    Unique id of the subscription

    callbackUrl urirequired

    callback url that will be called by server for every subscribed event

    eventTypes TransactionEventType (string)[]

    Possible values: [TransactionDeclined, TransactionCancelled, TransactionCompleted]

Loading...