Ana içeriğe geç

Signature & Nonce Oluştur

POSThttps://testpfapi.rubikpara.com/v1/Signatures/generate-test-signature

const axios = require('axios');
let data = JSON.stringify({
  "publicKey": "SkDP+k0jpMPDOzjcQ2dTcg==",
  "merchantNumber": "1100000001",
  "conversationId":  "test123456"
});

let config = {
  method: 'post',
  maxBodyLength: Infinity,
  url: 'https://testpfapi.rubikpara.com/v1/Signatures/generate-test-signature',
  headers: { 
    'Content-Type': 'application/json'
  },
  data : data
};

axios.request(config)
.then((response) => {
  console.log(JSON.stringify(response.data));
})
.catch((error) => {
  console.log(error);
});