authorize.net 의 sandbox 계정 생성
: https://new-date.tistory.com/68
참고할 authorize.net site
: https://developer.authorize.net/api/reference/index.html#gettingstarted-section-section-header
확인 URL
: https://sandbox.authorize.net/
>> POSTMAN TEST
method : POST
URL : https://apitest.authorize.net/xml/v1/request.api
dataType : JSON
data : { "createTransactionRequest": { "merchantAuthentication": { "name": "", "transactionKey": "" }, "refId": "123456", "transactionRequest": { "transactionType": "authCaptureTransaction", "amount": "5", "payment": { "creditCard": { "cardNumber": "5424000000000015", "expirationDate": "2025-12", "cardCode": "999" } }, "lineItems": { "lineItem": { "itemId": "1", "name": "vase", "description": "Cannes logo", "quantity": "18", "unitPrice": "45.00" } }, "tax": { "amount": "4.26", "name": "level2 tax name", "description": "level2 tax" }, "duty": { "amount": "8.55", "name": "duty name", "description": "duty description" }, "shipping": { "amount": "4.26", "name": "level2 tax name", "description": "level2 tax" }, "poNumber": "456654", "customer": { "id": "99999456654" }, "billTo": { "firstName": "Ellen", "lastName": "Johnson", "company": "Souveniropolis", "address": "14 Main Street", "city": "Pecan Springs", "state": "TX", "zip": "44628", "country": "US" }, "shipTo": { "firstName": "China", "lastName": "Bayles", "company": "Thyme for Tea", "address": "12 Main Street", "city": "Pecan Springs", "state": "TX", "zip": "44628", "country": "US" }, "customerIP": "192.168.1.1", "transactionSettings": { "setting": { "settingName": "testRequest", "settingValue": "false" } }, "userFields": { "userField": [ { "name": "MerchantDefinedFieldName1", "value": "MerchantDefinedFieldValue1" }, { "name": "favorite_color", "value": "blue" } ] }, "processingOptions": { "isSubsequentAuth": "true" }, "subsequentAuthInformation": { "originalNetworkTransId": "123456789NNNH", "originalAuthAmount": "45.00", "reason": "resubmission" }, "authorizationIndicatorType": { "authorizationIndicator": "final" } } } }
'[Other API]' 카테고리의 다른 글
[Authorize.net] sandbox sign up (0) | 2021.08.24 |
---|---|
[Visa] Cybersource Developer Center – REST API Reference (0) | 2021.02.03 |
[Visa] API Key – Shared Secret (X-Pay-Token) [by SOAPUI ] (0) | 2021.02.02 |
Visa Cyber Source API (0) | 2021.02.02 |
visa cyber source - memo (0) | 2021.02.01 |