Skip to content

Latest commit

 

History

History
64 lines (39 loc) · 1.38 KB

README.md

File metadata and controls

64 lines (39 loc) · 1.38 KB

@swedbank-pay/sdk

@swedbank-pay/sdk

Index

Classes

Interfaces

Type aliases

Variables

Type aliases

PurchaseInput

Ƭ PurchaseInput: Omit‹PaymentOrderRequestResource, "operation"›

Variables

Const examplePrice

examplePrice: Price[] = [ { type: 'CreditCard', amount: 1500, vatAmount: 0, }, ]


Const genericResourceScope

genericResourceScope: Scope‹› = nock('https://api.payex.com') .get('/generic-resource') .reply(200)


Const runOperationScope

runOperationScope: Scope‹› = nock('https://api.payex.com') .get('/test') .reply(200)


Const testScope

testScope: Scope‹› = nock('https://api.payex.com') .get('/test-resource') .reply(200, PaymentResponse)