From version 3.1
edited by David Persson
on 2019/12/16 11:33
To version 3.2
edited by David Persson
on 2019/12/16 11:40
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -6,12 +6,12 @@
6 6  )))
7 7  )))
8 8  
9 -== Authorizations ==
9 +== Offers ==
10 10  
11 11  ==== Get ====
12 12  
13 13  {{code language="http" title="**Request**"}}
14 -GET /ledger/credit-account-acquiring/v1/XXX/authorizations HTTP/1.1
14 +GET /ledger/credit-account-onboarding/v1/XXX/offers HTTP/1.1
15 15  Host: -
16 16  Authorization: Bearer <Token>
17 17  Content-Type: application/json
... ... @@ -20,20 +20,34 @@
20 20  ==== Post ====
21 21  
22 22  {{code language="http" title="**Request**"}}
23 -POST /ledger/credit-account-acquiring/v1/XXX/authorizations HTTP/1.1
23 +POST /ledger/credit-account-onboarding/v1/XXX/offers HTTP/1.1
24 24  Host: -
25 25  Authorization: Bearer <Token>
26 26  Content-Type: application/json
27 27  
28 -{
29 - "sellerAuthorizationTransactionId": "789",
30 - "sellerNumber": "654",
31 - "cardToken": "5646735165",
32 - "accountToken": null,
33 - "description": "stora coop visby",
34 - "validToDate": "2019-11-28",
35 - "authorizationAmount": 300.0,
36 - "currency": "SEK",
28 +{
29 + "accountProfile" : "Kontotyp-1000",
30 + "title" : "Konto 1,000",
31 + "currency" : "NOK",
32 + "creditLimit" : 1000.00,
33 + "interestFreePurchaseMonth" : true|false,
34 + "monthlyAdminFee" : 35.00,
35 + "reminderFee" : 35.00,
36 + "interest" : 35.00,
37 + "termsAndConditions" :
38 + {
39 + "standardEuropeeanAgreements" : "https://www.payex.com/term-and-conditions/no/-----.pdf",
40 + "accountTerms" : "https://www.payex.com/term-and-conditions/no/-----.pdf"
41 + },
42 + "@id" : "/ledger/credit-account-onboarding/v1/501/offers/Kontotyp-1000",
43 + "operations" :
44 + [
45 + {
46 + "title" : "apply-for-account",
47 + "href" : "/ledger/credit-account-onboarding/v1/501/offers/kontotyp-1000/applications",
48 + "action" : "post"
49 + }
50 + ]
37 37  }
38 38  {{/code}}
39 39  
... ... @@ -44,33 +44,33 @@
44 44  Content-Type: application/json
45 45  
46 46  {
47 - "sellerAuthorizationTransactionId": "789",
48 - "authorizationId": 123,
49 - "sellerNumber": "654",
50 - "cardToken": "546415646315",
51 - "accountToken": null,
52 - "description": "Testshop",
53 - "validToDate": "2019-11-28",
54 - "authorizationAmount": 300.0,
55 - "remainingAmount" : 150.0,
56 - "currency": "SEK",
57 - "@id": "/ledger/credit-account-acquiring/v1/501/authorizations/123",
58 - "captures": "/ledger/credit-account-acquiring/v1/501/authorizations/123/captures",
59 - "cancellations": "/ledger/credit-account-acquiring/v1/501/authorizations/123/cancellations",
60 - "schemaUri": "/ledger/invoice-purchase/v1/PayEx.AR.InvoicePurchase.Api.Resources.Authorizations.Resource",
61 - "parentHREF": "/",
62 - "operations": [
63 - {
64 - "rel": "create-capture",
65 - "method": "post",
66 - "href": "/ledger/credit-account-acquiring/v1/501/authorizations/123/captures"
67 - },
68 - {
69 - "rel": "create-cancellation",
70 - "method": "post",
71 - "href": "/ledger/credit-account-acquiring/v1/501/authorizations/123/cancellations"
72 - }
73 - ]
61 + "@id" : "/ledger/credit-account-onboarding/v1/501/offers",
62 + "offers" : [
63 + {
64 + "accountProfile" : "kontotyp-1000",
65 + "title" : "kontotyp 1,000",
66 + "currency" : "NOK",
67 + "creditLimit" : 1000.00,
68 + "interestFreePurchaseMonth" : true|false,
69 + "monthlyAdminFee" : 35.00,
70 + "reminderFee" : 35.00,
71 + "interest" : 35.00,
72 + "termsAndConditions" :
73 + {
74 + "standardEuropeeanAgreements" : "https://www.payex.com/term-and-conditions/no/-----.pdf",
75 + "accountTerms" : "https://www.payex.com/term-and-conditions/no/-----.pdf"
76 + },
77 + "@id" : "/ledger/credit-account-onboarding/v1/501/offers/kontotyp-1000",
78 + "operations" :
79 + [
80 + {
81 + "title" : "apply-for-account",
82 + "href" : "/ledger/credit-account-onboarding/v1/501/offers/kontotyp-1000/applications",
83 + "action" : "post"
84 + }
85 + ]
86 + }
87 + ]
74 74  }
75 75  {{/code}}
76 76