Developer
Samples
Contoh curl, Node, dan PHP untuk create payment.
// Node
const res = await fetch(API + '/payments', {
method: 'POST',
headers: { Authorization: 'Bearer ' + key },
body: JSON.stringify({ amount: 10000, currency: 'IDR' }),
});Developer
Contoh curl, Node, dan PHP untuk create payment.
// Node
const res = await fetch(API + '/payments', {
method: 'POST',
headers: { Authorization: 'Bearer ' + key },
body: JSON.stringify({ amount: 10000, currency: 'IDR' }),
});