raoulmillais/node-7digital-api — pull request #25 by actionshrimp (2014-03-20 11:17:33+00:00)
Title: Add card types to schema

Add payment/card/type endpoint to the schema, as per the c# wrapper (public in that project although undocumented on api.7digital.com).

Only slightly strange thing is the response has e.g.:

Mastercard
Maestro
....

which means the JSON comes out like this - the underscore is a bit unclear maybe?

{ cardType: [
{ _: 'Maestro', id: 'MAESTRO' },
{ _: 'Mastercard', id: 'MASTERCARD' },
....
]}