Create a payment Check out the docs for more info
Direction of the order, from the current user's perspective.
ID of the order.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Create a payment transaction Check out the docs for more info
Direction of the order, from the current user's perspective.
ID of the order.
ID of the payment.
Required fields: Type, DateExecuted
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Delete a payment Check out the docs for more info
Direction of the order, from the current user's perspective.
ID of the order.
ID of the payment.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Delete a payment transaction Check out the docs for more info
Direction of the order, from the current user's perspective.
ID of the order.
ID of the payment.
ID of the transaction.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Retrieve a payment Check out the docs for more info
Direction of the order, from the current user's perspective.
ID of the order.
ID of the payment.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
List payments Check out the docs for more info
Direction of the order, from the current user's perspective.
ID of the order.
Optionalfilters?: FiltersAn object or dictionary representing key/value pairs to apply as filters. Valid keys are top-level properties of the returned model or 'xp.???'
Optionalpage?: numberPage of results to return. When paginating through many items (> page 30), we recommend the "Last ID" method, as outlined in the Advanced Querying documentation.
OptionalpageSize?: numberNumber of results to return per page.
Optionalsearch?: stringWord or phrase to search for.
OptionalsearchOn?: ("ID" | "Description")[]Comma-delimited list of fields to search on.
OptionalsortBy?: (Comma-delimited list of fields to sort by.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Partially update a payment PUT is not a supported method for payments due to the implications associated with modifying certain properties. Patch is only permitted on certain properties that vary depending on order status Check out the docs for more info
Direction of the order, from the current user's perspective.
ID of the order.
ID of the payment.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Description
enables impersonation by calling the subsequent method with the stored impersonation token
Example