Wallet Provider
API Reference
GET /card/pay

GET /card/pay

This is the second part of a LUD-03 (opens in a new tab)

Query parameters:

  • k1: string: the k1 value sent in the scan response.
  • pr: string: the payment request generated by the POS.

Examples

Javascript

const options = {method: 'GET'};
 
fetch('https://api.lawallet.ar/card/pay?k1=DAnk15aXlNN4n1bln1oAbj&pr=lnbcrt1u1pj6txmspp5tgyd76xgfxqdxjwymyvyfjy4tg7y69t4227vzmzmkqgargezgfcsdqqcqzzsxqyz5vqsp5ej74wjyjylezg3kgg9s2g2tq6tr3cghjc5t53snelqm2j0qg7y4s9qyyssqmw45av50vj9y4975fdvd8svyl0uzt0mkwfa0rh7veuyyxm5xlqr5chz5953qjv8d3x4wtkhzlghy9hqpk9xpkszxy4gsrlx24d5tfkcpfytdt3', options)
  .then(response => response.json())
  .then(response => console.log(response))
  .catch(err => console.error(err));

Curl

curl --request GET \
  --url 'https://api.lawallet.ar/card/pay?k1=DAnk15aXlNN4n1bln1oAbj&pr=lnbcrt1u1pj6txmspp5tgyd76xgfxqdxjwymyvyfjy4tg7y69t4227vzmzmkqgargezgfcsdqqcqzzsxqyz5vqsp5ej74wjyjylezg3kgg9s2g2tq6tr3cghjc5t53snelqm2j0qg7y4s9qyyssqmw45av50vj9y4975fdvd8svyl0uzt0mkwfa0rh7veuyyxm5xlqr5chz5953qjv8d3x4wtkhzlghy9hqpk9xpkszxy4gsrlx24d5tfkcpfytdt3'

Response

{
	"status": "OK"
}